xref: /haiku/src/tests/kits/net/libnetapi/NetworkAddressTest.h (revision a5a3b2d9a3d95cbae71eaf371708c73a1780ac0d)
1 /*
2  * Copyright 2010-2011, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef NETWORK_ADDRESS_TEST_H
6 #define NETWORK_ADDRESS_TEST_H
7 
8 
9 #include <TestCase.h>
10 #include <TestSuite.h>
11 
12 
13 class NetworkAddressTest : public CppUnit::TestCase {
14 public:
15 								NetworkAddressTest();
16 	virtual						~NetworkAddressTest();
17 
18 			void				TestUnset();
19 			void				TestSetTo();
20 			void				TestWildcard();
21 			void				TestNullAddr();
22 			void				TestSetAddressFromFamilyPort();
23 			void				TestIsLocal();
24 			void				TestFlatten();
25 
26 	static	void				AddTests(BTestSuite& suite);
27 };
28 
29 
30 #endif	// NETWORK_ADDRESS_TEST_H
31