24 package org.lightjason.agentspeak.beliefbase;
26 import org.apache.commons.io.IOUtils;
27 import org.junit.Assert;
28 import org.junit.Test;
38 import java.util.Collections;
39 import java.util.stream.Stream;
61 Assert.assertArrayEquals(
103 super( p_configuration );
121 super( IOUtils.toInputStream( p_asl,
"UTF-8" ), Collections.emptySet() );
final transient String m_stringvaluenotlisten
test string property
base test class with helpers
CAgent(final IAgentConfiguration< IAgent<?>> p_configuration)
ctor
String m_stringvalue
test string property
Stream< ILiteral > stream( @Nullable final IPath... p_path)
returns stream of literal
final int m_integervalue
test int property
static final long serialVersionUID
serial id
static final ITerm EMPTY
empty raw term
IAgent<?> generatesingle(final Object... p_data)
static final boolean PRINTENABLE
enable printing of test-data
CAgentGenerator(final String p_asl)
ctor
default generic literal class for agent beliefs a literal consists of a functor, an optional list of ...
interface to define the agent configuration
static< N > CRawTerm< N > from(final N p_value)
factory for a raw term
static ILiteral from( @Nonnull final String p_functor, @Nullable final ITerm... p_values)
factory
test agent with beliebase properties
IView add( @Nonnull final ILiteral... p_literal)
adds a literal in the current structure
IView beliefbase()
returns the beliefbase
belief storage to get access to all class attributes
final IView m_beliefbase
beliefbase
term structure for simple datatypes
beliefbase to generate any event-based data by reference counting
final void belieflist()
test beliefs exists
final IAgentConfiguration< T > m_configuration
configuration of an agent