Class Amfphp_Core_PluginManagerTest

Description

Test class for Amfphp_Core_PluginManager.

  • author: Ariel Sommeria-klein

Located in /Tests/Amfphp/Core/PluginManagerTest.php (line 23)

PHPUnit_Framework_TestCase
   |
   --Amfphp_Core_PluginManagerTest
Variable Summary
Method Summary
void setUp ()
void testBadFolder ()
void testConfig ()
void testDisabled ()
void testSimple ()
Variables
Amfphp_Core_PluginManager $pluginManager (line 29)
  • access: protected
Methods
setUp (line 36)

Sets up the fixture, for example, opens a network connection.

This method is called before a test is executed.

  • access: protected
void setUp ()
testBadFolder (line 69)
  • access: public
void testBadFolder ()
testConfig (line 57)
  • access: public
void testConfig ()
testDisabled (line 50)
  • access: public
void testDisabled ()
testSimple (line 44)

the TestPlugins folder must be scanned and in it found the class DummyPlugin, which contains an instanication counter.

It is included and instanciated by the plugin manager, and the test looks at the instanciation counter to check that an instance was created

  • access: public
void testSimple ()

Documentation generated on Mon, 23 Jan 2012 17:22:07 -0300 by phpDocumentor 1.4.3