rearrange testing stuff to be more like other plugins

This commit is contained in:
John Bintz 2009-06-22 21:23:38 -04:00
parent c008a6ace5
commit 1a7af461de
3 changed files with 4 additions and 19 deletions

View File

@ -1,8 +1,8 @@
<?php
require_once('../classes/PWAdboxesClient.php');
require_once(dirname(__FILE__) . '/../classes/PWAdboxesClient.php');
class TestPWAdboxesClient extends PHPUnit_Framework_TestCase {
class PWAdboxesClientTest extends PHPUnit_Framework_TestCase {
private $database_client;
private $sample_ad;

View File

@ -1,8 +1,8 @@
<?php
require_once('../classes/PublisherInfo.php');
require_once(dirname(__FILE__) . '/../classes/PublisherInfo.php');
class TestPublisherInfo extends PHPUnit_Framework_TestCase {
class PublisherInfoTest extends PHPUnit_Framework_TestCase {
private $parser, $default_data, $default_data_as_hash;
public function setup() {

View File

@ -1,15 +0,0 @@
<?php
require_once('TestPWAdboxesClient.php');
require_once('TestPublisherInfo.php');
class TestPluginWonderful {
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite();
$suite->addTestSuite(new ReflectionClass("TestPWAdboxesClient"));
$suite->addTestSuite(new ReflectionClass("TestPublisherInfo"));
return $suite;
}
}
?>