zoe                                      Mon, 03 Aug 2009 09:48:53 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=286720

Log:
oops

Changed paths:
    D   php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php
    A + php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php
        (from 
php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php:r286467)

Deleted: php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php
===================================================================
--- php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php    
2009-08-03 08:45:28 UTC (rev 286719)
+++ php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php    
2009-08-03 09:48:53 UTC (rev 286720)
@@ -1,38 +0,0 @@
-<?php
-require_once 'PHPUnit/Framework.php';
-require_once dirname(__FILE__) . '../../../src/rtAutoload.php';
-
-class rtExternalToolTest extends PHPUnit_Framework_TestCase
-{
-
-
-    public function testCreate()
-    {
-
-        $config = rtRuntestsConfiguration::getInstance(array('run-tests.php', 
'-m', 'test.phpt'));
-        $this->externalTool = rtExternalTool::getInstance($config);
-        $this->externalTool->checkAvailable($config);
-        $this->externalTool->init($config);
-
-        $string = substr($this->externalTool->getCommand(), 0, 48);
-
-        $this->assertEquals('valgrind -q --tool=memcheck 
--trace-children=yes', $string);
-
-    }
-
-    public function testCreate2()
-    {
-
-        $config = rtRuntestsConfiguration::getInstance(array('run-tests.php', 
'-m', '--mopts', '"blah blah"', 'test.phpt'));
-        $this->externalTool = rtExternalTool::getInstance($config);
-        $this->externalTool->checkAvailable($config);
-        $this->externalTool->init($config);
-
-        $string = substr($this->externalTool->getCommand(), 0, 58);
-        $this->assertEquals('valgrind -q --tool=memcheck --trace-children=yes 
blah blah', $string);
-
-    }
-
-}
-?>
-

Copied: php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php (from 
rev 286467, php/phpruntests/trunk/tests/configuration/rtExternalToolTest.php)
===================================================================
--- php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php              
                (rev 0)
+++ php/phpruntests/trunk/tests/configuration/rtMemoryToolTest.php      
2009-08-03 09:48:53 UTC (rev 286720)
@@ -0,0 +1,38 @@
+<?php
+require_once 'PHPUnit/Framework.php';
+require_once dirname(__FILE__) . '../../../src/rtAutoload.php';
+
+class rtMemoryToolTest extends PHPUnit_Framework_TestCase
+{
+
+
+    public function testCreate()
+    {
+
+        $config = rtRuntestsConfiguration::getInstance(array('run-tests.php', 
'-m', 'test.phpt'));
+        $this->memoryTool = rtMemoryTool::getInstance($config);
+        $this->memoryTool->checkAvailable($config);
+        $this->memoryTool->init($config);
+
+        $string = substr($this->memoryTool->getCommand(), 0, 48);
+
+        $this->assertEquals('valgrind -q --tool=memcheck 
--trace-children=yes', $string);
+
+    }
+
+    public function testCreate2()
+    {
+
+        $config = rtRuntestsConfiguration::getInstance(array('run-tests.php', 
'-m', '--mopts', '"blah blah"', 'test.phpt'));
+        $this->memoryTool = rtMemoryTool::getInstance($config);
+        $this->memoryTool->checkAvailable($config);
+        $this->memoryTool->init($config);
+
+        $string = substr($this->memoryTool->getCommand(), 0, 58);
+        $this->assertEquals('valgrind -q --tool=memcheck --trace-children=yes 
blah blah', $string);
+
+    }
+
+}
+?>
+

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

Reply via email to