\Tests\Integration\CoreModule\ModelsJsonSchemaManagerTest

Tests for JSON file manager

Summary

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

Constants

FILE_PATH

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

Directory with configuration files

SCHEMA_NAME

SCHEMA_NAME = schema__iqrf__MqttMessaging

JSON schema file name

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