Rem incomplete tests

This commit is contained in:
Samuel Georges 2015-03-02 19:05:03 +11:00
parent 83b54c043c
commit bd2b9f2770
6 changed files with 4 additions and 129 deletions

View File

@ -17,34 +17,4 @@ class WidgetManagerTest extends TestCase
$this->assertArrayHasKey('Backend\FormWidgets\DatePicker', $widgets);
$this->assertArrayHasKey('Cms\FormWidgets\Components', $widgets);
}
public function testRegisterFormWidget()
{
$this->markTestIncomplete('TODO');
}
public function testRegisterFormWidgets()
{
$this->markTestIncomplete('TODO');
}
public function testResolveFormWidget()
{
$this->markTestIncomplete('TODO');
}
public function testListReportWidgets()
{
$this->markTestIncomplete('TODO');
}
public function testRegisterReportWidget()
{
$this->markTestIncomplete('TODO');
}
public function testRegisterReportWidgets()
{
$this->markTestIncomplete('TODO');
}
}

View File

@ -46,31 +46,6 @@ class CmsExceptionTest extends TestCase
// Tests
//
public function testProcessCompoundObject()
{
$this->markTestIncomplete('TODO');
}
public function testProcessIni()
{
$this->markTestIncomplete('TODO');
}
public function testProcessPhp()
{
$this->markTestIncomplete('TODO');
}
public function testProcessTwig()
{
$this->markTestIncomplete('TODO');
}
public function testApplyMask()
{
$this->markTestIncomplete('TODO');
}
public function testExceptionMask()
{
$foreignException = new \Exception('This is a general error');

View File

@ -226,10 +226,10 @@ class CodeParserTest extends TestCase
$this->assertEquals($expectedContent, file_get_contents($info['filePath']));
}
public function testSyntaxErrors()
{
$this->markTestIncomplete('Test PHP parsing errors here.');
}
// public function testSyntaxErrors()
// {
// $this->markTestIncomplete('Test PHP parsing errors here.');
// }
public function testNamespaces()
{

View File

@ -51,11 +51,6 @@ class ComponentManagerTest extends TestCase
}
public function testResolveAlias()
{
$this->markTestIncomplete('TODO');
}
public function testHasComponent()
{
$manager = ComponentManager::instance();

View File

@ -90,26 +90,6 @@ class CombineAssetsTest extends TestCase
$this->assertRegExp('/\w+[-]\d+/i', $url); // Must contain hash-number
}
public function testPrepareRequest()
{
$this->markTestIncomplete('TODO');
}
public function testGetCombinedUrl()
{
$this->markTestIncomplete('TODO');
}
public function testGetContents()
{
$this->markTestIncomplete('TODO');
}
public function testPrepareCombiner()
{
$this->markTestIncomplete('TODO');
}
public function testPutCache()
{
$sampleId = md5('testhash');
@ -122,11 +102,6 @@ class CombineAssetsTest extends TestCase
$this->assertTrue($value);
}
public function testGetCache()
{
$this->markTestIncomplete('TODO');
}
public function testGetTargetPath()
{
$combiner = CombineAssets::instance();
@ -156,34 +131,4 @@ class CombineAssetsTest extends TestCase
$this->assertNull($combiner->resetCache());
}
public function testPutCacheIndex()
{
$this->markTestIncomplete('TODO');
}
public function testRegisterFilter()
{
$this->markTestIncomplete('TODO');
}
public function testResetFilter()
{
$this->markTestIncomplete('TODO');
}
public function testGetFilters()
{
$this->markTestIncomplete('TODO');
}
public function testCombinerNotFound()
{
$this->markTestIncomplete('Unfinished.');
$theme = Theme::load('test');
$controller = new Controller($theme);
$response = $controller->run('/combine/xxxxxxxxx');
$this->assertEquals("The combiner file 'xxx' is not found.", $response->getOriginalContent());
}
}

View File

@ -49,16 +49,6 @@ class VersionManagerTest extends TestCase
// Tests
//
public function testUpdateAll()
{
$this->markTestIncomplete('TODO');
}
public function testUpdatePlugin()
{
$this->markTestIncomplete('TODO');
}
public function testGetLatestFileVersion()
{
$manager = VersionManager::instance();