[Solar-svn] Revision 2875

pmjones at solarphp.com pmjones at solarphp.com
Sat Oct 13 08:53:25 CDT 2007


updated tests



Modified: trunk/tests/Solar/View/Helper/InlineScriptTest.php
===================================================================
--- trunk/tests/Solar/View/Helper/InlineScriptTest.php	2007-10-13 13:53:06 UTC (rev 2874)
+++ trunk/tests/Solar/View/Helper/InlineScriptTest.php	2007-10-13 13:53:24 UTC (rev 2875)
@@ -2,7 +2,7 @@
 
 require_once dirname(__FILE__) . '/../HelperTestCase.php';
 
-class Solar_View_Helper_InlineScriptTest extends Solar_View_HelperTestCase {
+class Solar_View_Helper_ScriptInlineTest extends Solar_View_HelperTestCase {
     
     public function testScript()
     {

Modified: trunk/tests/Test/Solar/View/Helper/InlineScript.php
===================================================================
--- trunk/tests/Test/Solar/View/Helper/InlineScript.php	2007-10-13 13:53:06 UTC (rev 2874)
+++ trunk/tests/Test/Solar/View/Helper/InlineScript.php	2007-10-13 13:53:24 UTC (rev 2875)
@@ -4,7 +4,7 @@
  * Concrete class test.
  * 
  */
-class Test_Solar_View_Helper_InlineScript extends Solar_Test {
+class Test_Solar_View_Helper_ScriptInline extends Solar_Test {
     
     /**
      * 
@@ -13,7 +13,7 @@
      * @var array
      * 
      */
-    protected $_Test_Solar_View_Helper_InlineScript = array(
+    protected $_Test_Solar_View_Helper_ScriptInline = array(
     );
     
     // -----------------------------------------------------------------
@@ -79,8 +79,8 @@
      */
     public function test__construct()
     {
-        $obj = Solar::factory('Solar_View_Helper_InlineScript');
-        $this->assertInstance($obj, 'Solar_View_Helper_InlineScript');
+        $obj = Solar::factory('Solar_View_Helper_ScriptInline');
+        $this->assertInstance($obj, 'Solar_View_Helper_ScriptInline');
     }
     
     /**
@@ -88,7 +88,7 @@
      * Test -- Returns a <script></script> block that properly commented for inclusion in XHTML documents.
      * 
      */
-    public function testInlineScript()
+    public function testScriptInline()
     {
         $this->todo('stub');
     }

Modified: trunk/tests/Test/Solar/View/Helper/Js.php
===================================================================
--- trunk/tests/Test/Solar/View/Helper/Js.php	2007-10-13 13:53:06 UTC (rev 2874)
+++ trunk/tests/Test/Solar/View/Helper/Js.php	2007-10-13 13:53:24 UTC (rev 2875)
@@ -98,7 +98,7 @@
      * Test -- Add the script defined in $src to the inline scripts array.
      * 
      */
-    public function testAddInlineScript()
+    public function testAddScriptInline()
     {
         $this->todo('stub');
     }




More information about the Solar-svn mailing list