Added namespace ArduinoJson::Internals for private types

This commit is contained in:
Benoît Blanchon
2014-07-07 14:05:41 +02:00
parent 99521cc718
commit 6c1ab912ff
11 changed files with 34 additions and 26 deletions

View File

@ -2,18 +2,18 @@
#include "StringBuilder.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace ArduinoJson::Generator;
using namespace ArduinoJson::Internals;
namespace JsonGeneratorTests
{
TEST_CLASS(StringBuilderTests)
{
TEST_CLASS(StringBuilderTests)
{
char buffer[20];
Print* sb;
size_t returnValue;
public:
public:
TEST_METHOD_INITIALIZE(Initialize)
{
sb = new StringBuilder(buffer, sizeof(buffer));
@ -77,5 +77,5 @@ namespace JsonGeneratorTests
{
Assert::AreEqual(expected, returnValue);
}
};
};
}