Skip to content

Commit

Permalink
armhf tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed May 6, 2019
1 parent a12e8c7 commit 69b378e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ namespace ns {
} // namespace ns

// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)

int main()
{
Expand Down
4 changes: 2 additions & 2 deletions doc/Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,8 @@ namespace ns {
} // namespace ns
// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)
int main()
{
Expand Down
4 changes: 2 additions & 2 deletions doc/Pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ namespace ns {
} // namespace ns

// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)

int main()
{
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/json_type_traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ namespace ns {
} // namespace ns

// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)

int main()
{
Expand Down
4 changes: 2 additions & 2 deletions doc/ref/ubjson/ubjson.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ namespace ns {
} // ns

// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)

int main()
{
Expand Down
4 changes: 2 additions & 2 deletions examples/src/example_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ namespace ns {
} // ns

// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)

#endif
6 changes: 3 additions & 3 deletions tests/src/json_encode_and_decode_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ struct book

} // namespace ns

JSONCONS_MEMBER_TRAITS_DECL(ns::book,author,title,price);
JSONCONS_MEMBER_TRAITS_DECL(ns::book,author,title,price)

TEST_CASE("book_conversion_test")
{
Expand Down Expand Up @@ -214,8 +214,8 @@ namespace ns {
} // namespace ns

// Declare the traits. Specify which data members need to be serialized.
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons);
JSONCONS_MEMBER_TRAITS_DECL(ns::reputon, rater, assertion, rated, rating)
JSONCONS_MEMBER_TRAITS_DECL(ns::reputation_object, application, reputons)

TEST_CASE("reputation_object")
{
Expand Down
2 changes: 1 addition & 1 deletion tests/src/jsoncons_member_traits_decl_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace jsoncons_member_traits_decl_tests {

namespace ns = jsoncons_member_traits_decl_tests;

JSONCONS_MEMBER_TRAITS_DECL(ns::book,author,title,price);
JSONCONS_MEMBER_TRAITS_DECL(ns::book,author,title,price)
JSONCONS_MEMBER_TRAITS_DECL(ns::book2,author,title,price,isbn);

TEST_CASE("JSONCONS_MEMBER_TRAITS_DECL tests")
Expand Down

0 comments on commit 69b378e

Please sign in to comment.