summaryrefslogtreecommitdiffstats
path: root/mDNSResponder/unittests/InterfaceTest.c
blob: a973814109def070c6551edef31b59e08d8f65ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "InterfaceTest.h"
#include "mDNSEmbeddedAPI.h"


NetworkInterfaceInfo *intf;
mDNS *m;

int LocalSubnetTest(void);

UNITTEST_HEADER(InterfaceTest)
    UNITTEST_TEST(LocalSubnetTest)
UNITTEST_FOOTER

UNITTEST_HEADER(LocalSubnetTest)
    // need a way to initialize m before we call into the class of APIs that use a ptr to mDNS
    // should that pointer be common to all tests?
    // mDNS_AddressIsLocalSubnet(mDNS *const m, const mDNSInterfaceID InterfaceID, const mDNSAddr *addr)
    // TEST_ASSERT_RETURN (for IPv4/IPv6 local subnet)
UNITTEST_FOOTER