fipaos.test.agent
Class AgentTestFramework

|
+--fipaos.test.agent.AgentTestFramework
Direct Known Subclasses:
AMSAgentTest

public abstract class AgentTestFramework
extends TestCase

Test-framework for testing an Agent at the ACL level


Constructor Summary
AgentTestFramework(String name)
          Creates new AgentTestFramework

Method Summary
 static StringfindAndReplace(String str, String find, String replace)
          Replaces all occurences of a String with another String within a String
 static AgentProfilegetAgentProfile()
          Returns a bog-standard AgentProfile
 static PlatformProfilegetPlatformProfile()
          Returns a bog-standard PlatformProfile

Constructor Detail

AgentTestFramework

public AgentTestFramework(String name)
Creates new AgentTestFramework
Method Detail

findAndReplace

public static String findAndReplace(String str, String find, String replace)
Replaces all occurences of a String with another String within a String
Parameters:
str - String to modify
find - String to find
replace - String to replace found occurences with
Returns: The modified String

getAgentProfile

public static AgentProfile getAgentProfile()
Returns a bog-standard AgentProfile

getPlatformProfile

public static PlatformProfile getPlatformProfile()
Returns a bog-standard PlatformProfile

Association Links

to Class fipaos.agent.profile.AgentProfile

AgentProfile to be used by Agents

to Class fipaos.agent.profile.PlatformProfile

PlatformProfile to be used by Agents

to Class java.util.List

Other Agents that this Agent depends upon