#include <univalue.h>
#include <cassert>
#include <cstdint>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
|
static const char * | json1 |
|
◆ BOOST_CHECK
#define BOOST_CHECK |
( |
|
expr | ) |
assert(expr) |
◆ BOOST_CHECK_EQUAL
#define BOOST_CHECK_EQUAL |
( |
|
v1, |
|
|
|
v2 |
|
) |
| assert((v1) == (v2)) |
◆ BOOST_CHECK_NO_THROW
#define BOOST_CHECK_NO_THROW |
( |
|
stmt | ) |
|
Value: { \
try { \
(stmt); \
} catch (...) { \
assert(0); \
} \
}
Definition at line 29 of file object.cpp.
◆ BOOST_CHECK_THROW
#define BOOST_CHECK_THROW |
( |
|
stmt, |
|
|
|
excMatch |
|
) |
| |
Value: { \
try { \
(stmt); \
assert(0 && "No exception caught"); \
} catch (excMatch & e) { \
} catch (...) { \
assert(0 && "Wrong exception caught"); \
} \
}
Definition at line 19 of file object.cpp.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ univalue_array()
◆ univalue_constructor()
void univalue_constructor |
( |
| ) |
|
◆ univalue_object()
◆ univalue_push_throw()
void univalue_push_throw |
( |
| ) |
|
◆ univalue_readwrite()
void univalue_readwrite |
( |
| ) |
|
◆ univalue_set()
◆ univalue_typecheck()
void univalue_typecheck |
( |
| ) |
|
◆ json1
Initial value:= "[1.10000000,{\"key1\":\"str\\u0000\",\"key2\":800,"
"\"key3\":{\"name\":\"martian http://test.com\"}}]"
Definition at line 383 of file object.cpp.