mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Fixed namespaces
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
|
||||
using namespace ArduinoJson::Generator;
|
||||
using namespace ArduinoJson;
|
||||
|
||||
struct Person
|
||||
{
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonArray_Container_Tests : public ::testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonArray_PrettyPrintTo_Tests : public testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <ArduinoJson/JsonObject.h>
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonArray_PrintTo_Tests : public testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonObject_Container_Tests : public ::testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonObject_PrettyPrintTo_Tests : public testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonObject_Serialization_Tests : public testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonParser_Array_Tests : public testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
class JsonValueTests : public ::testing::Test
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include <ArduinoJson/StaticJsonBuffer.h>
|
||||
#include <ArduinoJson/JsonValue.h>
|
||||
|
||||
using namespace ArduinoJson;
|
||||
|
||||
TEST(StaticJsonBuffer, CapacityMatchTemplateParameter)
|
||||
{
|
||||
StaticJsonBuffer<42> json;
|
||||
|
||||
Reference in New Issue
Block a user