Switched to Google coding style to match cpplint expectations

This commit is contained in:
Benoit Blanchon
2014-10-23 23:13:13 +02:00
parent 5c8283b3e4
commit b43da1e421
47 changed files with 262 additions and 308 deletions

View File

@ -4,7 +4,7 @@
using namespace ArduinoJson::Internals;
class StringBuilderTests : public testing::Test {
protected:
protected:
virtual void SetUp() { sb = new StringBuilder(buffer, sizeof(buffer)); }
void print(const char *value) { returnValue = sb->print(value); }
@ -13,7 +13,7 @@ protected:
void resultMustBe(size_t expected) { EXPECT_EQ(expected, returnValue); }
private:
private:
char buffer[20];
Print *sb;
size_t returnValue;