LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.agent.TestCAgentExecution Class Reference

test for agent execution ordering More...

+ Inheritance diagram for org.lightjason.agentspeak.agent.TestCAgentExecution:
+ Collaboration diagram for org.lightjason.agentspeak.agent.TestCAgentExecution:

Classes

class  CAgent
 agent class More...
 
class  CGenerator
 agent generator More...
 
class  CLog
 log action More...
 
class  CStop
 stop action More...
 

Public Member Functions

final void executionorder () throws Exception
 execution ordering test More...
 
void initialize ()
 initializing More...
 

Static Package Functions

 [static initializer]
 

Private Attributes

IAgent<?> m_agent
 agent reference More...
 
final Multimap< Long, String > m_log = Multimaps.synchronizedMultimap( HashMultimap.create() )
 logs for plan execution More...
 
final Multimap< Long, String > m_result = HashMultimap.create()
 log results More...
 
AtomicBoolean m_running
 running flag (agent can disable execution) More...
 

Static Private Attributes

static final String ASL = "src/test/resources/agent/execution.asl"
 asl source More...
 

Additional Inherited Members

- Static Protected Attributes inherited from org.lightjason.agentspeak.IBaseTest
static final boolean PRINTENABLE = Files.exists( Paths.get( "agentprinting.conf" ) )
 enable printing of test-data More...
 

Detailed Description

Definition at line 64 of file TestCAgentExecution.java.

Member Function Documentation

◆ [static initializer]()

org.lightjason.agentspeak.agent.TestCAgentExecution.[static initializer] ( )
staticpackage

◆ executionorder()

final void org.lightjason.agentspeak.agent.TestCAgentExecution.executionorder ( ) throws Exception
Exceptions
Exceptionis thrown on agent execution error

Definition at line 133 of file TestCAgentExecution.java.

◆ initialize()

void org.lightjason.agentspeak.agent.TestCAgentExecution.initialize ( )

Definition at line 99 of file TestCAgentExecution.java.

References org.lightjason.agentspeak.agent.TestCAgentExecution.CGenerator.generatesingle().

+ Here is the call graph for this function:

Member Data Documentation

◆ ASL

final String org.lightjason.agentspeak.agent.TestCAgentExecution.ASL = "src/test/resources/agent/execution.asl"
staticprivate

Definition at line 69 of file TestCAgentExecution.java.

◆ m_agent

IAgent<?> org.lightjason.agentspeak.agent.TestCAgentExecution.m_agent
private

Definition at line 73 of file TestCAgentExecution.java.

◆ m_log

final Multimap<Long, String> org.lightjason.agentspeak.agent.TestCAgentExecution.m_log = Multimaps.synchronizedMultimap( HashMultimap.create() )
private

Definition at line 81 of file TestCAgentExecution.java.

◆ m_result

final Multimap<Long, String> org.lightjason.agentspeak.agent.TestCAgentExecution.m_result = HashMultimap.create()
private

Definition at line 85 of file TestCAgentExecution.java.

◆ m_running

AtomicBoolean org.lightjason.agentspeak.agent.TestCAgentExecution.m_running
private

Definition at line 77 of file TestCAgentExecution.java.