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

Classes

class  MdnsAnnouncer
 mDNS peer acting as an announcer. More...
 
class  MdnsResolver
 mDNS peer acting as a resolver (collects unsolicited announcements). More...
 
class  MdnsTest
 mDNS test class. More...
 

Functions

 TEST_F (MdnsTest, probe)
 test the probe method.
 
 TEST_F (MdnsTest, announce)
 test the announce method.
 
 TEST_F (MdnsTest, goodbye)
 test the goodbye method.
 
 TEST_F (MdnsTest, browse)
 test the browse method.
 
 TEST_F (MdnsTest, resolveAddress)
 test the resolveAddress method.
 
 TEST_F (MdnsTest, resolveAllAddress)
 test the resolveAllAddress method.
 
 TEST_F (MdnsTest, resolveName)
 test the resolveName method.
 
 TEST_F (MdnsTest, resolveAllName)
 test the resolveAllName method.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST_F() [1/8]

TEST_F ( MdnsTest ,
announce  )

test the announce method.

◆ TEST_F() [2/8]

TEST_F ( MdnsTest ,
browse  )

test the browse method.

◆ TEST_F() [3/8]

TEST_F ( MdnsTest ,
goodbye  )

test the goodbye method.

◆ TEST_F() [4/8]

TEST_F ( MdnsTest ,
probe  )

test the probe method.

◆ TEST_F() [5/8]

TEST_F ( MdnsTest ,
resolveAddress  )

test the resolveAddress method.

◆ TEST_F() [6/8]

TEST_F ( MdnsTest ,
resolveAllAddress  )

test the resolveAllAddress method.

◆ TEST_F() [7/8]

TEST_F ( MdnsTest ,
resolveAllName  )

test the resolveAllName method.

◆ TEST_F() [8/8]

TEST_F ( MdnsTest ,
resolveName  )

test the resolveName method.