LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.TestCActionBool Class Reference

test for boolean actions More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.TestCActionBool:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.TestCActionBool:

Public Member Functions

final void equal ()
 test equal More...
 
final void execute (final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >> p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
 generic test-case More...
 
final void notequal ()
 test not-equal More...
 

Static Public Member Functions

static Object [] generate ()
 data provider generator More...
 

Static Private Member Functions

static Stream< Object > testcase (final Stream< Object > p_input, final Stream< Class<?>> p_classes, final Stream< Object >... p_classresult)
 method to generate test-cases 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 66 of file TestCActionBool.java.

Member Function Documentation

◆ equal()

final void org.lightjason.agentspeak.action.builtin.TestCActionBool.equal ( )

Definition at line 195 of file TestCActionBool.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.bool.CEqual.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ execute()

final void org.lightjason.agentspeak.action.builtin.TestCActionBool.execute ( final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >>  p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
Parameters
p_inputtest-case data
Exceptions
IllegalAccessExceptionis thrwon on instantiation error
InstantiationExceptionis thrwon on instantiation error
NoSuchMethodExceptionis thrwon on instantiation error
InvocationTargetExceptionis thrwon on instantiation error

Definition at line 174 of file TestCActionBool.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, and org.lightjason.agentspeak.language.ITerm.raw().

+ Here is the call graph for this function:

◆ generate()

static Object [] org.lightjason.agentspeak.action.builtin.TestCActionBool.generate ( )
static
Returns
data

Definition at line 74 of file TestCActionBool.java.

◆ notequal()

final void org.lightjason.agentspeak.action.builtin.TestCActionBool.notequal ( )

Definition at line 242 of file TestCActionBool.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.bool.CEqual.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ testcase()

static Stream<Object> org.lightjason.agentspeak.action.builtin.TestCActionBool.testcase ( final Stream< Object >  p_input,
final Stream< Class<?>>  p_classes,
final Stream< Object >...  p_classresult 
)
staticprivate
Parameters
p_inputinput data
p_classesmatching test-classes / test-cases
p_classresultresult for each class
Returns
test-object

Definition at line 152 of file TestCActionBool.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function: