Package MAKBPInterpreter.agents.tests
Class TestAgent
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- MAKBPInterpreter.agents.tests.TestAgent
-
- All Implemented Interfaces:
junit.framework.Test
public class TestAgent extends junit.framework.TestCaseTest class for theAgentclass.
-
-
Constructor Summary
Constructors Constructor Description TestAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestConstructor()Tests theAgent(String, MAKBPInterpreter.agents.AgentProgram)constructor.voidtestEquals()Tests theAgent.equals(Object)method.voidtestGetAssociatedAction()voidtestGetConditions()Tests theAgent.getProgram()method.voidtestGetName()Tests theAgent.getName()method.voidtestPerformsAssociatedAction()voidtestPerformsAssociatedActionNullAction()Tests theAgent.performsAssociatedAction(MAKBPInterpreter.agents.KripkeStructure, MAKBPInterpreter.agents.KripkeWorld, Object...)method with a null action object.voidtestReverseEngineeringMethods()Tests theAgent.reverseEngineering(Action)andAgent.reverseEngineering()methods.-
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()
Tests theAgent(String, MAKBPInterpreter.agents.AgentProgram)constructor.
-
testGetName
public void testGetName()
Tests theAgent.getName()method.
-
testGetConditions
public void testGetConditions()
Tests theAgent.getProgram()method.
-
testEquals
public void testEquals()
Tests theAgent.equals(Object)method.
-
testGetAssociatedAction
public void testGetAssociatedAction()
-
testPerformsAssociatedAction
public void testPerformsAssociatedAction()
-
testPerformsAssociatedActionNullAction
public void testPerformsAssociatedActionNullAction()
Tests theAgent.performsAssociatedAction(MAKBPInterpreter.agents.KripkeStructure, MAKBPInterpreter.agents.KripkeWorld, Object...)method with a null action object.
-
testReverseEngineeringMethods
public void testReverseEngineeringMethods()
Tests theAgent.reverseEngineering(Action)andAgent.reverseEngineering()methods.
-
-