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
Method Summary
void setUp ()
void testBadFolder ()
void testConfig ()
void testDisabled ()
void testSimple ()
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 Thu, 24 Mar 2011 16:55:41 +0100 by phpDocumentor 1.4.3