[Cs-content-commits] SF.net SVN: cs-content:[442] trunk/1.0/tests/testOfCSContent.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2009-08-18 18:56:25
|
Revision: 442
http://cs-content.svn.sourceforge.net/cs-content/?rev=442&view=rev
Author: crazedsanity
Date: 2009-08-18 18:55:52 +0000 (Tue, 18 Aug 2009)
Log Message:
-----------
Remove test that is covered in the testOfCSFileSystem tests...
Modified Paths:
--------------
trunk/1.0/tests/testOfCSContent.php
Modified: trunk/1.0/tests/testOfCSContent.php
===================================================================
--- trunk/1.0/tests/testOfCSContent.php 2009-08-18 18:41:36 UTC (rev 441)
+++ trunk/1.0/tests/testOfCSContent.php 2009-08-18 18:55:52 UTC (rev 442)
@@ -157,36 +157,6 @@
- //-------------------------------------------------------------------------
- function test_cs_fileSystem() {
- $fs = new cs_fileSystem(constant('TEST_FILESDIR'));
-
- $list = array(
- 'slashTest' => array('/sampleConfig.xml', 'sampleConfig.xml'),
- 'slashtest2' => array('/templates/content.shared.tmpl', 'templates/content.shared.tmpl'),
- 'pathWithDots' => array('templates/.././sampleConfig.xml', '/templates/.././sampleConfig.xml'),
- 'multiSlashes' => array('////sampleConfig.xml', '///sampleConfig.xml', '/templates///////content.shared.tmpl/../templates/content.shared.tmpl')
- );
-
- foreach($list as $testName=>$files) {
- foreach($files as $filename) {
- $gotException=false;
- try {
- $data = $fs->ls('/sampleConfig.xml');
- }
- catch(exception $e) {
- $gotException=true;
- }
-
- $this->assertFalse($gotException, "Failed test '". $testName ."'");
- }
- }
-
- }//end test_cs_fileSystem()
- //-------------------------------------------------------------------------
-
-
-
}//end TestOfCSContent
//=============================================================================
?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|