Conscience Core
Macros | Functions
CommandParsingTests.cpp File Reference
#include "unit-test.h"
#include "./AnotherCommandParamsFile.h"
#include "Bridging/EnvironmentInteractionCommands/Command.h"
#include "Bridging/EnvironmentInteractionCommands/CommandParamsSpec.h"
#include "CommandTestsHelpers.h"
#include "TestCommandParamsFile.h"
#include "Bridging/EnvironmentInteractionCommands/cartographyCommands.h"
#include "Bridging/EnvironmentInteractionCommands/environmentEntitiesCommands.h"

Macros

#define TEST_PARSE_COMMAND(TestId, commandChars)
 

Functions

const CscCommandDataTypeNodeMetadatafindParamMetadata (const string &name, const vector< const CscCommandDataTypeNodeMetadata * > &params)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_TestCARTOGRAPHY_MANAGEMENT, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_TestCARTOGRAPHY_MANAGEMENT_enumNumberValue, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_TestENTITY_SEQUENCE_ACTION, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParsing_TestENTITY_SEQUENCE_ACTION_enumNumberValue, Fixture)
 
 BOOST_FIXTURE_TEST_CASE (CommandParams_Tests_verifyMetadata, Fixture)
 

Macro Definition Documentation

◆ TEST_PARSE_COMMAND

#define TEST_PARSE_COMMAND (   TestId,
  commandChars 
)
Value:
BOOST_FIXTURE_TEST_CASE(TestId, Fixture) { \
string command(commandChars); \
LOGGER_INFO("try parse " + command); \
parseCommand(command); \
LOGGER_INFO("parsed " + command + " with SUCCESS") \
}

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

BOOST_FIXTURE_TEST_CASE ( CommandParams_Tests_verifyMetadata  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_TestCARTOGRAPHY_MANAGEMENT  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_TestCARTOGRAPHY_MANAGEMENT_enumNumberValue  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_TestENTITY_SEQUENCE_ACTION  ,
Fixture   
)

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

BOOST_FIXTURE_TEST_CASE ( CommandParsing_TestENTITY_SEQUENCE_ACTION_enumNumberValue  ,
Fixture   
)

◆ findParamMetadata()

const CscCommandDataTypeNodeMetadata* findParamMetadata ( const string &  name,
const vector< const CscCommandDataTypeNodeMetadata * > &  params 
)
BOOST_FIXTURE_TEST_CASE
BOOST_FIXTURE_TEST_CASE(CommandParsing_TestCARTOGRAPHY_MANAGEMENT, Fixture)
Definition: CommandParsingTests.cpp:86