Defines | Functions | Variables
unit.cpp File Reference
#include "catch.hpp"
#include <array>
#include <deque>
#include <forward_list>
#include <list>
#include <map>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "json.hpp"
Include dependency graph for unit.cpp:

Go to the source code of this file.

Defines

#define CATCH_CONFIG_MAIN
#define private   public

Functions

 CHECK (json::parse("42")==json(42))
 CHECK (json::parse("true")==json(true))
 CHECK (j[""_json_pointer]==j)
 CHECK (j["/foo"_json_pointer]==j["foo"])
 CHECK (j["/foo/0"_json_pointer]==j["foo"][0])
 CHECK (j["/foo/1"_json_pointer]==j["foo"][1])
 SECTION ("user-defined string literal")
 SECTION ("array access")
 SECTION ("flatten")
 SECTION ("string representation")
 TEST_CASE ("constructors")
 TEST_CASE ("other constructors and destructor")
 TEST_CASE ("object inspection")
 TEST_CASE ("value conversion")
 TEST_CASE ("pointer access")
 TEST_CASE ("reference access")
 TEST_CASE ("element access")
 TEST_CASE ("iterators")
 TEST_CASE ("capacity")
 TEST_CASE ("modifiers")
 TEST_CASE ("lexicographical comparison operators")
 TEST_CASE ("serialization")
 TEST_CASE ("deserialization")
 TEST_CASE ("iterator class")
 TEST_CASE ("const_iterator class")
 TEST_CASE ("convenience functions")
 TEST_CASE ("lexer class")
 TEST_CASE ("parser class")
 TEST_CASE ("README","[hide]")
 TEST_CASE ("algorithms")
 TEST_CASE ("concepts")
 TEST_CASE ("iterator_wrapper")
 TEST_CASE ("compliance tests from json.org")
 TEST_CASE ("compliance tests from nativejson-benchmark")
 TEST_CASE ("test suite from json-test-suite")
 TEST_CASE ("json.org examples")
 TEST_CASE ("RFC 7159 examples")
 TEST_CASE ("Unicode","[hide]")
 TEST_CASE ("JSON pointers")
 TEST_CASE ("JSON patch")
 TEST_CASE ("regression tests")

Variables

 _json

Define Documentation

Definition at line 29 of file unit.cpp.

#define private   public

Definition at line 43 of file unit.cpp.


Function Documentation

CHECK ( json::  parse"42" = =json(42))
CHECK ( json::  parse"true" = =json(true))
CHECK ( j  [""_json_pointer] = =j)
CHECK ( j  ["/foo"_json_pointer] = =j["foo"])
CHECK ( j  ["/foo/0"_json_pointer] = =j["foo"][0])
CHECK ( j  ["/foo/1"_json_pointer] = =j["foo"][1])
SECTION ( "user-defined string literal"  )

Definition at line 12351 of file unit.cpp.

SECTION ( "array access"  )

Definition at line 12378 of file unit.cpp.

SECTION ( "flatten"  )

Definition at line 12456 of file unit.cpp.

SECTION ( "string representation"  )

Definition at line 12539 of file unit.cpp.

TEST_CASE ( "constructors"  )

Definition at line 52 of file unit.cpp.

TEST_CASE ( "other constructors and destructor"  )

Definition at line 1323 of file unit.cpp.

TEST_CASE ( "object inspection"  )

Definition at line 1482 of file unit.cpp.

TEST_CASE ( "value conversion"  )

Definition at line 1801 of file unit.cpp.

TEST_CASE ( "pointer access"  )

Definition at line 2776 of file unit.cpp.

TEST_CASE ( "reference access"  )

Definition at line 3007 of file unit.cpp.

TEST_CASE ( "element access"  )

Definition at line 3177 of file unit.cpp.

TEST_CASE ( "iterators"  )

Definition at line 4885 of file unit.cpp.

TEST_CASE ( "capacity"  )

Definition at line 7204 of file unit.cpp.

TEST_CASE ( "modifiers"  )

Definition at line 7734 of file unit.cpp.

TEST_CASE ( "lexicographical comparison operators"  )

Definition at line 8415 of file unit.cpp.

TEST_CASE ( "serialization"  )

Definition at line 8629 of file unit.cpp.

TEST_CASE ( "deserialization"  )

Definition at line 8673 of file unit.cpp.

TEST_CASE ( "iterator class"  )

Definition at line 8714 of file unit.cpp.

TEST_CASE ( "const_iterator class"  )

Definition at line 9082 of file unit.cpp.

TEST_CASE ( "convenience functions"  )

Definition at line 9450 of file unit.cpp.

TEST_CASE ( "lexer class"  )

Definition at line 9508 of file unit.cpp.

TEST_CASE ( "parser class"  )

Definition at line 9630 of file unit.cpp.

TEST_CASE ( "README"  ,
""  [hide] 
)

Definition at line 10309 of file unit.cpp.

TEST_CASE ( "algorithms"  )

Definition at line 10561 of file unit.cpp.

TEST_CASE ( "concepts"  )

Definition at line 10847 of file unit.cpp.

TEST_CASE ( "iterator_wrapper"  )

Definition at line 10984 of file unit.cpp.

TEST_CASE ( "compliance tests from json.org"  )

Definition at line 11681 of file unit.cpp.

TEST_CASE ( "compliance tests from nativejson-benchmark"  )

Definition at line 11748 of file unit.cpp.

TEST_CASE ( "test suite from json-test-suite"  )

Definition at line 11959 of file unit.cpp.

TEST_CASE ( "json.org examples"  )

Definition at line 11974 of file unit.cpp.

TEST_CASE ( "RFC 7159 examples"  )

Definition at line 12014 of file unit.cpp.

TEST_CASE ( "Unicode"  ,
""  [hide] 
)

Definition at line 12083 of file unit.cpp.

TEST_CASE ( "JSON pointers"  )

Definition at line 12195 of file unit.cpp.

TEST_CASE ( "JSON patch )

Definition at line 12550 of file unit.cpp.

TEST_CASE ( "regression tests )

Definition at line 13735 of file unit.cpp.


Variable Documentation

Definition at line 12366 of file unit.cpp.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09