Ajout du validateur json + correctif factory metadata
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
add_test_simple_schema(Issue::27
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/schema.json
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/instance.json)
|
||||
set_tests_properties(Issue::27
|
||||
PROPERTIES
|
||||
WILL_FAIL 1)
|
||||
1
lib/All/json-schema-validator/test/issue-27/README
Normal file
1
lib/All/json-schema-validator/test/issue-27/README
Normal file
@@ -0,0 +1 @@
|
||||
Numbers higher that UINT32_MAX
|
||||
@@ -0,0 +1 @@
|
||||
{"gps_time": 4294967296}
|
||||
13
lib/All/json-schema-validator/test/issue-27/schema.json
Normal file
13
lib/All/json-schema-validator/test/issue-27/schema.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"properties": {
|
||||
"gps_time": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 4294967295
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"gps_time"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user