set up test stubs for later

This commit is contained in:
John Bintz 2009-06-27 09:26:40 -04:00
parent c8c36296c2
commit faf07fa8b3
2 changed files with 42 additions and 1 deletions

View File

@ -95,6 +95,7 @@ class PluginWonderful {
return $content;
}
// is this still necessary?
function insert_activation_ad() {
$result = get_option('plugin-wonderful-activate-ad-code');
if (!empty($result)) { echo $result; }

View File

@ -1,9 +1,9 @@
<?php
require_once('PHPUnit/Framework.php');
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
require_once(dirname(__FILE__) . '/../classes/PluginWonderful.php');
require_once(dirname(__FILE__) . '/../classes/PublisherInfo.php');
require_once(dirname(__FILE__) . '/../../mockpress/mockpress.php');
define("PLUGIN_WONDERFUL_DATABASE_VERSION", 5);
define('PLUGIN_WONDERFUL_UPDATE_TIME', 60 * 60 * 12); // every 12 hours
@ -174,6 +174,46 @@ class PluginWonderfulTest extends PHPUnit_Framework_TestCase {
the_project_wonderful_ad('123');
$this->assertEquals("test", ob_get_clean());
}
function testInsertAdsIntoRSS() {
$this->markTestIncomplete();
}
function testInsertActivationAd() {
$this->markTestIncomplete();
}
function testInjectAdsIntoBodyCopy() {
$this->markTestIncomplete();
}
function testCreateTarget() {
$this->markTestIncomplete();
}
function testGetView() {
$this->markTestIncomplete();
}
function testHandleAction() {
$this->markTestIncomplete();
}
function testHandleActionSaveWidgets() {
$this->markTestIncomplete();
}
function testHandleActionChangeAdboxSettings() {
$this->markTestIncomplete();
}
function testHandleActionRebuildDatabase() {
$this->markTestIncomplete();
}
function testHandleActionChangeMemberID() {
$this->markTestIncomplete();
}
}
?>