diff --git a/tests/unit/backend/classes/WidgetManagerTest.php b/tests/unit/backend/classes/WidgetManagerTest.php index 936c65779..baeee8126 100644 --- a/tests/unit/backend/classes/WidgetManagerTest.php +++ b/tests/unit/backend/classes/WidgetManagerTest.php @@ -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'); - } } \ No newline at end of file diff --git a/tests/unit/cms/classes/CmsExceptionTest.php b/tests/unit/cms/classes/CmsExceptionTest.php index 9bc018871..a67e53f12 100644 --- a/tests/unit/cms/classes/CmsExceptionTest.php +++ b/tests/unit/cms/classes/CmsExceptionTest.php @@ -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'); diff --git a/tests/unit/cms/classes/CodeParserTest.php b/tests/unit/cms/classes/CodeParserTest.php index 00799b932..985709c23 100644 --- a/tests/unit/cms/classes/CodeParserTest.php +++ b/tests/unit/cms/classes/CodeParserTest.php @@ -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() { diff --git a/tests/unit/cms/classes/ComponentManagerTest.php b/tests/unit/cms/classes/ComponentManagerTest.php index 2558b95db..5211a5778 100644 --- a/tests/unit/cms/classes/ComponentManagerTest.php +++ b/tests/unit/cms/classes/ComponentManagerTest.php @@ -51,11 +51,6 @@ class ComponentManagerTest extends TestCase } - public function testResolveAlias() - { - $this->markTestIncomplete('TODO'); - } - public function testHasComponent() { $manager = ComponentManager::instance(); diff --git a/tests/unit/system/classes/CombineAssetsTest.php b/tests/unit/system/classes/CombineAssetsTest.php index 348f44cbd..700c2f68a 100644 --- a/tests/unit/system/classes/CombineAssetsTest.php +++ b/tests/unit/system/classes/CombineAssetsTest.php @@ -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()); - } } diff --git a/tests/unit/system/classes/VersionManagerTest.php b/tests/unit/system/classes/VersionManagerTest.php index ec82fede4..514a8e81f 100644 --- a/tests/unit/system/classes/VersionManagerTest.php +++ b/tests/unit/system/classes/VersionManagerTest.php @@ -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();