zoe             Tue Jun  9 20:27:57 2009 UTC

  Modified files:              
    /phpruntests/tests/testcase/sections/executablesections     
                                                                
rtFileExternalSectionTest.php 
  Log:
  modified file external test
  
http://cvs.php.net/viewvc.cgi/phpruntests/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php?r1=1.2&r2=1.3&diff_format=u
Index: 
phpruntests/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php
diff -u 
phpruntests/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php:1.2
 
phpruntests/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php:1.3
--- 
phpruntests/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php:1.2
    Mon May 18 22:38:27 2009
+++ 
phpruntests/tests/testcase/sections/executablesections/rtFileExternalSectionTest.php
        Tue Jun  9 20:27:57 2009
@@ -12,28 +12,6 @@
 
         $this->assertEquals('<?php', $code[0]);
     }
-    
-    public function testTooMuchFiles()
-    {
-        $fileSection = rtFileExternalSection::getInstance('FILE_EXTERNAL', 
array('file1','file2'));
-       $content = $fileSection->getContents();
-       $config = rtRuntestsConfiguration::getInstance(array());
-       $test = new rtPhpTest($content, 'TEST', array('FILE_EXTERNAL'), 
$config);
-
-       $status = $fileSection->run($test, $config);
-
-        $this->assertEquals('One file per testcase permitted.', 
$status['fail']);
-    }
-    
-    public function testNotExistingFile()
-    {
-        $fileSection = rtFileExternalSection::getInstance('FILE_EXTERNAL', 
array('file1'));
-        $content = $fileSection->getContents();
-        $config = rtRuntestsConfiguration::getInstance(array());
-        $test = new rtPhpTest($content, 'TEST', array('FILE_EXTERNAL'), 
$config);
-
-        $this->assertEquals('Can not open external file /file1', 
$status['fail']);
-    }
 }
 
 ?>
\ No newline at end of file



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to