* It serves no purpose, since to be useful we would need to propagate it to all to all objects called by the MediaWiki class * It is in the wrong place; the MediaWiki class is an helper class for the index.php script, not the base class for the software (and the class could maybe even be renamed)
140 lines
3.2 KiB
PHP
140 lines
3.2 KiB
PHP
<?php
|
|
/**
|
|
* Test class for MediaWiki.
|
|
* Generated by PHPUnit on 2011-02-06 at 11:41:23.
|
|
*/
|
|
class MediaWikiTest extends MediaWikiTestCase {
|
|
/**
|
|
* @var MediaWiki
|
|
*/
|
|
protected $object;
|
|
|
|
protected function setUp() {
|
|
$context = new RequestContext;
|
|
$this->object = new MediaWiki( $context );
|
|
}
|
|
|
|
protected function tearDown() {
|
|
$this->object = NULL;
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testPerformRequestForTitle().
|
|
*/
|
|
public function testPerformRequestForTitle() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testCheckMaxLag().
|
|
*/
|
|
public function testCheckMaxLag() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testCheckInitialQueries().
|
|
*/
|
|
public function testCheckInitialQueries() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testPreliminaryChecks().
|
|
*/
|
|
public function testPreliminaryChecks() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testHandleSpecialCases().
|
|
*/
|
|
public function testHandleSpecialCases() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testArticleFromTitle().
|
|
*/
|
|
public function testArticleFromTitle() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testGetAction().
|
|
*/
|
|
public function testGetAction() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testInitializeArticle().
|
|
*/
|
|
public function testInitializeArticle() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testFinalCleanup().
|
|
*/
|
|
public function testFinalCleanup() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testDoJobs().
|
|
*/
|
|
public function testDoJobs() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testRestInPeace().
|
|
*/
|
|
public function testRestInPeace() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @todo Implement testPerformAction().
|
|
*/
|
|
public function testPerformAction() {
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
}
|