Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
PluginTestCase Class Reference
Inheritance diagram for PluginTestCase:
DatabaseTestCase PKPTestCase MetadataPluginTestCase PKPIsbndbCitationLookupPluginTest PKPDc11MetadataPluginTest PKPMods34MetadataPluginTest PKPNlm30MetadataPluginTest PKPOpenurl10MetadataPluginTest Dc11MetadataPluginTest Mods34MetadataPluginTest Nlm30MetadataPluginTest Openurl10MetadataPluginTest

Protected Member Functions

 executePluginTest ($pluginCategory, $pluginDir, $pluginName, $filterGroups)
 
 getAffectedTables ()
 
 getMockedRegistryKeys ()
 
- Protected Member Functions inherited from DatabaseTestCase
 getAffectedTables ()
 
 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Additional Inherited Members

- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Detailed Description

Abstract base class for Plugin tests.

See Also
Plugin

Definition at line 27 of file PluginTestCase.inc.php.

Member Function Documentation

PluginTestCase::executePluginTest (   $pluginCategory,
  $pluginDir,
  $pluginName,
  $filterGroups 
)
protected

Executes the plug-in test.

Parameters
$pluginCategorystring
$pluginDirstring
$pluginNamestring
$filterGroupsarray

Definition at line 52 of file PluginTestCase.inc.php.

References DAORegistry\getDAO(), VersionCheck\parseVersionXML(), and Registry\set().

Referenced by MetadataPluginTestCase\executeMetadataPluginTest(), and PKPIsbndbCitationLookupPluginTest\testIsbndbCitationLookupPlugin().

PluginTestCase::getAffectedTables ( )
protected
PluginTestCase::getMockedRegistryKeys ( )
protected
See Also
PKPTestCase::getMockedRegistryKeys()

Definition at line 41 of file PluginTestCase.inc.php.


The documentation for this class was generated from the following file: