Conscience Core
Macros | Functions
CommandTests.cpp File Reference
#include "unit-test.h"
#include <string>
#include "ArtificialIntelligence/CscEntityReflexion.h"
#include "ArtificialIntelligence/CscEntityReflexions.h"
#include <Util/async.h>
#include "Bridging/EnvironmentInteractionCommands/Command.h"
#include "Bridging/EnvironmentInteractionCommands/CommandExportSequenceCsv.h"
#include "Bridging/EnvironmentInteractionCommands/CommandMemberToObjectFromMember.h"
#include "Bridging/EnvironmentInteractionCommands/CommandMemberToState.h"
#include "Bridging/EnvironmentInteractionCommands/CommandMemberToStateFromMember.h"
#include "Bridging/EnvironmentInteractionCommands/CommandMemberToStateTeleport.h"
#include "Bridging/EnvironmentInteractionCommands/CommandPlayStateOutputs.h"
#include "Bridging/EnvironmentInteractionCommands/CommandUpdateConfigurationPivot.h"
#include "Bridging/EnvironmentInteractionCommands/CommandUpdateWheelsPower.h"
#include "Bridging/EnvironmentInteractionCommands/CommandGenerateCircularGeolocatedPath.h"
#include "Bridging/EnvironmentInteractionCommands/Parser/CommandParser.h"
#include "Bridging/EnvironmentInteractionCommands/Parser/InvalidCommandException.h"
#include "Bridging/EnvironmentInteractionCommands/Result/CommandExecutionResult.h"
#include "Bridging/EnvironmentInteractionCommands/CscCommandsProcessor.h"
#include "CoreObjects/CscEntityModel.h"
#include "CoreObjects/Entities/CscEntityModelsRepository.h"
#include "CoreObjects/CscWorldEntity.h"
#include "Simulator/CscEnvironmentSimulator.h"
#include "Bridging/EnvironmentInteractionCommands/environmentEntitiesCommands.h"
#include "Bridging/EnvironmentInteractionCommands/environmentObjectsCommands.h"
#include "Bridging/EnvironmentInteractionCommands/MetadataBuilder/CscCommandMetadataBuilder.h"
#include "CommandTestsHelpers.h"
#include "Simulator/CscPhysicsSimulator.h"
#include "CoreObjects/WebServices/communication/CscIntelligencesDbService.h"

Macros

#define TEST_ENTITY_SERIAL_NUMBER   "ENT-33-001"
 

Functions

 BOOST_FIXTURE_TEST_CASE (CommandExecution_TestAllKnowledgeItemsCommands, Fixture, *boost::unit_test::disabled() *boost::unit_test::label("IntegrationTests"))
 
 BOOST_FIXTURE_TEST_CASE (CommandExecution_TestParseHeaderWithStruct, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandExecution_GenerateCircularGeolocatedPathCommandParams, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_InvalidCommand_TooFewArgs, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_InvalidCommand_UnknownCommandType, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_ExportSequenceCsv, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_MemberToStateFromMember, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_MemberToObjectFromMember, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_MemberToState, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_MemberToStateTeleport, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_EntityToPosition, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_UpdateWheelsPower, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_PlayStateOutputs, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_UpdateConfigurationPivot, Fixture)
 

Macro Definition Documentation

◆ TEST_ENTITY_SERIAL_NUMBER

#define TEST_ENTITY_SERIAL_NUMBER   "ENT-33-001"

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/14]

BOOST_FIXTURE_TEST_CASE ( CommandExecution_GenerateCircularGeolocatedPathCommandParams  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [2/14]

BOOST_FIXTURE_TEST_CASE ( CommandExecution_TestAllKnowledgeItemsCommands  ,
Fixture  ,
boost::unit_test::disabled) *boost::unit_test::label("IntegrationTests" 
)

◆ BOOST_FIXTURE_TEST_CASE() [3/14]

BOOST_FIXTURE_TEST_CASE ( CommandExecution_TestParseHeaderWithStruct  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [4/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_EntityToPosition  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [5/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_ExportSequenceCsv  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [6/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_InvalidCommand_TooFewArgs  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [7/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_InvalidCommand_UnknownCommandType  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [8/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_MemberToObjectFromMember  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [9/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_MemberToState  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [10/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_MemberToStateFromMember  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [11/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_MemberToStateTeleport  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [12/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_PlayStateOutputs  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [13/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_UpdateConfigurationPivot  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [14/14]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_UpdateWheelsPower  ,
Fixture   
)