Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
MetadataPluginTestCase Class Reference
Inheritance diagram for MetadataPluginTestCase:
PluginTestCase DatabaseTestCase PKPTestCase PKPDc11MetadataPluginTest PKPMods34MetadataPluginTest PKPNlm30MetadataPluginTest PKPOpenurl10MetadataPluginTest Mods34MetadataPluginTest Nlm30MetadataPluginTest Openurl10MetadataPluginTest

Protected Member Functions

 executeMetadataPluginTest ($pluginDir, $pluginName, $filterGroups, $controlledVocabs)
 getAffectedTables ()
- Protected Member Functions inherited from PluginTestCase
 executePluginTest ($pluginCategory, $pluginDir, $pluginName, $filterGroups)
 getAffectedTables ()
 getMockedRegistryKeys ()
- Protected Member Functions inherited from DatabaseTestCase
 getAffectedTables ()
 setUp ()
 tearDown ()
- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 getMockedRegistryKeys ()
 mockRequest ($path= 'index/test-page/test-op', $userId=null)
 setTestConfiguration ($config, $configPath= 'config')
 setUp ()
 tearDown ()

Additional Inherited Members

- Public Member Functions inherited from PKPTestCase
 getActualOutput ()

Detailed Description

Abstract base class for MetadataPlugin tests.

See Also

Definition at line 24 of file

Member Function Documentation

MetadataPluginTestCase::executeMetadataPluginTest (   $pluginDir,
MetadataPluginTestCase::getAffectedTables ( )

Override this method if you want to backup/restore tables before/after the test.

array A list of tables to backup and restore.

Definition at line 28 of file

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