|
|
@@ -72,7 +72,6 @@ TEST_CASE("BasicJsonDocument") {
|
|
|
REQUIRE(log.str() == "A4096A4096FF");
|
|
|
}
|
|
|
|
|
|
-#if ARDUINOJSON_HAS_RVALUE_REFERENCES
|
|
|
SECTION("Move construct") {
|
|
|
{
|
|
|
BasicJsonDocument<SpyingAllocator> doc1(4096, log);
|
|
|
@@ -87,7 +86,6 @@ TEST_CASE("BasicJsonDocument") {
|
|
|
}
|
|
|
REQUIRE(log.str() == "A4096F");
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
SECTION("Copy assign larger") {
|
|
|
{
|
|
|
@@ -134,7 +132,6 @@ TEST_CASE("BasicJsonDocument") {
|
|
|
REQUIRE(log.str() == "A1024A1024FF");
|
|
|
}
|
|
|
|
|
|
-#if ARDUINOJSON_HAS_RVALUE_REFERENCES
|
|
|
SECTION("Move assign") {
|
|
|
{
|
|
|
BasicJsonDocument<SpyingAllocator> doc1(4096, log);
|
|
|
@@ -150,7 +147,6 @@ TEST_CASE("BasicJsonDocument") {
|
|
|
}
|
|
|
REQUIRE(log.str() == "A4096A8FF");
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
SECTION("garbageCollect()") {
|
|
|
BasicJsonDocument<ControllableAllocator> doc(4096);
|