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.TestCase
Test class for theMAKBPInterpreter
class.
-
-
Constructor Summary
Constructors Constructor Description TestMAKBPInterpreter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testConstructor()
void
testExecuteAction()
Tests theMAKBPInterpreter.executeAction(java.util.Map)
method.void
testGetAssociatedAction()
void
testGetters()
Tests theMAKBPInterpreter.getStructures()
andMAKBPInterpreter.getPermissions()
,MAKBPInterpreter.getObjects()
methods.void
testIsFinished()
Tests theMAKBPInterpreter.isFinished(MAKBPInterpreter.agents.KripkeWorld)
andMAKBPInterpreter.isFinished()
methods.void
testPublicAnnouncement()
void
testReasoning()
Tests theMAKBPInterpreter.reasoning(MAKBPInterpreter.agents.Agent, java.util.Map)
method.void
testReverseEngineering()
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.Exception
Tests 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.Exception
Tests theMAKBPInterpreter.getAssociatedAction(java.util.Collection, MAKBPInterpreter.agents.KripkeWorld)
method.- Throws:
java.lang.Exception
-
testExecuteAction
public void testExecuteAction() throws java.lang.Exception
Tests theMAKBPInterpreter.executeAction(java.util.Map)
method.- Throws:
java.lang.Exception
-
testReverseEngineering
public void testReverseEngineering() throws java.lang.Exception
Tests theMAKBPInterpreter.reverseEngineering(java.util.Map)
method.- Throws:
java.lang.Exception
-
testReasoning
public void testReasoning() throws java.lang.Exception
Tests theMAKBPInterpreter.reasoning(MAKBPInterpreter.agents.Agent, java.util.Map)
method.- Throws:
java.lang.Exception
-
testIsFinished
public void testIsFinished() throws java.lang.Exception
Tests theMAKBPInterpreter.isFinished(MAKBPInterpreter.agents.KripkeWorld)
andMAKBPInterpreter.isFinished()
methods.- Throws:
java.lang.Exception
-
-