Conscience Core
Functions | Variables
CommandTestsHelpers.cpp File Reference
#include "CommandTestsHelpers.h"
#include <Bridging/EnvironmentInteractionCommands/CommandParamsSpec.h>
#include <unit-test.h>

Functions

ptr< CscCommandMetadataBuilderResultparseCommandHeaderIfNotDetected (const fs::path &commandFilePath, const string &expectedCommandId)
 
ptr< CscCommandMetadataBuilderResultparseCommandHeaderIfNotDetected (const string &commandFileName, const string &expectedCommandId)
 
void ensureAllMetadataLoaded ()
 

Variables

static const fs::path COMMANDS_DIR = fs::weakly_canonical("../../Bridging/EnvironmentInteractionCommands")
 

Function Documentation

◆ ensureAllMetadataLoaded()

void ensureAllMetadataLoaded ( )

◆ parseCommandHeaderIfNotDetected() [1/2]

ptr<CscCommandMetadataBuilderResult> parseCommandHeaderIfNotDetected ( const fs::path &  commandFilePath,
const string &  expectedCommandId 
)

◆ parseCommandHeaderIfNotDetected() [2/2]

ptr<CscCommandMetadataBuilderResult> parseCommandHeaderIfNotDetected ( const string &  commandFileName,
const string &  expectedCommandId 
)

Variable Documentation

◆ COMMANDS_DIR

const fs::path COMMANDS_DIR = fs::weakly_canonical("../../Bridging/EnvironmentInteractionCommands")
static