LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.beliefbase.TestCViewMap Class Reference

test of map-view More...

+ Inheritance diagram for org.lightjason.agentspeak.beliefbase.TestCViewMap:
+ Collaboration diagram for org.lightjason.agentspeak.beliefbase.TestCViewMap:

Classes

class  CAgent
 agent class More...
 
class  CEmptyPrint
 empty print action More...
 
class  CTestResult
 test action More...
 

Public Member Functions

final void containsliteral ()
 test contains literal More...
 
final void containsview ()
 test contains view More...
 
final void inagent () throws Exception
 test in-agent definition More...
 
final void initialize () throws IOException
 initialize More...
 
final void stream ()
 test stream More...
 

Static Package Functions

 [static initializer]
 

Private Attributes

final Set< IActionm_actions
 actions More...
 
Map< String, Object > m_data
 map reference More...
 
List< Pair< Boolean, String > > m_testlog
 list with successful plans 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 71 of file TestCViewMap.java.

Member Function Documentation

◆ [static initializer]()

org.lightjason.agentspeak.beliefbase.TestCViewMap.[static initializer] ( )
staticpackage

◆ containsliteral()

final void org.lightjason.agentspeak.beliefbase.TestCViewMap.containsliteral ( )

Definition at line 140 of file TestCViewMap.java.

References org.lightjason.agentspeak.beliefbase.view.IView.containsLiteral(), org.lightjason.agentspeak.common.CPath.from(), and org.lightjason.agentspeak.beliefbase.TestCViewMap.m_data.

+ Here is the call graph for this function:

◆ containsview()

final void org.lightjason.agentspeak.beliefbase.TestCViewMap.containsview ( )

Definition at line 154 of file TestCViewMap.java.

References org.lightjason.agentspeak.beliefbase.view.IView.containsView(), org.lightjason.agentspeak.common.CPath.from(), and org.lightjason.agentspeak.beliefbase.TestCViewMap.m_data.

+ Here is the call graph for this function:

◆ inagent()

final void org.lightjason.agentspeak.beliefbase.TestCViewMap.inagent ( ) throws Exception
Exceptions
Exceptionis thrown on execution error

Definition at line 169 of file TestCViewMap.java.

References org.lightjason.agentspeak.beliefbase.TestCViewMap.CAgent.CAgentGenerator.generatesingle(), org.lightjason.agentspeak.beliefbase.TestCViewMap.m_data, and org.lightjason.agentspeak.beliefbase.TestCViewMap.m_testlog.

+ Here is the call graph for this function:

◆ initialize()

final void org.lightjason.agentspeak.beliefbase.TestCViewMap.initialize ( ) throws IOException
Exceptions
IOExceptionis thrown on parsing error

Definition at line 104 of file TestCViewMap.java.

◆ stream()

final void org.lightjason.agentspeak.beliefbase.TestCViewMap.stream ( )

Definition at line 117 of file TestCViewMap.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from(), org.lightjason.agentspeak.language.CLiteral.from(), and org.lightjason.agentspeak.beliefbase.TestCViewMap.m_data.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_actions

final Set<IAction> org.lightjason.agentspeak.beliefbase.TestCViewMap.m_actions
private
Initial value:
= Stream.concat(
? Stream.of( new CTestResult() )
: Stream.of( new CTestResult(), new CEmptyPrint() ),
CCommon.actionsFromPackage()
).collect( Collectors.toSet() )

Definition at line 76 of file TestCViewMap.java.

◆ m_data

◆ m_testlog

List<Pair<Boolean, String> > org.lightjason.agentspeak.beliefbase.TestCViewMap.m_testlog
private