]> git.saurik.com Git - apple/mdnsresponder.git/blob - unittests/InterfaceTest.c
mDNSResponder-878.230.2.tar.gz
[apple/mdnsresponder.git] / unittests / InterfaceTest.c
1 #include "InterfaceTest.h"
2 #include "mDNSEmbeddedAPI.h"
3
4
5 NetworkInterfaceInfo *intf;
6 mDNS *m;
7
8 int LocalSubnetTest(void);
9
10 UNITTEST_HEADER(InterfaceTest)
11 UNITTEST_TEST(LocalSubnetTest)
12 UNITTEST_FOOTER
13
14 UNITTEST_HEADER(LocalSubnetTest)
15 // need a way to initialize m before we call into the class of APIs that use a ptr to mDNS
16 // should that pointer be common to all tests?
17 // mDNS_AddressIsLocalSubnet(mDNS *const m, const mDNSInterfaceID InterfaceID, const mDNSAddr *addr)
18 // TEST_ASSERT_RETURN (for IPv4/IPv6 local subnet)
19 UNITTEST_FOOTER