Author: dr
Date: Tue Aug 14 14:00:14 2007
New Revision: 5915

Log:
- Implemented change #10677: Removed the throwing of an exception of the
  execution mechamisn was not initialized.

Modified:
    trunk/Execution/ChangeLog
    trunk/Execution/src/execution.php
    trunk/Execution/tests/execution_init_test.php

Modified: trunk/Execution/ChangeLog
==============================================================================
--- trunk/Execution/ChangeLog [iso-8859-1] (original)
+++ trunk/Execution/ChangeLog [iso-8859-1] Tue Aug 14 14:00:14 2007
@@ -1,3 +1,10 @@
+1.1alpha1 - [RELEASEDATE]
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Implemented change #10677: Removed the throwing of an exception of the
+  execution mechamisn was not initialized.
+
+
 1.0.4 - Monday 25 June 2007
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 

Modified: trunk/Execution/src/execution.php
==============================================================================
--- trunk/Execution/src/execution.php [iso-8859-1] (original)
+++ trunk/Execution/src/execution.php [iso-8859-1] Tue Aug 14 14:00:14 2007
@@ -165,10 +165,6 @@
      */
     static public function cleanExit()
     {
-        if ( self::$isInitialized == false )
-        {
-            throw new ezcExecutionNotInitializedException();
-        }
         self::$cleanExit = true;        
     }
 

Modified: trunk/Execution/tests/execution_init_test.php
==============================================================================
--- trunk/Execution/tests/execution_init_test.php [iso-8859-1] (original)
+++ trunk/Execution/tests/execution_init_test.php [iso-8859-1] Tue Aug 14 
14:00:14 2007
@@ -19,20 +19,6 @@
  */
 class ezcExecutionInitDefinition extends ezcTestCase
 {
-    public function testCleanExitNotInitialized()
-    {
-        ezcExecution::reset();
-        try
-        {
-            ezcExecution::cleanExit();
-            $this->fail( "Expected exception was not thrown" );
-        }
-        catch ( ezcExecutionNotInitializedException $e )
-        {
-            $this->assertEquals( "The Execution mechanism was not 
initialized.", $e->getMessage() );
-        }
-    }
-
     public function testCallbackExists()
     {
         ezcExecution::reset();


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to