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

Functions

 TEST (Endpoint, addr)
 test the addr method.
 
 TEST (Endpoint, length)
 test the length method.
 
 TEST (Endpoint, device)
 test the device method.
 
 TEST (Endpoint, ip)
 ip method.
 
 TEST (Endpoint, port)
 port method.
 
 TEST (Endpoint, protocol)
 protocol method.
 
 TEST (Endpoint, equal)
 equal method.
 
 TEST (Endpoint, serialize)
 test the serialize method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/8]

TEST ( Endpoint ,
addr  )

test the addr method.

◆ TEST() [2/8]

TEST ( Endpoint ,
device  )

test the device method.

◆ TEST() [3/8]

TEST ( Endpoint ,
equal  )

equal method.

◆ TEST() [4/8]

TEST ( Endpoint ,
ip  )

ip method.

◆ TEST() [5/8]

TEST ( Endpoint ,
length  )

test the length method.

◆ TEST() [6/8]

TEST ( Endpoint ,
port  )

port method.

◆ TEST() [7/8]

TEST ( Endpoint ,
protocol  )

protocol method.

◆ TEST() [8/8]

TEST ( Endpoint ,
serialize  )

test the serialize method.