Class PepperImExporterTest
- java.lang.Object
-
- org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper
-
- org.corpus_tools.pepper.testFramework.helpers.PepperModuleTest
-
- org.corpus_tools.pepper.testFramework.helpers.PepperImExporterTest
-
- Direct Known Subclasses:
PepperExporterTest,PepperImporterTest
public abstract class PepperImExporterTest extends PepperModuleTest
-
-
Field Summary
Fields Modifier and Type Field Description protected List<FormatDesc>supportedFormatsCheckDeprecated.the visibality of this memeber will be shrinked to private.-
Fields inherited from class org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper
fixture, logger, resourceURI, TMP_TEST_DIR
-
-
Constructor Summary
Constructors Constructor Description PepperImExporterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddFormatWhichShouldBeSupported(String formatName, String formatVersion)Adds a format description to the list of formats which should be supported by the module to be tested.voidaddFormatWhichShouldBeSupported(FormatDesc formatDesc)Adds a format description to the list of formats which should be supported by the module to be tested.voidaddSupportedFormat(FormatDesc formatDesc)Deprecated.voidcheckThatCorrectFormatsAreSupported()protected voidsetFixture(PepperModule fixture)Sets the current fixture to test.-
Methods inherited from class org.corpus_tools.pepper.testFramework.helpers.PepperModuleTest
checkThatCorpusGraphIsSettable, checkThatFixtureIsSet, checkThatModuleHasName, checkThatResourcePathIsSet, checkThatWhenSimulatingFitnessCheckModulePassesSelfTest, checkThatWhenSimulatingFitnessCheckModulePassesSelfTest, diffsBetweenActualAndExpected, runSelfTest
-
Methods inherited from class org.corpus_tools.pepper.testFramework.helpers.PepperModuleTestHelper
compareFiles, compareFiles, getFixture, getSrcResources, getTempPath, getTempPath_static, getTempURI, getTestResources, initialize, setResourcesURI, start
-
-
-
-
Field Detail
-
supportedFormatsCheck
@Deprecated protected List<FormatDesc> supportedFormatsCheck
Deprecated.the visibality of this memeber will be shrinked to private. UseaddFormatWhichShouldBeSupported(FormatDesc)oraddFormatWhichShouldBeSupported(String, String)instead.A list of formats, which shall be supported
-
-
Method Detail
-
setFixture
protected void setFixture(PepperModule fixture)
Description copied from class:PepperModuleTestHelperSets the current fixture to test.- Overrides:
setFixturein classPepperModuleTestHelper- Parameters:
fixture- object to test, derived fromPepperModule
-
addSupportedFormat
@Deprecated public void addSupportedFormat(FormatDesc formatDesc)
Deprecated.
-
addFormatWhichShouldBeSupported
public void addFormatWhichShouldBeSupported(FormatDesc formatDesc)
Adds a format description to the list of formats which should be supported by the module to be tested.
-
addFormatWhichShouldBeSupported
public 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.
-
checkThatCorrectFormatsAreSupported
public void checkThatCorrectFormatsAreSupported()
-
-