Missing factory ShipSimuWebNewsFactory fixed
authorRoland Häder <roland@mxchange.org>
Sun, 1 Jun 2008 08:55:47 +0000 (08:55 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 1 Jun 2008 08:55:47 +0000 (08:55 +0000)
application/ship-simu/main/factories/class_ShipSimuWebNewsFactory.php
tests/ConfigTest.php

index 6b34553..760cbaa 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class ShipSimuNewsFactory extends BaseFrameworkSystem {
+class ShipSimuWebNewsFactory extends BaseFrameworkSystem {
        /**
         * Protected constructor
         *
@@ -47,9 +47,9 @@ class ShipSimuNewsFactory extends BaseFrameworkSystem {
         *
         * @return              $factoryInstance        An instance of this class
         */
-       public final static function createShipSimuNewsFactory () {
+       public final static function createShipSimuWebNewsFactory () {
                // Get a new instance
-               $factoryInstance = new ShipSimuNewsFactory();
+               $factoryInstance = new ShipSimuWebNewsFactory();
 
                // Return the prepared instance
                return $factoryInstance;
index 9892078..1091a5b 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+print (basename(__FILE__).": Init...\n");
+
 // Change directory
 @chdir("..");
 
@@ -20,10 +22,12 @@ define('TEST_MODE', true);
 // Load the PHPUnit framework
 require_once('PHPUnit/Framework.php');
 
+print (basename(__FILE__).": Init completed.\n\n");
+
 /**
  * A test case for the configuration sub system
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@mxchange.org>
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version