]> git.mxchange.org Git - shipsimu.git/commitdiff
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 6b345531f04f9b0a6a58cfa0cbec56dd5a085eed..760cbaa6becf73c8eb631113d1996b8f8347363e 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 9892078c2b8dcb61955bb00101df70c87e873c27..1091a5b8a9ebd105d4aa5944eb4856c0e6785a92 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