Fawkes API  Fawkes Development Version
DomainTest Class Reference

Test setup for domain tests. More...

Inheritance diagram for DomainTest:

Protected Member Functions

virtual void SetUp ()
 Set up the test environment. More...
 
- Protected Member Functions inherited from CLIPSTest
virtual void LoadCLIPSFiles (std::vector< std::string > files)
 Load the vector of CLIPS files into the environment. More...
 
bool has_fact (const std::string &fact_set_template, const std::string &query="TRUE")
 Check if a non-ordered fact exists. More...
 
bool has_ordered_fact (const std::string &fact_name, const std::vector< CLIPS::Value > slot_values={})
 Check if an ordered fact exists. More...
 

Protected Attributes

vector< string > clips_files = {"../../../clips/clips/utils.clp", "../plan.clp", "../domain.clp"}
 These files are loaded during setup by default. More...
 
- Protected Attributes inherited from CLIPSTest
CLIPS::Environment env
 The default CLIPS environment used to run tests. More...
 

Detailed Description

Test setup for domain tests.

Definition at line 30 of file test_domain.cpp.

Member Function Documentation

◆ SetUp()

virtual void DomainTest::SetUp ( )
inlineprotectedvirtual

Set up the test environment.

Reimplemented in ConditionalSayDomainTest, and BlocksworldDomainTest.

Definition at line 35 of file test_domain.cpp.

Referenced by BlocksworldDomainTest::SetUp(), and ConditionalSayDomainTest::SetUp().

Member Data Documentation

◆ clips_files

vector<string> DomainTest::clips_files = {"../../../clips/clips/utils.clp", "../plan.clp", "../domain.clp"}
protected

These files are loaded during setup by default.

Definition at line 45 of file test_domain.cpp.


The documentation for this class was generated from the following file: