fipaos.test.agent
Class AgentTestFramework
|
+--fipaos.test.agent.AgentTestFramework
- Direct Known Subclasses:
- AMSAgentTest, DFSubscriptionTest
- public abstract class AgentTestFramework
- extends TestCase
Test-framework for testing an Agent at the ACL level
AgentTestFramework
public AgentTestFramework(String name)
- Creates new AgentTestFramework
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 PlatformProfile getPlatformProfile()
- Returns a bog-standard PlatformProfile
getPlatformProfile
public static PlatformProfile getPlatformProfile(String hap)
- Returns a PlatformProfile for the given platform
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