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

Classes

class  DhcpTest
 Class used to test the DHCP API. More...
 
class  Mute
 A server that answers nothing, for the cases the fixture cannot host. More...
 

Functions

 TEST_F (DhcpTest, create)
 Test create method.
 
 TEST_F (DhcpTest, interface)
 Test interface method.
 
 TEST_F (DhcpTest, hardware)
 Test hardware method.
 
 TEST_F (DhcpTest, compose)
 Test compose method.
 
 TEST_F (DhcpTest, exchange)
 Test exchange method.
 
 TEST_F (DhcpTest, discover)
 Test discover method.
 
 TEST_F (DhcpTest, request)
 Test request method.
 
 TEST_F (DhcpTest, reason)
 Test reason method.
 
 TEST_F (DhcpTest, renew)
 Test renew method.
 
 TEST_F (DhcpTest, inform)
 Test inform method.
 
 TEST_F (DhcpTest, release)
 Test release method.
 
 TEST_F (DhcpTest, decline)
 Test decline method.
 
 TEST_F (DhcpTest, offer)
 Test offer method.
 
 TEST_F (DhcpTest, ack)
 Test ack method.
 
 TEST_F (DhcpTest, nak)
 Test nak method.
 
 TEST_F (DhcpTest, receive)
 Test receive method.
 
 TEST_F (DhcpTest, onMessage)
 Test onMessage method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/17]

TEST_F ( DhcpTest ,
ack  )

Test ack method.

◆ TEST_F() [2/17]

TEST_F ( DhcpTest ,
compose  )

Test compose method.

◆ TEST_F() [3/17]

TEST_F ( DhcpTest ,
create  )

Test create method.

◆ TEST_F() [4/17]

TEST_F ( DhcpTest ,
decline  )

Test decline method.

◆ TEST_F() [5/17]

TEST_F ( DhcpTest ,
discover  )

Test discover method.

◆ TEST_F() [6/17]

TEST_F ( DhcpTest ,
exchange  )

Test exchange method.

◆ TEST_F() [7/17]

TEST_F ( DhcpTest ,
hardware  )

Test hardware method.

◆ TEST_F() [8/17]

TEST_F ( DhcpTest ,
inform  )

Test inform method.

◆ TEST_F() [9/17]

TEST_F ( DhcpTest ,
interface  )

Test interface method.

◆ TEST_F() [10/17]

TEST_F ( DhcpTest ,
nak  )

Test nak method.

◆ TEST_F() [11/17]

TEST_F ( DhcpTest ,
offer  )

Test offer method.

◆ TEST_F() [12/17]

TEST_F ( DhcpTest ,
onMessage  )

Test onMessage method.

◆ TEST_F() [13/17]

TEST_F ( DhcpTest ,
reason  )

Test reason method.

◆ TEST_F() [14/17]

TEST_F ( DhcpTest ,
receive  )

Test receive method.

◆ TEST_F() [15/17]

TEST_F ( DhcpTest ,
release  )

Test release method.

◆ TEST_F() [16/17]

TEST_F ( DhcpTest ,
renew  )

Test renew method.

◆ TEST_F() [17/17]

TEST_F ( DhcpTest ,
request  )

Test request method.