mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 12:02:14 +02:00
Added StaticJsonDocument and DynamicJsonDocument.
Removed StaticJsonArray and DynamicJsonArray. Removed StaticJsonObject and DynamicJsonObject. Removed StaticJsonVariant and DynamicJsonVariant.
This commit is contained in:
@ -24,8 +24,6 @@ TEST_CASE("MsgPackError") {
|
||||
TEST_STRINGIFICATION(Ok);
|
||||
TEST_STRINGIFICATION(NotSupported);
|
||||
TEST_STRINGIFICATION(NoMemory);
|
||||
TEST_STRINGIFICATION(NotAnArray);
|
||||
TEST_STRINGIFICATION(NotAnObject);
|
||||
TEST_STRINGIFICATION(TooDeep);
|
||||
}
|
||||
|
||||
@ -33,8 +31,12 @@ TEST_CASE("MsgPackError") {
|
||||
TEST_BOOLIFICATION(Ok, false);
|
||||
TEST_BOOLIFICATION(NotSupported, true);
|
||||
TEST_BOOLIFICATION(NoMemory, true);
|
||||
TEST_BOOLIFICATION(NotAnArray, true);
|
||||
TEST_BOOLIFICATION(NotAnObject, true);
|
||||
TEST_BOOLIFICATION(TooDeep, true);
|
||||
}
|
||||
|
||||
SECTION("ostream") {
|
||||
std::stringstream s;
|
||||
s << MsgPackError::NotSupported;
|
||||
REQUIRE(s.str() == "NotSupported");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user