rearrange testing stuff to be more like other plugins
This commit is contained in:
parent
c008a6ace5
commit
1a7af461de
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?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 $database_client;
|
||||||
private $sample_ad;
|
private $sample_ad;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?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;
|
private $parser, $default_data, $default_data_as_hash;
|
||||||
|
|
||||||
public function setup() {
|
public function setup() {
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
Loading…
Reference in New Issue
Block a user