Package org.tweetyproject.lp.asp.parser
Class ASPParserTest
java.lang.Object
org.tweetyproject.lp.asp.parser.ASPParserTest
This class tests all important functions of the ASP-Core-2 Parser in
combination with InstantiateVisitor, which is responsible for walking through
the parse-tree and generating in-memory classes of the parsed ASP program.
- Author:
- Anna Gessler, Tim Janus
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
aggregation testvoid
choice testvoid
cling testvoid
comparative testvoid
term testvoid
DLVTest()
dlv teststatic void
init()
initializes valuesvoid
literal testvoid
optimization statement testvoid
test 1void
asp rules testvoid
term testvoid
weight at level test
-
Field Details
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUTdefault timeout- See Also:
-
-
Constructor Details
-
ASPParserTest
public ASPParserTest()
-
-
Method Details
-
init
public static void init()initializes values -
ProgramTest
-
ClingoTest
cling test- Throws:
ParseException
- parsing exception
-
DLVTest
-
SimpleASPRulesTest
asp rules test- Throws:
ParseException
- parsing exception
-
AggregateTest
aggregation test- Throws:
ParseException
- parsing exception
-
OptimizationStatementTest
optimization statement test- Throws:
ParseException
- parsing exception
-
ChoiceTest
-
WeightAtLevelTest
weight at level test- Throws:
ParseException
- parsing exception
-
SimpleTermTest
term test- Throws:
ParseException
- parsing exception
-
ComplexTermTest
term test- Throws:
ParseException
- parsing exception
-
ComparativeTest
comparative test- Throws:
ParseException
- parsing exception
-
LiteralTest
literal test- Throws:
ParseException
- parsing exception
-