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

Functions

 TEST (InterfaceManager, instance)
 test the instance method.
 
 TEST (InterfaceManager, findByIndex)
 test the findByIndex method.
 
 TEST (InterfaceManager, findByName)
 test the findByName method.
 
 TEST (InterfaceManager, enumerate)
 test the enumerate method.
 
 TEST (InterfaceManager, addLinkListener)
 test the addLinkListener method.
 
 TEST (InterfaceManager, addAddressListener)
 test the addAddressListener method.
 
 TEST (InterfaceManager, addRouteListener)
 test the addRouteListener method.
 
 TEST (InterfaceManager, createDummyInterface)
 test the createDummyInterface method.
 
 TEST (InterfaceManager, createBridgeInterface)
 test the createBridgeInterface method.
 
 TEST (InterfaceManager, createVlanInterface)
 test the createVlanInterface method.
 
 TEST (InterfaceManager, createVethInterface)
 test the createVethInterface method.
 
 TEST (InterfaceManager, createGreInterface)
 test the createGreInterface method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/12]

TEST ( InterfaceManager ,
addAddressListener  )

test the addAddressListener method.

◆ TEST() [2/12]

TEST ( InterfaceManager ,
addLinkListener  )

test the addLinkListener method.

◆ TEST() [3/12]

TEST ( InterfaceManager ,
addRouteListener  )

test the addRouteListener method.

◆ TEST() [4/12]

TEST ( InterfaceManager ,
createBridgeInterface  )

test the createBridgeInterface method.

◆ TEST() [5/12]

TEST ( InterfaceManager ,
createDummyInterface  )

test the createDummyInterface method.

◆ TEST() [6/12]

TEST ( InterfaceManager ,
createGreInterface  )

test the createGreInterface method.

◆ TEST() [7/12]

TEST ( InterfaceManager ,
createVethInterface  )

test the createVethInterface method.

◆ TEST() [8/12]

TEST ( InterfaceManager ,
createVlanInterface  )

test the createVlanInterface method.

◆ TEST() [9/12]

TEST ( InterfaceManager ,
enumerate  )

test the enumerate method.

◆ TEST() [10/12]

TEST ( InterfaceManager ,
findByIndex  )

test the findByIndex method.

◆ TEST() [11/12]

TEST ( InterfaceManager ,
findByName  )

test the findByName method.

◆ TEST() [12/12]

TEST ( InterfaceManager ,
instance  )

test the instance method.