public class IOTestRunner extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IOTestRunner.Validator |
Constructor and Description |
---|
IOTestRunner() |
Modifier and Type | Method and Description |
---|---|
static void |
testOneWay(Class<? extends org.apache.uima.collection.CollectionReader> aReader,
Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter,
String aExpectedFile,
String aFile) |
static void |
testOneWay(Class<? extends org.apache.uima.collection.CollectionReader> aReader,
Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter,
String aExpectedFile,
String aFile,
TestOptions aOptions) |
static void |
testOneWay(Class<? extends org.apache.uima.collection.CollectionReader> aReader,
String aExpectedFile,
String aFile) |
static void |
testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader,
org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter,
String aExpectedFile,
String aFile) |
static void |
testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader,
org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter,
String aExpectedFile,
String aFile,
TestOptions aOptions) |
static void |
testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader,
String aExpectedFile,
String aFile) |
static void |
testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader,
String aExpectedFile,
String aFile,
TestOptions aOptions)
One-way test reading a file and writing to the same format but comparing against a reference
file instead of the original file.
|
static void |
testOneWay2(Class<? extends org.apache.uima.collection.CollectionReader> aReader,
Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter,
String aExpectedFile,
String aOutputFile,
String aFile,
Object... aExtraParams)
Deprecated.
|
static void |
testOneWay2(org.apache.uima.collection.CollectionReaderDescription aReader,
org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter,
String aExpectedFile,
String aOutputFile,
String aInputFile,
TestOptions aOptions) |
static void |
testRoundTrip(Class<? extends org.apache.uima.collection.CollectionReader> aReader,
Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter,
String aFile) |
static void |
testRoundTrip(Class<? extends org.apache.uima.collection.CollectionReader> aReader,
Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter,
String aFile,
TestOptions aOptions) |
static void |
testRoundTrip(org.apache.uima.collection.CollectionReaderDescription aReader,
org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter,
String aFile) |
static void |
testRoundTrip(org.apache.uima.collection.CollectionReaderDescription aReader,
org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter,
String aFile,
TestOptions aOptions) |
public static void testRoundTrip(Class<? extends org.apache.uima.collection.CollectionReader> aReader, Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter, String aFile) throws Exception
Exception
public static void testRoundTrip(Class<? extends org.apache.uima.collection.CollectionReader> aReader, Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter, String aFile, TestOptions aOptions) throws Exception
Exception
public static void testRoundTrip(org.apache.uima.collection.CollectionReaderDescription aReader, org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter, String aFile, TestOptions aOptions) throws Exception
Exception
public static void testRoundTrip(org.apache.uima.collection.CollectionReaderDescription aReader, org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter, String aFile) throws Exception
Exception
public static void testOneWay(Class<? extends org.apache.uima.collection.CollectionReader> aReader, String aExpectedFile, String aFile) throws Exception
Exception
public static void testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader, String aExpectedFile, String aFile) throws Exception
Exception
public static void testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader, String aExpectedFile, String aFile, TestOptions aOptions) throws Exception
aReader
- reader to read the data.aExpectedFile
- expected file.aFile
- input file.aOptions
- test options.Exception
- if there was an error.public static void testOneWay(Class<? extends org.apache.uima.collection.CollectionReader> aReader, Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter, String aExpectedFile, String aFile) throws Exception
Exception
public static void testOneWay(Class<? extends org.apache.uima.collection.CollectionReader> aReader, Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter, String aExpectedFile, String aFile, TestOptions aOptions) throws Exception
Exception
public static void testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader, org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter, String aExpectedFile, String aFile) throws Exception
Exception
public static void testOneWay(org.apache.uima.collection.CollectionReaderDescription aReader, org.apache.uima.analysis_engine.AnalysisEngineDescription aWriter, String aExpectedFile, String aFile, TestOptions aOptions) throws Exception
Exception
@Deprecated public static void testOneWay2(Class<? extends org.apache.uima.collection.CollectionReader> aReader, Class<? extends org.apache.uima.analysis_component.AnalysisComponent> aWriter, String aExpectedFile, String aOutputFile, String aFile, Object... aExtraParams) throws Exception
Exception
Copyright © 2007–2019 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.