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

Classes

class  InterfaceTest
 Class used to test the interface API. More...
 

Functions

 TEST_F (InterfaceTest, index)
 test the index method.
 
 TEST_F (InterfaceTest, name)
 test the name method.
 
 TEST_F (InterfaceTest, mtu)
 test the mtu method.
 
 TEST_F (InterfaceTest, kind)
 test the kind method.
 
 TEST_F (InterfaceTest, mac)
 test the mac method.
 
 TEST_F (InterfaceTest, addAddress)
 test the addAddress method.
 
 TEST_F (InterfaceTest, addressList)
 test the addressList method.
 
 TEST_F (InterfaceTest, addRoute)
 test the addRoute method.
 
 TEST_F (InterfaceTest, routeList)
 test the routeList method.
 
 TEST_F (InterfaceTest, addToBridge)
 test the addToBridge method.
 
 TEST_F (InterfaceTest, flags)
 test the flags method.
 
 TEST_F (InterfaceTest, enable)
 test the enable method.
 
 TEST_F (InterfaceTest, isRunning)
 test the isRunning method.
 
 TEST_F (InterfaceTest, isLoopback)
 test the isLoopback method.
 
 TEST_F (InterfaceTest, isPointToPoint)
 test the isPointToPoint method.
 
 TEST_F (InterfaceTest, isDummy)
 test the isBridge method.
 
 TEST_F (InterfaceTest, isBridge)
 test the isBridge method.
 
 TEST_F (InterfaceTest, isVlan)
 test the isVlan method.
 
 TEST_F (InterfaceTest, isVeth)
 test the isVeth method.
 
 TEST_F (InterfaceTest, isGre)
 test the isGre method.
 
 TEST_F (InterfaceTest, isTun)
 test the isTun method.
 
 TEST_F (InterfaceTest, supportsBroadcast)
 test the supportsBroadcast method.
 
 TEST_F (InterfaceTest, supportsMulticast)
 test the supportsMulticast method.
 
 TEST_F (InterfaceTest, supportsIpv4)
 test the supportsIpv4 method.
 
 TEST_F (InterfaceTest, supportsIpv6)
 test the supportsIpv6 method.
 
 TEST_F (InterfaceTest, 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/26]

TEST_F ( InterfaceTest ,
addAddress  )

test the addAddress method.

◆ TEST_F() [2/26]

TEST_F ( InterfaceTest ,
addressList  )

test the addressList method.

◆ TEST_F() [3/26]

TEST_F ( InterfaceTest ,
addRoute  )

test the addRoute method.

◆ TEST_F() [4/26]

TEST_F ( InterfaceTest ,
addToBridge  )

test the addToBridge method.

◆ TEST_F() [5/26]

TEST_F ( InterfaceTest ,
compare  )

test the compare method.

◆ TEST_F() [6/26]

TEST_F ( InterfaceTest ,
enable  )

test the enable method.

◆ TEST_F() [7/26]

TEST_F ( InterfaceTest ,
flags  )

test the flags method.

◆ TEST_F() [8/26]

TEST_F ( InterfaceTest ,
index  )

test the index method.

◆ TEST_F() [9/26]

TEST_F ( InterfaceTest ,
isBridge  )

test the isBridge method.

◆ TEST_F() [10/26]

TEST_F ( InterfaceTest ,
isDummy  )

test the isBridge method.

◆ TEST_F() [11/26]

TEST_F ( InterfaceTest ,
isGre  )

test the isGre method.

◆ TEST_F() [12/26]

TEST_F ( InterfaceTest ,
isLoopback  )

test the isLoopback method.

◆ TEST_F() [13/26]

TEST_F ( InterfaceTest ,
isPointToPoint  )

test the isPointToPoint method.

◆ TEST_F() [14/26]

TEST_F ( InterfaceTest ,
isRunning  )

test the isRunning method.

◆ TEST_F() [15/26]

TEST_F ( InterfaceTest ,
isTun  )

test the isTun method.

◆ TEST_F() [16/26]

TEST_F ( InterfaceTest ,
isVeth  )

test the isVeth method.

◆ TEST_F() [17/26]

TEST_F ( InterfaceTest ,
isVlan  )

test the isVlan method.

◆ TEST_F() [18/26]

TEST_F ( InterfaceTest ,
kind  )

test the kind method.

◆ TEST_F() [19/26]

TEST_F ( InterfaceTest ,
mac  )

test the mac method.

◆ TEST_F() [20/26]

TEST_F ( InterfaceTest ,
mtu  )

test the mtu method.

◆ TEST_F() [21/26]

TEST_F ( InterfaceTest ,
name  )

test the name method.

◆ TEST_F() [22/26]

TEST_F ( InterfaceTest ,
routeList  )

test the routeList method.

◆ TEST_F() [23/26]

TEST_F ( InterfaceTest ,
supportsBroadcast  )

test the supportsBroadcast method.

◆ TEST_F() [24/26]

TEST_F ( InterfaceTest ,
supportsIpv4  )

test the supportsIpv4 method.

◆ TEST_F() [25/26]

TEST_F ( InterfaceTest ,
supportsIpv6  )

test the supportsIpv6 method.

◆ TEST_F() [26/26]

TEST_F ( InterfaceTest ,
supportsMulticast  )

test the supportsMulticast method.