24 package org.lightjason.agentspeak.action.builtin;
26 import org.junit.Assert;
27 import org.junit.Test;
35 import java.util.stream.Stream;
50 Assert.assertArrayEquals(
56 ).map( i -> i.name().path() ).toArray(),
58 Stream.of(
"methodwhitelist" ).toArray()
69 Assert.assertArrayEquals(
71 Stream.of(
"methodannotate" ).toArray()
82 Assert.assertArrayEquals(
84 Stream.of(
"methodannotate" ).toArray()
95 Assert.assertArrayEquals(
97 Stream.of(
"methodnotannotate" ).toArray()
122 super( p_configuration );
150 super( p_configuration );
178 super( p_configuration );
207 super( p_configuration );
242 super( p_configuration );
278 super( p_configuration );
void methodannotate()
test binding method with annotation
CMethodBindingDefault(final IAgentConfiguration< CMethodBindingDefault > p_configuration)
ctor
final void classbinding()
test class binding
class annotation to set default behaviour of method-action-binding to a blacklist ...
base test class with helpers
final void methodwhitelist()
test method whitelist binding
test class with default binding
void methodannotate()
test binding method with annotation
CClassBindingWhitelist(final IAgentConfiguration< CClassBindingWhitelist > p_configuration)
ctor
test class with default binding
static Stream< IAction > actionsFromAgentClass( @Nonnull final Class<?>... p_class)
returns actions by a class
void methodnotannotate()
test binding method without annotation
static final long serialVersionUID
serial id
final void methoddefault()
test method default binding
void methodannotate()
test binding method with annotation
final void methodblacklist()
test method blacklist binding
void methoddefault()
test binding method
test class with whitelist binding
interface to define the agent configuration
CMethodBindingWhitelist(final IAgentConfiguration< CMethodBindingWhitelist > p_configuration)
ctor
CClassBindingBlacklist(final IAgentConfiguration< CClassBindingBlacklist > p_configuration)
ctor
test class with whitelist binding
test class with blacklist binding
void methodnotannotate()
test binding method without annotation
class for any helper calls
void methodblacklist()
test binding method
CMethodBindingBlacklist(final IAgentConfiguration< CMethodBindingBlacklist > p_configuration)
ctor
CClassBindingDefault(final IAgentConfiguration< CClassBindingDefault > p_configuration)
ctor
void methodwhitelist()
test binding method
void methodnotannotate()
test binding method without annotation
test class with blacklist binding
method annotation to allow the binding of a method for an action