clean up tests a bit

This commit is contained in:
John Bintz 2009-11-07 12:18:53 -05:00
parent f35adb3f51
commit ea3df96315
8 changed files with 6 additions and 30 deletions

View File

@ -1,7 +0,0 @@
<?php
class ComicPressStorylineCategory {
}
?>

View File

@ -2,7 +2,7 @@
require_once('PHPUnit/Framework.php');
require_once('MockPress/mockpress.php');
require_once(dirname(__FILE__) . '/../classes/ComicPressAdmin.inc');
require_once('ComicPressAdmin.inc');
class ComicPressAdminTest extends PHPUnit_Framework_TestCase {
function setUp() {

View File

@ -2,7 +2,7 @@
require_once('PHPUnit/Framework.php');
require_once('MockPress/mockpress.php');
require_once(dirname(__FILE__) . '/../classes/ComicPressComicPost.inc');
require_once('ComicPressComicPost.inc');
class ComicPressComicPostTest extends PHPUnit_Framework_TestCase {
function setUp() {

View File

@ -2,7 +2,7 @@
require_once('MockPress/mockpress.php');
require_once('PHPUnit/Framework.php');
require_once(dirname(__FILE__) . '/../classes/ComicPressDBInterface.inc');
require_once('ComicPressDBInterface.inc');
class ComicPressDBInterfaceTest extends PHPUnit_Framework_TestCase {
function testSingleton() {

View File

@ -2,7 +2,7 @@
require_once('MockPress/mockpress.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.

View File

@ -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();
}
}
?>

View File

@ -2,7 +2,7 @@
require_once('MockPress/mockpress.php');
require_once('PHPUnit/Framework.php');
require_once(dirname(__FILE__) . '/../classes/ComicPressStoryline.inc');
require_once('ComicPressStoryline.inc');
class ComicPressStorylineTest extends PHPUnit_Framework_TestCase {
function setUp() {

View File

@ -2,7 +2,7 @@
require_once('PHPUnit/Framework.php');
require_once('MockPress/mockpress.php');
require_once(dirname(__FILE__) . '/../classes/ComicPress.inc');
require_once('ComicPress.inc');
class ComicPressTest extends PHPUnit_Framework_TestCase {
function setUp() {