jadex.micro.testcases
Class SimpleTestAgent

java.lang.Object
  extended by jadex.micro.MicroAgent
      extended by jadex.micro.testcases.SimpleTestAgent
All Implemented Interfaces:
IMicroAgent

public class SimpleTestAgent
extends MicroAgent

A minimal test case agent serving as a demonstrator.


Nested Class Summary
 
Nested classes/interfaces inherited from class jadex.micro.MicroAgent
MicroAgent.TimerWrapper
 
Field Summary
 
Fields inherited from class jadex.micro.MicroAgent
interpreter, longtime, timers
 
Constructor Summary
SimpleTestAgent()
           
 
Method Summary
 void executeBody()
          Just finish the test by setting the result and killing the agent.
static java.lang.Object getMetaInfo()
          Add the 'testresults' marking this agent as a testcase.
 
Methods inherited from class jadex.micro.MicroAgent
addService, agentCreated, agentKilled, createComponentIdentifier, createComponentIdentifier, createComponentIdentifier, createReply, createResultListener, createServiceContainer, getAgentAdapter, getAgentName, getArgument, getArguments, getComponentIdentifier, getConfiguration, getExternalAccess, getLogger, getParent, getServiceProvider, getTime, init, isAtBreakpoint, killAgent, messageArrived, removeService, scheduleStep, sendMessage, setResultValue, waitFor, waitForTick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTestAgent

public SimpleTestAgent()
Method Detail

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 java.lang.Object getMetaInfo()
Add the 'testresults' marking this agent as a testcase.



Copyright © 2010. All Rights Reserved.