]> git.mxchange.org Git - hub.git/commitdiff
Continued on test-unit producer, fixed copyright:
authorRoland Häder <roland@mxchange.org>
Fri, 25 Mar 2011 00:42:17 +0000 (00:42 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 25 Mar 2011 00:42:17 +0000 (00:42 +0000)
- Added an unfinished template engine for the test-unit producer
- Added basic XML templates for test-unit producers
- Fixed copyright line (it was copyrighted to the Ship-Simu developer team)
- TODOs.txt updated

19 files changed:
.gitattributes
application/hub/config.php
application/hub/main/filter/task/cruncher/class_CruncherTaskHandlerInitializerFilter.php
application/hub/main/producer/class_
application/hub/main/producer/class_BaseProducer.php
application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php
application/hub/main/template/class_
application/hub/main/template/producer/.htaccess [new file with mode: 0644]
application/hub/main/template/producer/test_units/.htaccess [new file with mode: 0644]
application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php [new file with mode: 0644]
application/hub/templates/xml/.xml
application/hub/templates/xml/announcement/self_announcement.xml
application/hub/templates/xml/cruncher/.htaccess [new file with mode: 0644]
application/hub/templates/xml/cruncher/producer/.htaccess [new file with mode: 0644]
application/hub/templates/xml/cruncher/producer/test_unit.xml [new file with mode: 0644]
application/hub/templates/xml/node/node_status.xml
application/hub/templates/xml/object_registry/object_registry.xml
application/hub/templates/xml/self_connect/self_connect.xml
docs/TODOs.txt

index ca7c984f2951c3d592c9c78c302fd77438679cee..7e9c81f0f4a1ac1324d56fe384669b06be4c5a35 100644 (file)
@@ -443,6 +443,9 @@ application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php svn
 application/hub/main/template/objects/.htaccess -text svneol=unset#text/plain
 application/hub/main/template/objects/class_ObjectRegistryTemplateEngine.php svneol=native#text/plain
 application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php svneol=native#text/plain
+application/hub/main/template/producer/.htaccess svneol=native#text/plain
+application/hub/main/template/producer/test_units/.htaccess svneol=native#text/plain
+application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php svneol=native#text/plain
 application/hub/main/template/work_units/.htaccess svneol=native#text/plain
 application/hub/main/tools/.htaccess -text svneol=unset#text/plain
 application/hub/main/tools/class_HubTools.php svneol=native#text/plain
@@ -467,6 +470,9 @@ application/hub/templates/xml/.htaccess -text svneol=unset#text/plain
 application/hub/templates/xml/.xml -text
 application/hub/templates/xml/announcement/.htaccess -text svneol=unset#text/plain
 application/hub/templates/xml/announcement/self_announcement.xml -text
+application/hub/templates/xml/cruncher/.htaccess svneol=native#text/plain
+application/hub/templates/xml/cruncher/producer/.htaccess svneol=native#text/plain
+application/hub/templates/xml/cruncher/producer/test_unit.xml -text
 application/hub/templates/xml/node/.htaccess -text svneol=unset#text/plain
 application/hub/templates/xml/node/node_status.xml -text
 application/hub/templates/xml/object_registry/.htaccess -text svneol=unset#text/plain
index f52c8ab0dfbac9d25cc44d74b17f01bda626af15..aad5e57ba2755ba6dac6ea3b7f99ad5b179f1c55 100644 (file)
@@ -537,5 +537,20 @@ $cfg->setConfigEntry('cruncher_max_text_unit_amount', 10);
 // CFG: CRUNCHER-TEST-UNIT-PRODUCER-CLASS
 $cfg->setConfigEntry('cruncher_test_unit_producer_class', 'CruncherTestUnitProducer');
 
+// CFG: CRUNCHER-TEST-UNIT-PRODUCER-TEMPLATE-CLASS
+$cfg->setConfigEntry('cruncher_test_unit_producer_template_class', 'XmlCruncherTestUnitTemplateEngine');
+
+// CFG: CRUNCHER-TEST-UNIT-TEMPLATE-EXTENSION
+$cfg->setConfigEntry('cruncher_test_unit_template_extension', '.xml');
+
+// CFG: CRUNCHER-TEST-UNIT-STACKER-CLASS
+$cfg->setConfigEntry('cruncher_test_unit_stacker_class', 'FiLoStacker');
+
+// CFG: CRUNCHER-TEST-UNIT-TEMPLATE-TYPE
+$cfg->setConfigEntry('cruncher_test_unit_template_type', 'xml/cruncher/producer');
+
+// CFG: STACKER-CRUNCHER-TEST-UNIT-MAX-SIZE
+$cfg->setConfigEntry('stacker_cruncher_test_unit_max_size', 20);
+
 // [EOF]
 ?>
index 9091574d6675c481ca02917b48c28a44b90aadfa..813d9d5841848b9e66b59d832344333db0955b74 100644 (file)
@@ -62,6 +62,7 @@ class CruncherTaskHandlerInitializerFilter extends BaseFilter implements Filtera
                $handlerInstance = ObjectFactory::createObjectByConfiguredName('task_handler_class');
 
                // Register all tasks:
+               //
                // 1) A task for fetching WUs (work units) or test units
                $taskInstance = ObjectFactory::createObjectByConfiguredName('cruncher_work_unit_fetcher_task_class');
                $handlerInstance->registerTask('cruncher_work_unit_fetcher', $taskInstance);
index 257187f8ec3a853dcd42319d57caf930332d1327..34a85e85f50823d8a0e44b78bf2377bd9657af48 100644 (file)
@@ -44,6 +44,15 @@ class ???Producer extends BaseProducer implements Producer, Registerable {
                // Return the prepared instance
                return $producerInstance;
        }
+
+       /**
+        * Initializes the producer
+        *
+        * @return      void
+        */
+       protected function initProducer () {
+               $this->partialStub('Please implement this method.');
+       }
 }
 
 // [EOF]
index 46fd68e2d9ca9ed80e553bb5f65a2ef8ce1fab55..80f6c2afc54a010a083dddbf8733edd8b7186dae 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 BaseProducer extends BaseFrameworkSystem {
+abstract class BaseProducer extends BaseFrameworkSystem {
        /**
         * Protected constructor
         *
@@ -31,7 +31,17 @@ class BaseProducer extends BaseFrameworkSystem {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
+
+               // Initialize all producers
+               $this->initProducer();
        }
+
+       /**
+        * Initializes this producer, this method must be overwritten.
+        *
+        * @return      void
+        */
+       abstract protected function initProducer();
 }
 
 // [EOF]
index 65ecef42f0ec669bbea640ee26fbd0c6d5037a5a..b9a255c41ffe6c6afd968ee455ea69426b8bc442 100644 (file)
@@ -41,29 +41,38 @@ class CruncherTestUnitProducer extends BaseProducer implements UnitProducer, Reg
                // Get new instance
                $producerInstance = new CruncherTestUnitProducer();
 
-               // Initialize this producer
-               $producerInstance->initProducer();
-
                // Return the prepared instance
                return $producerInstance;
        }
 
        /**
-        * Produces some work/test units and pushes them onto the queue
+        * Initializes the producer. This method satisfies the abstract BaseProducer
+        * class.
         *
         * @return      void
-        * @todo        0% done
         */
-       public function produceUnits () {
-               $this->partialStub('Please implement this method.');
+       protected function initProducer () {
+               // Get a XML template instance
+               $templateInstance = XmlTemplateEngineFactory::createXmlTemplateEngineInstance('cruncher_test_unit_producer_template_class');
+
+               // Load the template
+               $templateInstance->loadCruncherTestUnitTemplate('test_unit');
+
+               // Render the XML content
+               $templateInstance->renderXmlContent();
+
+               // And set it in this cruncher
+               $this->setTemplateInstance($templateInstance);
        }
 
        /**
-        * Initializes the producer
+        * Produces some work/test units and pushes them onto the queue
         *
         * @return      void
+        * @todo        0% done
         */
-       private function initProducer () {
+       public function produceUnits () {
+               $this->partialStub('Please implement this method.');
        }
 }
 
index c4bbc31a21f42e1d0bf92a79d4bd5078edda4177..a2678b77c1e713af23bc49247001d7871cbf6d00 100644 (file)
@@ -28,6 +28,7 @@ class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemp
         * Main nodes in the XML tree
         */
        private $mainNodes = array(
+               '|||'
        );
 
        /**
@@ -54,7 +55,6 @@ class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemp
        /**
         * Creates an instance of the class TemplateEngine and prepares it for usage
         *
-        * @param       $applicationInstance    A manageable application
         * @return      $templateInstance               An instance of TemplateEngine
         * @throws      BasePathIsEmptyException                If the provided $templateBasePath is empty
         * @throws      InvalidBasePathStringException  If $templateBasePath is no string
@@ -67,6 +67,9 @@ class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemp
                // Get a new instance
                $templateInstance = new Xml???TemplateEngine();
 
+               // Get application instance from registry
+               $applicationInstance = Registry::getRegistry()->getInstance('app');
+
                // Determine base path
                $templateBasePath = $templateInstance->getConfigInstance()->getConfigEntry('application_base_path') . $applicationInstance->getRequestInstance()->getRequestElement('app') . '/';
 
@@ -241,7 +244,7 @@ class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemp
                // Get current XML node name as an array index
                $nodeName = $this->getStackerInstance()->getNamed('!!!');
 
-               $this->partialStub('Do something with the gathered data.');
+               $this->partialStub('TODO: Do something with the gathered data.');
        }
 
        /**
diff --git a/application/hub/main/template/producer/.htaccess b/application/hub/main/template/producer/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/main/template/producer/test_units/.htaccess b/application/hub/main/template/producer/test_units/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php b/application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php
new file mode 100644 (file)
index 0000000..8dc4160
--- /dev/null
@@ -0,0 +1,280 @@
+<?php
+/**
+ * An TestUnit template engine class for XML templates
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.ship-simu.org
+ * @todo               This template engine does not make use of setTemplateType()
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * 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 XmlCruncherTestUnitTemplateEngine extends BaseTemplateEngine implements CompileableTemplate, Registerable {
+       /**
+        * Main nodes in the XML tree
+        */
+       private $mainNodes = array(
+               'cruncher-test-unit'
+       );
+
+       /**
+        * Sub nodes in the XML tree
+        */
+       private $subNodes = array(
+       );
+
+       /**
+        * Current main node
+        */
+       private $curr = array();
+
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
+       /**
+        * Creates an instance of the class TemplateEngine and prepares it for usage
+        *
+        * @return      $templateInstance               An instance of TemplateEngine
+        * @throws      BasePathIsEmptyException                If the provided $templateBasePath is empty
+        * @throws      InvalidBasePathStringException  If $templateBasePath is no string
+        * @throws      BasePathIsNoDirectoryException  If $templateBasePath is no
+        *                                                                                      directory or not found
+        * @throws      BasePathReadProtectedException  If $templateBasePath is
+        *                                                                                      read-protected
+        */
+       public static final function createXmlCruncherTestUnitTemplateEngine () {
+               // Get a new instance
+               $templateInstance = new XmlCruncherTestUnitTemplateEngine();
+
+               // Get application instance from registry
+               $applicationInstance = Registry::getRegistry()->getInstance('app');
+
+               // Determine base path
+               $templateBasePath = $templateInstance->getConfigInstance()->getConfigEntry('application_base_path') . $applicationInstance->getRequestInstance()->getRequestElement('app') . '/';
+
+               // Is the base path valid?
+               if (empty($templateBasePath)) {
+                       // Base path is empty
+                       throw new BasePathIsEmptyException($templateInstance, self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
+               } elseif (!is_string($templateBasePath)) {
+                       // Is not a string
+                       throw new InvalidBasePathStringException(array($templateInstance, $templateBasePath), self::EXCEPTION_INVALID_STRING);
+               } elseif (!is_dir($templateBasePath)) {
+                       // Is not a path
+                       throw new BasePathIsNoDirectoryException(array($templateInstance, $templateBasePath), self::EXCEPTION_INVALID_PATH_NAME);
+               } elseif (!is_readable($templateBasePath)) {
+                       // Is not readable
+                       throw new BasePathReadProtectedException(array($templateInstance, $templateBasePath), self::EXCEPTION_READ_PROTECED_PATH);
+               }
+
+               // Set the base path
+               $templateInstance->setTemplateBasePath($templateBasePath);
+
+               // Set template extensions
+               $templateInstance->setRawTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('raw_template_extension'));
+               $templateInstance->setCodeTemplateExtension($templateInstance->getConfigInstance()->getConfigEntry('cruncher_test_unit_template_extension'));
+
+               // Absolute output path for compiled templates
+               $templateInstance->setCompileOutputPath($templateInstance->getConfigInstance()->getConfigEntry('base_path') . $templateInstance->getConfigInstance()->getConfigEntry('compile_output_path'));
+
+               // Init a variable stacker
+               $stackerInstance = ObjectFactory::createObjectByConfiguredName('cruncher_test_unit_stacker_class');
+
+               // Set it
+               $templateInstance->setStackerInstance($stackerInstance);
+
+               // Return the prepared instance
+               return $templateInstance;
+       }
+
+       /**
+        * Load a specified cruncher_test_unit template into the engine
+        *
+        * @param       $template       The cruncher_test_unit template we shall load which is
+        *                                              located in 'cruncher_test_unit' by default
+        * @return      void
+        */
+       public function loadCruncherTestUnitTemplate ($template) {
+               // Set template type
+               $this->setTemplateType($this->getConfigInstance()->getConfigEntry('cruncher_test_unit_template_type'));
+
+               // Load the special template
+               $this->loadTemplate($template);
+       }
+
+       /**
+        * Getter for current main node
+        *
+        * @return      $currMainNode   Current main node
+        */
+       public final function getCurrMainNode () {
+               return $this->curr['main_node'];
+       }
+
+       /**
+        * Setter for current main node
+        *
+        * @param       $element                Element name to set as current main node
+        * @return      $currMainNode   Current main node
+        */
+       private final function setCurrMainNode ($element) {
+               $this->curr['main_node'] = (string) $element;
+       }
+
+       /**
+        * Getter for main node array
+        *
+        * @return      $mainNodes      Array with valid main node names
+        */
+       public final function getMainNodes () {
+               return $this->mainNodes;
+       }
+
+       /**
+        * Getter for sub node array
+        *
+        * @return      $subNodes       Array with valid sub node names
+        */
+       public final function getSubNodes () {
+               return $this->subNodes;
+       }
+
+       /**
+        * Handles the start element of an XML resource
+        *
+        * @param       $resource               XML parser resource (currently ignored)
+        * @param       $element                The element we shall handle
+        * @param       $attributes             All attributes
+        * @return      void
+        * @throws      InvalidXmlNodeException         If an unknown/invalid XML node name was found
+        */
+       public function startElement ($resource, $element, array $attributes) {
+               // Initial method name which will never be called...
+               $methodName = 'initTestUnit';
+
+               // Make the element name lower-case
+               $element = strtolower($element);
+
+               // Is the element a main node?
+               //* DEBUG: */ echo "START: &gt;".$element."&lt;<br />\n";
+               if (in_array($element, $this->getMainNodes())) {
+                       // Okay, main node found!
+                       $methodName = 'start' . $this->convertToClassName($element);
+
+                       // Set it
+                       $this->setCurrMainNode($element);
+               } elseif (in_array($element, $this->getSubNodes())) {
+                       // Sub node found
+                       $methodName = 'start' . $this->convertToClassName($element);
+               } else {
+                       // Invalid node name found
+                       throw new InvalidXmlNodeException(array($this, $element, $attributes), XmlParser::EXCEPTION_XML_NODE_UNKNOWN);
+               }
+
+               // Call method
+               call_user_func_array(array($this, $methodName), $attributes);
+       }
+
+       /**
+        * Ends the main or sub node by sending out the gathered data
+        *
+        * @param       $resource       An XML resource pointer (currently ignored)
+        * @param       $nodeName       Name of the node we want to finish
+        * @return      void
+        * @throws      XmlNodeMismatchException        If current main node mismatches the closing one
+        */
+       public function endElement ($resource, $nodeName) {
+               // Make all lower-case
+               $nodeName = strtolower($nodeName);
+
+               // Does this match with current main node?
+               //* DEBUG: */ echo "END: &gt;".$nodeName."&lt;<br />\n";
+               if (($nodeName != $this->getCurrMainNode()) && (in_array($nodeName, $this->getMainNodes()))) {
+                       // Did not match!
+                       throw new XmlNodeMismatchException (array($this, $nodeName, $this->getCurrMainNode()), XmlParser::EXCEPTION_XML_NODE_MISMATCH);
+               } // END - if
+
+               // Construct method name
+               $methodName = 'finish' . $this->convertToClassName($nodeName);
+
+               // Call the corresponding method
+               //* DEBUG: */ echo "call: ".$methodName."<br />\n";
+               call_user_func_array(array($this, $methodName), array());
+       }
+
+       /**
+        * Currently not used
+        *
+        * @param       $resource               XML parser resource (currently ignored)
+        * @param       $characters             Characters to handle
+        * @return      void
+        * @todo        Find something useful with this!
+        */
+       public function characterHandler ($resource, $characters) {
+               // Trim all spaces away
+               $characters = trim($characters);
+
+               // Is this string empty?
+               if (empty($characters)) {
+                       // Then skip it silently
+                       return false;
+               } // END - if
+
+               // Get current XML node name as an array index
+               $nodeName = $this->getStackerInstance()->getNamed('cruncher_test_unit');
+
+               $this->partialStub('TODO: Do something with the gathered data.');
+       }
+
+       /**
+        * Getter for cache file (FQFN)
+        *
+        * @return      $fqfn   Full-qualified file name of the menu cache
+        */
+       public function getCruncherTestUnitCacheFqfn () {
+               $this->partialStub('Please implement this method.');
+       }
+
+       /**
+        * Starts the test-unit
+        *
+        * @return      void
+        */
+       private function startCruncherTestUnit () {
+               // Push the node name on the stacker
+               $this->getStackerInstance()->pushNamed('cruncher_test_unit', 'cruncher-test-unit');
+       }
+
+       /**
+        * Finishes the test-unit
+        *
+        * @return      void
+        */
+       private function finishCruncherTestUnit () {
+               // Pop the last entry
+               $this->getStackerInstance()->popNamed('cruncher_test_unit');
+       }
+}
+
+// [EOF]
+?>
index e253bddb1d5629124bb75ed449e1fcf32de6629d..2c43e5c6694cc795a41c3845676db4fbe2fd3f4e 100644 (file)
@@ -4,7 +4,7 @@
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
index 264f54d2c91c6092d0426150283a1df9f98384f3..dabd764c0af9ad79f842e8f69fc0212464308662 100644 (file)
@@ -5,7 +5,7 @@ Please use the config.php file at application/hub/ instead.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
diff --git a/application/hub/templates/xml/cruncher/.htaccess b/application/hub/templates/xml/cruncher/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/templates/xml/cruncher/producer/.htaccess b/application/hub/templates/xml/cruncher/producer/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/templates/xml/cruncher/producer/test_unit.xml b/application/hub/templates/xml/cruncher/producer/test_unit.xml
new file mode 100644 (file)
index 0000000..e15fadf
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A XML template for the producer to produce test units
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<cruncher-test-unit>
+</cruncher-test-unit>
index 23c739090a9eb975959912a591b8e2f5e2b7d04c..5aad61560f79b60b0db48e7f126eaad77dfa7e09 100644 (file)
@@ -4,7 +4,7 @@ All valid node status.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
index 282fae9abc305e9de927ef40a48788a9d570d933..88f9426a5b752940de36e2418153ebd6b827a0eb 100644 (file)
@@ -5,7 +5,7 @@ here.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
index 4d7c6123acf646f8805ad66e3e2aa8de846cf909..45e11956af6042a4825e535c37c37d8275e5e252 100644 (file)
@@ -4,7 +4,7 @@ A descriptor XML file for self-connect attempts
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
-@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
 @license       GNU GPL 3.0 or any newer version
 @link          http://www.ship-simu.org
 
index babba44a4ce174932cffcaac1d626f649dbda85e..fd501fe7dece4bde63b190de7320385afbb7e3ef 100644 (file)
@@ -70,7 +70,7 @@
 ./application/hub/main/package/class_NetworkPackage.php:383:                   // @TODO Add some logging here
 ./application/hub/main/package/class_NetworkPackage.php:409:                   // @TODO Add some logging here
 ./application/hub/main/pools/peer/class_DefaultPeerPool.php:148:                       // @TODO Check for IP
-./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:55:      * @todo        0% done
+./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:72:      * @todo        0% done
 ./application/hub/main/resolver/state/network/class_NetworkStateResolver.php:68:        * @todo        ~30% done
 ./application/hub/main/resolver/state/network/class_NetworkStateResolver.php:80:                       // @TODO On some systems it is 134, on some 107?
 ./application/hub/main/tasks/cruncher/class_CruncherTestUnitProducerTask.php:53:        * @todo        Maybe visit some sub-objects
@@ -86,6 +86,8 @@
 ./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:240:     * @todo        Find something useful with this!
 ./application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php:10: * @todo          This template engine does not make use of setTemplateType()
 ./application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php:251:  * @todo        Find something useful with this!
+./application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php:10: * @todo            This template engine does not make use of setTemplateType()
+./application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php:231:    * @todo        Find something useful with this!
 ./application/hub/main/tools/class_HubTools.php:128:                           // @TODO We may want to encapsulate this PHP call into an own class
 ./application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php:105:   * @todo        Does a query needs to perform some actions as an active task?
 ./application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php:116:   * @todo        Does a queue needs to perform some actions as an active task?