Class KppADFFormatParserTest
- java.lang.Object
-
- net.sf.tweety.arg.adf.parser.test.KppADFFormatParserTest
-
public class KppADFFormatParserTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_TIMEOUTprivate KppADFFormatParserparser
-
Constructor Summary
Constructors Constructor Description KppADFFormatParserTest()
-
Method Summary
Modifier and Type Method Description private voidparseAllInDirectory(java.lang.String dir)voidtestAllKppADFInstances()voidtestAllValid()voidtestMissingDot1()voidtestMissingDot2()voidtestMissingDot3()voidtestMissingDot4()voidtestNoLinebreak()voidtestNoWhitespace()voidtestUndefinedArgumentInACC()
-
-
-
Field Detail
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
parser
private KppADFFormatParser parser
-
-
Method Detail
-
parseAllInDirectory
private void parseAllInDirectory(java.lang.String dir) throws ParserException, java.io.FileNotFoundException, java.io.IOException- Throws:
ParserExceptionjava.io.FileNotFoundExceptionjava.io.IOException
-
testAllValid
public void testAllValid() throws java.io.IOException, ParserException- Throws:
java.io.IOExceptionParserException
-
testAllKppADFInstances
public void testAllKppADFInstances() throws java.io.IOException, ParserException- Throws:
java.io.IOExceptionParserException
-
testNoLinebreak
public void testNoLinebreak() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
testNoWhitespace
public void testNoWhitespace() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
testMissingDot4
public void testMissingDot4() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
testMissingDot3
public void testMissingDot3() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
testMissingDot2
public void testMissingDot2() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
testMissingDot1
public void testMissingDot1() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
testUndefinedArgumentInACC
public void testUndefinedArgumentInACC() throws ParserException, java.io.IOException- Throws:
ParserExceptionjava.io.IOException
-
-