clean up tests a bit
This commit is contained in:
parent
f35adb3f51
commit
ea3df96315
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class ComicPressStorylineCategory {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once('MockPress/mockpress.php');
|
require_once('MockPress/mockpress.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPressAdmin.inc');
|
require_once('ComicPressAdmin.inc');
|
||||||
|
|
||||||
class ComicPressAdminTest extends PHPUnit_Framework_TestCase {
|
class ComicPressAdminTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once('MockPress/mockpress.php');
|
require_once('MockPress/mockpress.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPressComicPost.inc');
|
require_once('ComicPressComicPost.inc');
|
||||||
|
|
||||||
class ComicPressComicPostTest extends PHPUnit_Framework_TestCase {
|
class ComicPressComicPostTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('MockPress/mockpress.php');
|
require_once('MockPress/mockpress.php');
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPressDBInterface.inc');
|
require_once('ComicPressDBInterface.inc');
|
||||||
|
|
||||||
class ComicPressDBInterfaceTest extends PHPUnit_Framework_TestCase {
|
class ComicPressDBInterfaceTest extends PHPUnit_Framework_TestCase {
|
||||||
function testSingleton() {
|
function testSingleton() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('MockPress/mockpress.php');
|
require_once('MockPress/mockpress.php');
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPressNavigation.inc');
|
require_once('ComicPressNavigation.inc');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Integration Testing. Just make sure things are called correctly.
|
* Integration Testing. Just make sure things are called correctly.
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
require_once('MockPress/mockpress.php');
|
|
||||||
require_once('PHPUnit/Framework.php');
|
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPressStorylineCategory.inc');
|
|
||||||
|
|
||||||
class ComicPressStorylineCategoryTest extends PHPUnit_Framework_TestCase {
|
|
||||||
function setUp() {
|
|
||||||
_reset_wp();
|
|
||||||
}
|
|
||||||
|
|
||||||
function testGetAdjacentCategories() {
|
|
||||||
$sc = new ComicPressStorylineCategory();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('MockPress/mockpress.php');
|
require_once('MockPress/mockpress.php');
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPressStoryline.inc');
|
require_once('ComicPressStoryline.inc');
|
||||||
|
|
||||||
class ComicPressStorylineTest extends PHPUnit_Framework_TestCase {
|
class ComicPressStorylineTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require_once('PHPUnit/Framework.php');
|
require_once('PHPUnit/Framework.php');
|
||||||
require_once('MockPress/mockpress.php');
|
require_once('MockPress/mockpress.php');
|
||||||
require_once(dirname(__FILE__) . '/../classes/ComicPress.inc');
|
require_once('ComicPress.inc');
|
||||||
|
|
||||||
class ComicPressTest extends PHPUnit_Framework_TestCase {
|
class ComicPressTest extends PHPUnit_Framework_TestCase {
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
|
Loading…
Reference in New Issue