Package net.sf.tweety.logics.pl.test
Class PlParserTest
- java.lang.Object
 - 
- net.sf.tweety.logics.pl.test.PlParserTest
 
 
- 
public class PlParserTest extends java.lang.ObjectJUnit Test class for PlParser.- Author:
 - Matthias Thimm, Anna Gessler
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_TIMEOUT(package private) PlParserparser 
- 
Constructor Summary
Constructors Constructor Description PlParserTest() 
- 
Method Summary
Modifier and Type Method Description voidBrokenParenthesesTest()voidBrokenParenthesesTest2()voidBrokenParenthesesTest3()voidConjunctionTest()voidContradictionTest()voidDisjunctionTest()voidEmptyConjunctionTest()voidEmptyDisjunctionTest()voidEmptyParenthesesTest()voidEquivalenceTest()voidIllegalCharacterTest()voidImplicationTest()voidIncompleteConjunctionTest()voidIncompleteDisjunctionTest()voidinitParser()voidNegationTest()voidNestedFormulaTest()voidParseBeliefBaseFromFileTest()voidParseBeliefBaseTest()voidPropositionTest()voidSpecialCharactersTest()voidTautologyTest() 
 - 
 
- 
- 
Field Detail
- 
parser
PlParser parser
 
- 
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
initParser
public void initParser() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
PropositionTest
public void PropositionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
NegationTest
public void NegationTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
ImplicationTest
public void ImplicationTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
EquivalenceTest
public void EquivalenceTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
DisjunctionTest
public void DisjunctionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
ConjunctionTest
public void ConjunctionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
TautologyTest
public void TautologyTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
ContradictionTest
public void ContradictionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
NestedFormulaTest
public void NestedFormulaTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
SpecialCharactersTest
public void SpecialCharactersTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
ParseBeliefBaseTest
public void ParseBeliefBaseTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
ParseBeliefBaseFromFileTest
public void ParseBeliefBaseFromFileTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
EmptyDisjunctionTest
public void EmptyDisjunctionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
EmptyConjunctionTest
public void EmptyConjunctionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
IncompleteConjunctionTest
public void IncompleteConjunctionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
IncompleteDisjunctionTest
public void IncompleteDisjunctionTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
IllegalCharacterTest
public void IllegalCharacterTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
BrokenParenthesesTest
public void BrokenParenthesesTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
BrokenParenthesesTest2
public void BrokenParenthesesTest2() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
BrokenParenthesesTest3
public void BrokenParenthesesTest3() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
- 
EmptyParenthesesTest
public void EmptyParenthesesTest() throws ParserException, java.io.IOException- Throws:
 ParserExceptionjava.io.IOException
 
 - 
 
 -