Renamed IndentedPrintDecorator to PrettyPrintDecorator

This commit is contained in:
Benoit Blanchon
2014-08-25 11:42:07 +02:00
parent f7aa0f89e3
commit 2ddf8f1619
11 changed files with 27 additions and 27 deletions

View File

@ -85,9 +85,9 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="EscapedStringTests.cpp" />
<ClCompile Include="Intented_Array_Tests.cpp" />
<ClCompile Include="Intented_Object_Tests.cpp" />
<ClCompile Include="Intented_String_Tests.cpp" />
<ClCompile Include="PrettyPrint_Array_Tests.cpp" />
<ClCompile Include="PrettyPrint_Object_Tests.cpp" />
<ClCompile Include="PrettyPrint_String_Tests.cpp" />
<ClCompile Include="Issue10.cpp" />
<ClCompile Include="JsonArrayTests.cpp" />
<ClCompile Include="JsonObject_Indexer_Tests.cpp" />

View File

@ -39,13 +39,13 @@
<ClCompile Include="Issue10.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Intented_Array_Tests.cpp">
<ClCompile Include="PrettyPrint_Array_Tests.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Intented_Object_Tests.cpp">
<ClCompile Include="PrettyPrint_Object_Tests.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Intented_String_Tests.cpp">
<ClCompile Include="PrettyPrint_String_Tests.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>

View File

@ -4,7 +4,7 @@
*/
#include "CppUnitTest.h"
#include "IndentedPrintDecorator.h"
#include "PrettyPrintDecorator.h"
#include "StringBuilder.h"
using namespace ArduinoJson::Internals;
@ -12,7 +12,7 @@ using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace JsonGeneratorTests
{
TEST_CLASS(Indented_Array_Tests)
TEST_CLASS(PrettyPrint_Array_Tests)
{
char buffer[1024];
size_t returnValue;
@ -75,7 +75,7 @@ namespace JsonGeneratorTests
void whenInputIs(const char input[])
{
StringBuilder sb(buffer, sizeof(buffer));
IndentedPrintDecorator decorator(sb);
PrettyPrintDecorator decorator(sb);
returnValue = decorator.print(input);
}

View File

@ -4,7 +4,7 @@
*/
#include "CppUnitTest.h"
#include "IndentedPrintDecorator.h"
#include "PrettyPrintDecorator.h"
#include "StringBuilder.h"
using namespace ArduinoJson::Internals;
@ -12,7 +12,7 @@ using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace JsonGeneratorTests
{
TEST_CLASS(Indented_Object_Tests)
TEST_CLASS(PrettyPrint_Object_Tests)
{
char buffer[1024];
size_t returnValue;
@ -73,7 +73,7 @@ namespace JsonGeneratorTests
void whenInputIs(const char input[])
{
StringBuilder sb(buffer, sizeof(buffer));
IndentedPrintDecorator decorator(sb);
PrettyPrintDecorator decorator(sb);
returnValue = decorator.print(input);
}

View File

@ -4,7 +4,7 @@
*/
#include "CppUnitTest.h"
#include "IndentedPrintDecorator.h"
#include "PrettyPrintDecorator.h"
#include "StringBuilder.h"
using namespace ArduinoJson::Internals;
@ -12,7 +12,7 @@ using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace JsonGeneratorTests
{
TEST_CLASS(Intented_String_Tests)
TEST_CLASS(PrettyPrint_String_Tests)
{
char buffer[1024];
size_t returnValue;
@ -36,7 +36,7 @@ namespace JsonGeneratorTests
void whenInputIs(const char input[])
{
StringBuilder sb(buffer, sizeof(buffer));
IndentedPrintDecorator decorator(sb);
PrettyPrintDecorator decorator(sb);
returnValue = decorator.print(input);
}