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.TestCase
Test class for theAgent
class.
-
-
Constructor Summary
Constructors Constructor Description TestAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testConstructor()
Tests theAgent(String, MAKBPInterpreter.agents.AgentProgram)
constructor.void
testEquals()
Tests theAgent.equals(Object)
method.void
testGetAssociatedAction()
void
testGetConditions()
Tests theAgent.getProgram()
method.void
testGetName()
Tests theAgent.getName()
method.void
testPerformsAssociatedAction()
void
testPerformsAssociatedActionNullAction()
Tests theAgent.performsAssociatedAction(MAKBPInterpreter.agents.KripkeStructure, MAKBPInterpreter.agents.KripkeWorld, Object...)
method with a null action object.void
testReverseEngineeringMethods()
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.
-
-