org.metaabm.gen.test
Class NetworkAgentTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.metaabm.gen.test.share.AgentTestCase
              extended by org.metaabm.gen.test.NetworkAgentTestCase
All Implemented Interfaces:
junit.framework.Test

public class NetworkAgentTestCase
extends AgentTestCase

Network Agent Java Implementation. Generated by metaabm system: Apr 1, 2008 5:41:04 PM MDT in project: org.metaabm.gen.test (testing)


Field Summary
 
Fields inherited from class org.metaabm.gen.test.share.AgentTestCase
agentLoaded, targetMode
 
Constructor Summary
NetworkAgentTestCase()
          Constructs a new Network Agent.
 
Method Summary
 void disconnect()
          .
 INetworkAgent getAgent()
           
 int getVision()
          Gets the Vision property for Network Agent.
 boolean isMovingTowardGoal()
          Gets the Moving Toward Goal property for Network Agent.
 void replace()
          .
 void setMovingTowardGoal(boolean movingTowardGoal)
          Sets the Moving Toward Goal property for Network Agent.
 void setUp()
           
 void setVision(int vision)
          Sets the Vision property for Network Agent.
 void simpleNetworkMoveTowardAgent()
          .
 void testExistence()
           
 
Methods inherited from class org.metaabm.gen.test.share.AgentTestCase
setAgentLoaded
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkAgentTestCase

public NetworkAgentTestCase()
Constructs a new Network Agent.

Method Detail

setUp

public void setUp()
Overrides:
setUp in class AgentTestCase

getAgent

public INetworkAgent getAgent()

testExistence

public void testExistence()

simpleNetworkMoveTowardAgent

public void simpleNetworkMoveTowardAgent()
.


disconnect

public void disconnect()
.


replace

public void replace()
.


getVision

public int getVision()
Gets the Vision property for Network Agent.

Returns:

setVision

public void setVision(int vision)
Sets the Vision property for Network Agent.

Parameters:
_vision - the new Vision value

isMovingTowardGoal

public boolean isMovingTowardGoal()
Gets the Moving Toward Goal property for Network Agent.

Returns:

setMovingTowardGoal

public void setMovingTowardGoal(boolean movingTowardGoal)
Sets the Moving Toward Goal property for Network Agent.

Parameters:
_movingTowardGoal - the new Moving Toward Goal value