Class TestMAKBPInterpreter
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- MAKBPInterpreter.interpreter.tests.TestMAKBPInterpreter
-
- All Implemented Interfaces:
junit.framework.Test
public class TestMAKBPInterpreter extends junit.framework.TestCaseTest class for theMAKBPInterpreterclass.
-
-
Constructor Summary
Constructors Constructor Description TestMAKBPInterpreter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructor()voidtestExecuteAction()Tests theMAKBPInterpreter.executeAction(java.util.Map)method.voidtestGetAssociatedAction()voidtestGetters()Tests theMAKBPInterpreter.getStructures()andMAKBPInterpreter.getPermissions(),MAKBPInterpreter.getObjects()methods.voidtestIsFinished()Tests theMAKBPInterpreter.isFinished(MAKBPInterpreter.agents.KripkeWorld)andMAKBPInterpreter.isFinished()methods.voidtestPublicAnnouncement()voidtestReasoning()Tests theMAKBPInterpreter.reasoning(MAKBPInterpreter.agents.Agent, java.util.Map)method.voidtestReverseEngineering()Tests theMAKBPInterpreter.reverseEngineering(java.util.Map)method.-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
Method Detail
-
testConstructor
public void testConstructor()
-
testGetters
public void testGetters()
Tests theMAKBPInterpreter.getStructures()andMAKBPInterpreter.getPermissions(),MAKBPInterpreter.getObjects()methods.
-
testPublicAnnouncement
public void testPublicAnnouncement() throws java.lang.ExceptionTests theMAKBPInterpreter.publicAnnouncement(MAKBPInterpreter.agents.Agent, MAKBPInterpreter.logic.Formula),MAKBPInterpreter.publicAnnouncement(java.util.Collection, MAKBPInterpreter.logic.Formula)andMAKBPInterpreter.publicAnnouncement(java.util.List, java.util.List)methods.- Throws:
java.lang.Exception
-
testGetAssociatedAction
public void testGetAssociatedAction() throws java.lang.ExceptionTests theMAKBPInterpreter.getAssociatedAction(java.util.Collection, MAKBPInterpreter.agents.KripkeWorld)method.- Throws:
java.lang.Exception
-
testExecuteAction
public void testExecuteAction() throws java.lang.ExceptionTests theMAKBPInterpreter.executeAction(java.util.Map)method.- Throws:
java.lang.Exception
-
testReverseEngineering
public void testReverseEngineering() throws java.lang.ExceptionTests theMAKBPInterpreter.reverseEngineering(java.util.Map)method.- Throws:
java.lang.Exception
-
testReasoning
public void testReasoning() throws java.lang.ExceptionTests theMAKBPInterpreter.reasoning(MAKBPInterpreter.agents.Agent, java.util.Map)method.- Throws:
java.lang.Exception
-
testIsFinished
public void testIsFinished() throws java.lang.ExceptionTests theMAKBPInterpreter.isFinished(MAKBPInterpreter.agents.KripkeWorld)andMAKBPInterpreter.isFinished()methods.- Throws:
java.lang.Exception
-
-