Test class for Amfphp_Core_PluginManager.

package Tests_Amfphp_Core
author Ariel Sommeria-klein

 Methods

test bad folder

testBadFolder() 
expectedException Amfphp_Core_Exception

test config

testConfig() 

test disabled

testDisabled() 

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

testSimple() 

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

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

setUp() 

This method is called before a test is executed.

 Properties

 

$pluginManager : \Amfphp_Core_PluginManager