|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--fipaos.test.agent.AgentTestFramework | +--fipaos.test.platform.AMSAgentTest
Test-harness for the AMS
Field Summary | |
java.lang.String |
DEREGISTRATION_MSG
|
java.lang.String |
MODIFICATION_MSG
|
java.lang.String |
REGISTRATION_MSG
Standard test messages |
Constructor Summary | |
AMSAgentTest(java.lang.String name)
Creates new AMSAgentTest |
Method Summary | |
protected java.lang.String |
getAPName()
Get the name of the AP |
protected java.lang.String |
getTestAgentName()
Get the name of the test-agent |
protected void |
runTest()
Overrides method in parent to enable running of our tests |
protected void |
setUp()
Override - start-up method to start our test Agent |
Methods inherited from class fipaos.test.agent.AgentTestFramework |
findAndReplace, getAgentProfile, getAID, getIncomingMessage, getPlatformProfile, sendMessage, startAgent, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final java.lang.String REGISTRATION_MSG
public final java.lang.String DEREGISTRATION_MSG
public final java.lang.String MODIFICATION_MSG
Constructor Detail |
public AMSAgentTest(java.lang.String name)
Method Detail |
protected void setUp()
setUp
in class AgentTestFramework
protected void runTest() throws java.lang.Throwable
runTest
in class junit.framework.TestCase
protected java.lang.String getAPName()
AgentTestFramework
getAPName
in class AgentTestFramework
protected java.lang.String getTestAgentName()
AgentTestFramework
getTestAgentName
in class AgentTestFramework
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |