join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
utils_test.cpp File Reference
#include <join/utils.hpp>
#include <gtest/gtest.h>
#include <typeinfo>
#include <sstream>
#include <thread>
Include dependency graph for utils_test.cpp:

Functions

 TEST (Utils, swap)
 test swap.
 
 TEST (Utils, compareNoCase)
 Test compareNoCase.
 
 TEST (Utils, trimLeft)
 Test trimLeft.
 
 TEST (Utils, trimRight)
 Test trimRight.
 
 TEST (Utils, trim)
 Test trim.
 
 TEST (Utils, replaceAll)
 Test replaceAll.
 
 TEST (Utils, split)
 Test split.
 
 TEST (Utils, rsplit)
 Test rsplit.
 
 TEST (Utils, getline)
 Test getline.
 
 TEST (Utils, readBytes)
 Test readBytes.
 
 TEST (Utils, writeBytes)
 Test writeBytes.
 
 TEST (Utils, checksum)
 Test checksum.
 
 TEST (Utils, dump)
 Test dump.
 
 TEST (Utils, randomize)
 Test randomize.
 
 TEST (Utils, benchmark)
 Test benchmark.
 
 TEST (Utils, toTimespec)
 Test toTimespec.
 
 TEST (Utils, isPow2)
 test isPow2.
 
 TEST (Utils, nextPow2)
 test nextPow2.
 
 TEST (Utils, throwException)
 test throwException.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/19]

TEST ( Utils ,
benchmark  )

Test benchmark.

◆ TEST() [2/19]

TEST ( Utils ,
checksum  )

Test checksum.

◆ TEST() [3/19]

TEST ( Utils ,
compareNoCase  )

Test compareNoCase.

◆ TEST() [4/19]

TEST ( Utils ,
dump  )

Test dump.

◆ TEST() [5/19]

TEST ( Utils ,
getline  )

Test getline.

◆ TEST() [6/19]

TEST ( Utils ,
isPow2  )

test isPow2.

◆ TEST() [7/19]

TEST ( Utils ,
nextPow2  )

test nextPow2.

◆ TEST() [8/19]

TEST ( Utils ,
randomize  )

Test randomize.

◆ TEST() [9/19]

TEST ( Utils ,
readBytes  )

Test readBytes.

◆ TEST() [10/19]

TEST ( Utils ,
replaceAll  )

Test replaceAll.

◆ TEST() [11/19]

TEST ( Utils ,
rsplit  )

Test rsplit.

◆ TEST() [12/19]

TEST ( Utils ,
split  )

Test split.

◆ TEST() [13/19]

TEST ( Utils ,
swap  )

test swap.

◆ TEST() [14/19]

TEST ( Utils ,
throwException  )

test throwException.

◆ TEST() [15/19]

TEST ( Utils ,
toTimespec  )

Test toTimespec.

◆ TEST() [16/19]

TEST ( Utils ,
trim  )

Test trim.

◆ TEST() [17/19]

TEST ( Utils ,
trimLeft  )

Test trimLeft.

◆ TEST() [18/19]

TEST ( Utils ,
trimRight  )

Test trimRight.

◆ TEST() [19/19]

TEST ( Utils ,
writeBytes  )

Test writeBytes.