zoe             Sun May 17 12:54:59 2009 UTC

  Modified files:              
    /phpruntests/tests/testcase/sections/informationsections    
                                                                
rtCreditsSectionTest.php 
                                                                
rtXfailSectionTest.php 
                                                                
rtTestHeaderSectionTest.php 
  Log:
  fixed tests
  
http://cvs.php.net/viewvc.cgi/phpruntests/tests/testcase/sections/informationsections/rtCreditsSectionTest.php?r1=1.2&r2=1.3&diff_format=u
Index: 
phpruntests/tests/testcase/sections/informationsections/rtCreditsSectionTest.php
diff -u 
phpruntests/tests/testcase/sections/informationsections/rtCreditsSectionTest.php:1.2
 
phpruntests/tests/testcase/sections/informationsections/rtCreditsSectionTest.php:1.3
--- 
phpruntests/tests/testcase/sections/informationsections/rtCreditsSectionTest.php:1.2
        Fri Apr 24 09:42:02 2009
+++ 
phpruntests/tests/testcase/sections/informationsections/rtCreditsSectionTest.php
    Sun May 17 12:54:59 2009
@@ -7,7 +7,7 @@
 {
     public function testCreateInstance()
     {
-        $creditsSection = new rtCreditsSection('CREDITS', array('Test from 
Fred', 'PHP London test fest'));  
+        $creditsSection = rtCreditsSection::getInstance('CREDITS', array('Test 
from Fred', 'PHP London test fest'));  
         $creditslist = $creditsSection->getContents();
 
         $this->assertEquals('Test from Fred', $creditslist[0]);
http://cvs.php.net/viewvc.cgi/phpruntests/tests/testcase/sections/informationsections/rtXfailSectionTest.php?r1=1.2&r2=1.3&diff_format=u
Index: 
phpruntests/tests/testcase/sections/informationsections/rtXfailSectionTest.php
diff -u 
phpruntests/tests/testcase/sections/informationsections/rtXfailSectionTest.php:1.2
 
phpruntests/tests/testcase/sections/informationsections/rtXfailSectionTest.php:1.3
--- 
phpruntests/tests/testcase/sections/informationsections/rtXfailSectionTest.php:1.2
  Fri Apr 24 09:42:02 2009
+++ 
phpruntests/tests/testcase/sections/informationsections/rtXfailSectionTest.php  
    Sun May 17 12:54:59 2009
@@ -7,7 +7,7 @@
 {
     public function testCreateInstance()
     {
-        $xfailSection = new rtXfailSection('XFAIL', array('Bug number 
12345'));  
+        $xfailSection = rtXfailSection::getInstance('XFAIL', array('Bug number 
12345'));  
         $xfail = $xfailSection->getReason();
 
         $this->assertEquals('Bug number 12345', $xfail);
http://cvs.php.net/viewvc.cgi/phpruntests/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php?r1=1.2&r2=1.3&diff_format=u
Index: 
phpruntests/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php
diff -u 
phpruntests/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php:1.2
 
phpruntests/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php:1.3
--- 
phpruntests/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php:1.2
     Fri Apr 24 09:42:02 2009
+++ 
phpruntests/tests/testcase/sections/informationsections/rtTestHeaderSectionTest.php
 Sun May 17 12:54:59 2009
@@ -7,7 +7,7 @@
 {
     public function testCreateInstance()
     {
-        $headerSection = new rtTestHeaderSection('TEST', array('a test to test 
something'));  
+        $headerSection = rtTestHeaderSection::getInstance('TEST', array('a 
test to test something'));  
         $header = $headerSection->getHeader();
 
         $this->assertEquals('a test to test something', $header);



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

Reply via email to