Core/tests
Abel Hoogeveen bc6136525b Implemented the Factory and the FactoryTest.
The Factory class is the central point for class communication in FuzeWorks. When someone needs to load, for instance, the layout class, one has to do the following:

$factory = Factory::getInstance();
$layout = $factory->layout;

The Factory class allows the user to replace dependencies on the fly. It is possible for a class to replace a dependency, like Logger, on the fly by calling the $factory->newInstance('Logger'); or the $factory->setInstance('Logger', $object); This allows for creative ways to do dependency injection, or keep classes
separated.

It is also possible to load a cloned instance of the Factory class, so that all properties are independant as well,
all to suit your very needs.
2016-05-27 16:33:12 +02:00
..
events Implemented the Factory and the FactoryTest. 2016-05-27 16:33:12 +02:00
helpers Implemented Helper Tests 2016-05-27 14:38:28 +02:00
layout Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
abstract.coreTestAbstract.php Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
autoload.php Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
core_coreTest.php Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
core_eventsTest.php Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
core_factoryTest.php Implemented the Factory and the FactoryTest. 2016-05-27 16:33:12 +02:00
core_helperTest.php Implemented a (failed) config and a renewed Helpers class. 2016-05-27 13:55:31 +02:00
core_layoutTest.php Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
core_routerTest.php Implemented new and renewed core tests. 2016-05-25 17:01:59 +02:00
phpunit.xml Implemented the Factory and the FactoryTest. 2016-05-27 16:33:12 +02:00