join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
value_test.cpp File Reference
#include <join/value.hpp>
#include <join/error.hpp>
#include <gtest/gtest.h>
#include <limits>
Include dependency graph for value_test.cpp:

Functions

 TEST (Value, create)
 Test create method.
 
 TEST (Value, copy)
 Test copy method.
 
 TEST (Value, move)
 Test move method.
 
 TEST (Value, is)
 Test is method.
 
 TEST (Value, isNull)
 Test isNull method.
 
 TEST (Value, isBool)
 Test isBool method.
 
 TEST (Value, isTrue)
 Test isTrue method.
 
 TEST (Value, isFalse)
 Test isFalse method.
 
 TEST (Value, isNumber)
 Test isNumber method.
 
 TEST (Value, isInt8)
 Test isInt8 method.
 
 TEST (Value, isUint8)
 Test isUint8 method.
 
 TEST (Value, isInt16)
 Test isInt16 method.
 
 TEST (Value, isUint16)
 Test isUint16 method.
 
 TEST (Value, isInt)
 Test isInt method.
 
 TEST (Value, isUint)
 Test isUint method.
 
 TEST (Value, isInt64)
 Test isInt64 method.
 
 TEST (Value, isUint64)
 Test isUint64 method.
 
 TEST (Value, isFloat)
 Test isFloat method.
 
 TEST (Value, isDouble)
 Test isDouble method.
 
 TEST (Value, isString)
 Test isString method.
 
 TEST (Value, isArray)
 Test isArray method.
 
 TEST (Value, isObject)
 Test isObject method.
 
 TEST (Value, set)
 Test set method.
 
 TEST (Value, get)
 Test get method.
 
 TEST (Value, getBool)
 Test getBool method.
 
 TEST (Value, getInt8)
 Test getInt8 method.
 
 TEST (Value, getUint8)
 Test getUint8 method.
 
 TEST (Value, getInt16)
 Test getInt16 method.
 
 TEST (Value, getUint16)
 Test getUint16 method.
 
 TEST (Value, getInt)
 Test getInt method.
 
 TEST (Value, getUint)
 Test getUint method.
 
 TEST (Value, getInt64)
 Test getInt64 method.
 
 TEST (Value, getUint64)
 Test getUint64 method.
 
 TEST (Value, getFloat)
 Test getFloat method.
 
 TEST (Value, getDouble)
 Test getDouble method.
 
 TEST (Value, getString)
 Test getString method.
 
 TEST (Value, getArray)
 Test getArray method.
 
 TEST (Value, getObject)
 Test getObject method.
 
 TEST (Value, index)
 Test index method.
 
 TEST (Value, at)
 Test at method.
 
 TEST (Value, assign)
 Test assign method.
 
 TEST (Value, empty)
 Test empty method.
 
 TEST (Value, size)
 Test size method.
 
 TEST (Value, reserve)
 Test reserve method.
 
 TEST (Value, clear)
 Test clear method.
 
 TEST (Value, insert)
 Test insert method.
 
 TEST (Value, erase)
 Test erase method.
 
 TEST (Value, pushBack)
 Test pushBack method.
 
 TEST (Value, popBack)
 Test popBack method.
 
 TEST (Value, contains)
 Test contains method.
 
 TEST (Value, swap)
 Test swap method.
 
 TEST (Value, packRead)
 packRead method.
 
 TEST (Value, packWrite)
 packWrite method.
 
 TEST (Value, jsonRead)
 jsonRead method.
 
 TEST (Value, jsonWrite)
 jsonWrite method.
 
 TEST (Value, jsonCanonicalize)
 jsonCanonicalize method.
 
 TEST (Value, equal)
 equal operators.
 
 TEST (Value, notEqual)
 notEqual operators.
 
 TEST (Value, lower)
 Test lower operator.
 
 TEST (Value, greater)
 Test greater operator.
 
 TEST (Value, lowerOrEqual)
 Test lowerOrEqual operator.
 
 TEST (Value, greaterOrEqual)
 Test greaterOrEqual operator.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/62]

TEST ( Value ,
assign  )

Test assign method.

◆ TEST() [2/62]

TEST ( Value ,
at  )

Test at method.

◆ TEST() [3/62]

TEST ( Value ,
clear  )

Test clear method.

◆ TEST() [4/62]

TEST ( Value ,
contains  )

Test contains method.

◆ TEST() [5/62]

TEST ( Value ,
copy  )

Test copy method.

◆ TEST() [6/62]

TEST ( Value ,
create  )

Test create method.

◆ TEST() [7/62]

TEST ( Value ,
empty  )

Test empty method.

◆ TEST() [8/62]

TEST ( Value ,
equal  )

equal operators.

◆ TEST() [9/62]

TEST ( Value ,
erase  )

Test erase method.

◆ TEST() [10/62]

TEST ( Value ,
get  )

Test get method.

◆ TEST() [11/62]

TEST ( Value ,
getArray  )

Test getArray method.

◆ TEST() [12/62]

TEST ( Value ,
getBool  )

Test getBool method.

◆ TEST() [13/62]

TEST ( Value ,
getDouble  )

Test getDouble method.

◆ TEST() [14/62]

TEST ( Value ,
getFloat  )

Test getFloat method.

◆ TEST() [15/62]

TEST ( Value ,
getInt  )

Test getInt method.

◆ TEST() [16/62]

TEST ( Value ,
getInt16  )

Test getInt16 method.

◆ TEST() [17/62]

TEST ( Value ,
getInt64  )

Test getInt64 method.

◆ TEST() [18/62]

TEST ( Value ,
getInt8  )

Test getInt8 method.

◆ TEST() [19/62]

TEST ( Value ,
getObject  )

Test getObject method.

◆ TEST() [20/62]

TEST ( Value ,
getString  )

Test getString method.

◆ TEST() [21/62]

TEST ( Value ,
getUint  )

Test getUint method.

◆ TEST() [22/62]

TEST ( Value ,
getUint16  )

Test getUint16 method.

◆ TEST() [23/62]

TEST ( Value ,
getUint64  )

Test getUint64 method.

◆ TEST() [24/62]

TEST ( Value ,
getUint8  )

Test getUint8 method.

◆ TEST() [25/62]

TEST ( Value ,
greater  )

Test greater operator.

◆ TEST() [26/62]

TEST ( Value ,
greaterOrEqual  )

Test greaterOrEqual operator.

◆ TEST() [27/62]

TEST ( Value ,
index  )

Test index method.

◆ TEST() [28/62]

TEST ( Value ,
insert  )

Test insert method.

◆ TEST() [29/62]

TEST ( Value ,
is  )

Test is method.

◆ TEST() [30/62]

TEST ( Value ,
isArray  )

Test isArray method.

◆ TEST() [31/62]

TEST ( Value ,
isBool  )

Test isBool method.

◆ TEST() [32/62]

TEST ( Value ,
isDouble  )

Test isDouble method.

◆ TEST() [33/62]

TEST ( Value ,
isFalse  )

Test isFalse method.

◆ TEST() [34/62]

TEST ( Value ,
isFloat  )

Test isFloat method.

◆ TEST() [35/62]

TEST ( Value ,
isInt  )

Test isInt method.

◆ TEST() [36/62]

TEST ( Value ,
isInt16  )

Test isInt16 method.

◆ TEST() [37/62]

TEST ( Value ,
isInt64  )

Test isInt64 method.

◆ TEST() [38/62]

TEST ( Value ,
isInt8  )

Test isInt8 method.

◆ TEST() [39/62]

TEST ( Value ,
isNull  )

Test isNull method.

◆ TEST() [40/62]

TEST ( Value ,
isNumber  )

Test isNumber method.

◆ TEST() [41/62]

TEST ( Value ,
isObject  )

Test isObject method.

◆ TEST() [42/62]

TEST ( Value ,
isString  )

Test isString method.

◆ TEST() [43/62]

TEST ( Value ,
isTrue  )

Test isTrue method.

◆ TEST() [44/62]

TEST ( Value ,
isUint  )

Test isUint method.

◆ TEST() [45/62]

TEST ( Value ,
isUint16  )

Test isUint16 method.

◆ TEST() [46/62]

TEST ( Value ,
isUint64  )

Test isUint64 method.

◆ TEST() [47/62]

TEST ( Value ,
isUint8  )

Test isUint8 method.

◆ TEST() [48/62]

TEST ( Value ,
jsonCanonicalize  )

jsonCanonicalize method.

◆ TEST() [49/62]

TEST ( Value ,
jsonRead  )

jsonRead method.

◆ TEST() [50/62]

TEST ( Value ,
jsonWrite  )

jsonWrite method.

◆ TEST() [51/62]

TEST ( Value ,
lower  )

Test lower operator.

◆ TEST() [52/62]

TEST ( Value ,
lowerOrEqual  )

Test lowerOrEqual operator.

◆ TEST() [53/62]

TEST ( Value ,
move  )

Test move method.

◆ TEST() [54/62]

TEST ( Value ,
notEqual  )

notEqual operators.

◆ TEST() [55/62]

TEST ( Value ,
packRead  )

packRead method.

◆ TEST() [56/62]

TEST ( Value ,
packWrite  )

packWrite method.

◆ TEST() [57/62]

TEST ( Value ,
popBack  )

Test popBack method.

◆ TEST() [58/62]

TEST ( Value ,
pushBack  )

Test pushBack method.

◆ TEST() [59/62]

TEST ( Value ,
reserve  )

Test reserve method.

◆ TEST() [60/62]

TEST ( Value ,
set  )

Test set method.

◆ TEST() [61/62]

TEST ( Value ,
size  )

Test size method.

◆ TEST() [62/62]

TEST ( Value ,
swap  )

Test swap method.