Pepper
3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
|
Inherits org.corpus_tools.pepper.testFramework.helpers.PepperModuleTest.
Inherited by org.corpus_tools.pepper.testFramework.PepperExporterTest, and org.corpus_tools.pepper.testFramework.PepperImporterTest.
Public Member Functions | |
void | addSupportedFormat (FormatDesc formatDesc) |
void | addFormatWhichShouldBeSupported (FormatDesc formatDesc) |
Adds a format description to the list of formats which should be supported by the module to be tested. | |
void | addFormatWhichShouldBeSupported (String formatName, String formatVersion) |
Adds a format description to the list of formats which should be supported by the module to be tested. | |
void | checkThatCorrectFormatsAreSupported () |
Public Member Functions inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTest | |
void | checkThatFixtureIsSet () |
void | checkThatCorpusGraphIsSettable () |
void | checkThatModuleHasName () |
void | checkThatResourcePathIsSet () |
void | checkThatWhenSimulatingFitnessCheckModulePassesSelfTest () |
Public Member Functions inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper | |
PepperModuleTestHelper () | |
Creates an object of type PepperModuleTest. More... | |
void | initialize () |
Initializes this object. More... | |
URI | getTempURI (String testDirectory) |
Returns a File object pointing to a temporary path, where the caller can store temporary files. More... | |
File | getTempPath (String testDirectory) |
Returns a File object pointing to a temporary path, where the caller can store temporary files. More... | |
void | start () |
This methods starts the processing of Pepper in the development environment. More... | |
void | setResourcesURI (URI resourceURI) |
Sets the path to resources folder for module. More... | |
boolean | compareFiles (URI uri1, URI uri2) throws IOException |
Compares the content of two files. More... | |
boolean | compareFiles (File file1, File file2) throws IOException |
Compares the content of two files. More... | |
Protected Member Functions | |
void | setFixture (PepperModule fixture) |
Sets the current fixture to test. More... | |
Protected Member Functions inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTest | |
ModuleFitness | runSelfTest () |
abstract void | checkThatWhenSimulatingFitnessCheckModulePassesSelfTest (ModuleFitness fitness) |
String | diffsBetweenActualAndExpected () |
Protected Member Functions inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper | |
PepperModule | getFixture () |
Returns the current fixture to test. More... | |
Protected Attributes | |
List< FormatDesc > | supportedFormatsCheck = null |
A list of formats, which shall be supported. More... | |
Protected Attributes inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper | |
URI | resourceURI = null |
PepperModule | fixture = null |
Additional Inherited Members | |
Static Public Member Functions inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper | |
static File | getTempPath_static (String testDirectory) |
{@inheritDoc PepperTestUtil::getTempPath_static(String)} | |
static String | getTestResources () |
{@inheritDoc PepperTestUtil::getTestResources()} | |
static String | getSrcResources () |
{@inheritDoc PepperTestUtil::getSrcResources()} | |
Static Public Attributes inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper | |
static String | TMP_TEST_DIR = PepperTestUtil.TMP_TEST_DIR |
{@inheritDoc PepperTestUtil::TMP_TEST_DIR} | |
Static Protected Attributes inherited from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper | |
static final Logger | logger = LoggerFactory.getLogger("Pepper") |
void org.corpus_tools.pepper.testFramework.helpers.PepperImExporterTest.addSupportedFormat | ( | FormatDesc | formatDesc | ) |
|
protected |
Sets the current fixture to test.
fixture | object to test, derived from PepperModule |
Reimplemented from org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper.
|
protected |
A list of formats, which shall be supported.