jadex.micro.testcases
Class SimpleTestAgent
java.lang.Object
jadex.micro.MicroAgent
jadex.micro.testcases.SimpleTestAgent
- All Implemented Interfaces:
- IInternalAccess, IMicroAgent
public class SimpleTestAgent
- extends MicroAgent
A minimal test case agent serving as a demonstrator.
|
Method Summary |
void |
executeBody()
Just finish the test by setting the result and killing the agent. |
static Object |
getMetaInfo()
Add the 'testresults' marking this agent as a testcase. |
| Methods inherited from class jadex.micro.MicroAgent |
addComponentListener, addDirectService, addService, agentCreated, agentKilled, createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createReply, createResultListener, createServiceContainer, getAgentAdapter, getAgentName, getArgument, getArguments, getChildren, getComponentIdentifier, getConfiguration, getExternalAccess, getLogger, getModel, getParent, getServiceProvider, getTime, init, isAtBreakpoint, killAgent, killComponent, messageArrived, removeComponentListener, removeService, scheduleStep, sendMessage, setResultValue, waitFor, waitForTick |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTestAgent
public SimpleTestAgent()
executeBody
public void executeBody()
- Just finish the test by setting the result and killing the agent.
- Specified by:
executeBody in interface IMicroAgent- Overrides:
executeBody in class MicroAgent
getMetaInfo
public static Object getMetaInfo()
- Add the 'testresults' marking this agent as a testcase.
Copyright © 2010. All Rights Reserved.