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

Classes

class  RouteTest
 class used to test the Route API. More...
 

Functions

 TEST_F (RouteTest, index)
 test the index method.
 
 TEST_F (RouteTest, dest)
 test the dest method.
 
 TEST_F (RouteTest, prefix)
 test the prefix method.
 
 TEST_F (RouteTest, gateway)
 test the gateway method.
 
 TEST_F (RouteTest, metric)
 test the metric method.
 
 TEST_F (RouteTest, type)
 test the type methods.
 
 TEST_F (RouteTest, scope)
 test the scope methods.
 
 TEST_F (RouteTest, protocol)
 test the protocol methods.
 
 TEST_F (RouteTest, set)
 test the set method.
 
 TEST_F (RouteTest, remove)
 test the remove method.
 
 TEST_F (RouteTest, compare)
 test the compare method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/11]

TEST_F ( RouteTest ,
compare  )

test the compare method.

◆ TEST_F() [2/11]

TEST_F ( RouteTest ,
dest  )

test the dest method.

◆ TEST_F() [3/11]

TEST_F ( RouteTest ,
gateway  )

test the gateway method.

◆ TEST_F() [4/11]

TEST_F ( RouteTest ,
index  )

test the index method.

◆ TEST_F() [5/11]

TEST_F ( RouteTest ,
metric  )

test the metric method.

◆ TEST_F() [6/11]

TEST_F ( RouteTest ,
prefix  )

test the prefix method.

◆ TEST_F() [7/11]

TEST_F ( RouteTest ,
protocol  )

test the protocol methods.

◆ TEST_F() [8/11]

TEST_F ( RouteTest ,
remove  )

test the remove method.

◆ TEST_F() [9/11]

TEST_F ( RouteTest ,
scope  )

test the scope methods.

◆ TEST_F() [10/11]

TEST_F ( RouteTest ,
set  )

test the set method.

◆ TEST_F() [11/11]

TEST_F ( RouteTest ,
type  )

test the type methods.