|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fzi.kadmos.cmdutils.EvaluatorTest
public class EvaluatorTest
Constructor Summary | |
---|---|
EvaluatorTest()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvaluatorTest()
Method Detail |
---|
public static void getAlignmentLocation()
public final void testParseArgumentsNoArguments() throws Exception
Evaluator.parseArguments(String[])
.
No argument given.
Expected: KADMOSCMDException
Exception
public final void testParseArgumentsNoAlignmentNoOptions() throws Exception
Evaluator.parseArguments(String[])
.
Reference given, but no alignment, no options.
Expected: IllegalArgumentException
Exception
public final void testParseArgumentsNoOptionsResolvableURLs() throws Exception
Evaluator.parseArguments(String[])
.
No options, reference and alignment as resolvable URLs
Expected: Reference and alignment locations correctly loaded.
Exception
public final void testParseTwoArgumentsNoOptionsResolvableURLs() throws Exception
Evaluator.parseArguments(String[])
.
No options, reference and alignment as resolvable URLs
Expected: Reference and alignment locations correctly loaded.
Exception
public final void testParseArgumentsNoOptionsAbsolutePathnames() throws Exception
Evaluator.parseArguments(String[])
.
No options, reference and alignment as absolute pathnames
Expected: Reference and alignment locations correctly loaded.
Exception
public final void testParseTwoArgumentsNoOptionsAbsolutePathnames() throws Exception
Evaluator.parseArguments(String[])
.
No options, reference and alignment as absolute pathnames
Expected: Reference and alignment locations correctly loaded.
Exception
public final void testParseArgumentsNoOptionsRelativePathnames() throws Exception
Evaluator.parseArguments(String[])
.
No options, reference and alignment as relative pathnames
Expected: Reference and alignment locations correctly loaded.
Exception
public final void testParseArgumentsNoOption() throws Exception
Evaluator.parseArguments(String[])
.
No option, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is enabled.
Exception
public final void testParseArgumentsCOption() throws Exception
Evaluator.parseArguments(String[])
.
-c option, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is enabled.
Exception
public final void testParseArgumentsSOption() throws Exception
Evaluator.parseArguments(String[])
.
-s option, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is disabled,
computing symmetric precision and recall is enabled.
Exception
public final void testParseArgumentsCandSOption() throws Exception
Evaluator.parseArguments(String[])
.
-c and -s options, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is disabled,
computing symmetric precision and recall is enabled.
Exception
public final void testParseArgumentsClassicalPROption() throws Exception
Evaluator.parseArguments(String[])
.
--classical-pr option, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is enabled.
Exception
public final void testParseArgumentsSymmetricPROption() throws Exception
Evaluator.parseArguments(String[])
.
--symmetric-pr option, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is disabled,
computing symmetric precision and recall is enabled.
Exception
public final void testParseArgumentsClassicalPRandSymmetricPROption() throws Exception
Evaluator.parseArguments(String[])
.
--classical-pr and --symmetric-pr option, reference and alignment as resolvable URLs
Expected: computing classical precision and recall is disabled,
computing symmetric precision and recall is enabled.
Exception
public final void testParseReferenceResolvableLocalURL() throws Exception
Evaluator.parseReference(String)
.
Resolvable local URL given.
Expected: success
Exception
public final void testParseReferenceNotResolvableURL() throws Exception
Evaluator.parseReference(String)
.
Not resolvable URL given.
Expected: success
Exception
public final void testParseReferenceResolvablePathname() throws Exception
Evaluator.parseReference(String)
.
Resolvable pathname given.
Expected: success
Exception
public final void testParseReferenceNotResolvablePathname() throws Exception
Evaluator.parseReference(String)
.
Not resolvable pathname given.
Expected: success
Exception
public final void testParseAlignmentResolvableLocalURL() throws Exception
Evaluator.parseAlignment(String)
.
Resolvable local URL given.
Expected: success
Exception
public final void testParseAlignmentNotResolvableURL() throws Exception
Evaluator.parseAlignment(String)
.
Not resolvable URL given.
Expected: success
Exception
public final void testParseAlignmentResolvablePathname() throws Exception
Evaluator.parseAlignment(String)
.
Resolvable pathname given.
Expected: success
Exception
public final void testParseAlignmentNotResolvablePathname() throws Exception
Evaluator.parseAlignment(String)
.
Not resolvable pathname given.
Expected: success
Exception
public final void testParseAlignmentTxtFile() throws Exception
Evaluator.parseAlignment(String)
.
Tests parsing of alignment text file
Expected: success
Exception
public final void testParseAlignmentDeepScanDirectory() throws Exception
Evaluator.parseAlignment(String)
.
Tests deep scan of directory
Expected: successs
Exception
public final void testParseAlignmentBatch() throws Exception
Evaluator.parseAlignment(String)
.
Tests deep scan of directory
Expected: successs
Exception
public final void testParseAlignmentCreateCSV() throws Exception
Evaluator.parseAlignment(String)
.
Tests deep scan of directory
Expected: successs
Exception
public final void testParseAlignmentLongOptCreateCSV() throws Exception
Evaluator.parseAlignment(String)
.
Tests deep scan of directory
Expected: successs
Exception
public final void testParseAlignmentCreateGNU() throws Exception
Evaluator.parseAlignment(String)
.
Tests deep scan of directory
Expected: successs
Exception
public final void testParseAlignmentLongOptCreateGNU() throws Exception
Evaluator.parseAlignment(String)
.
Tests deep scan of directory
Expected: successs
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |