\Tests\Integration\ConfigModule\ModelsComponentSchemaManagerTest

Tests for component JSON file manager

Summary

Methods
Properties
Constants
testSetSchemaFail()
testSetSchemaSuccess()
testValidateInvalid()
testValidateValid()
No public properties found
COMPONENT_NAME
FILE_PATH
SCHEMA_PATH
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

COMPONENT_NAME

COMPONENT_NAME = iqrf::MqttMessaging

MQTT component name

FILE_PATH

FILE_PATH = __DIR__ . /../../../data/configuration/

Directory with configuration files

SCHEMA_PATH

SCHEMA_PATH = __DIR__ . /../../../data/cfgSchemas/

JSON schema directory path

Methods

testSetSchemaFail()

testSetSchemaFail() : 

Tests the function to set file name of JSON schema from component name (fail)

Returns

testSetSchemaSuccess()

testSetSchemaSuccess() : 

Tests the function to set file name of JSON schema from component name (success)

Returns

testValidateInvalid()

testValidateInvalid() : 

Tests the function to validate a JSON (invalid JSON)

Returns

testValidateValid()

testValidateValid() : 

Tests the function to validate a JSON (valid JSON)

Returns