summaryrefslogtreecommitdiffstats
path: root/bin/tests/net/testsuite.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/net/testsuite.h')
-rw-r--r--bin/tests/net/testsuite.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/bin/tests/net/testsuite.h b/bin/tests/net/testsuite.h
new file mode 100644
index 0000000..68a214c
--- /dev/null
+++ b/bin/tests/net/testsuite.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2000, 2001 Internet Software Consortium.
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ * PERFORMANCE OF THIS SOFTWARE.
+ */
+
+/* $Id: testsuite.h,v 1.7 2007/06/19 23:47:00 tbox Exp $ */
+
+#define SUITENAME "net"
+
+TESTDECL(netaddr_multicast);
+TESTDECL(sockaddr_multicast);
+
+static test_t tests[] = {
+ { "isc_netaddr_ismulticast",
+ "Checking to see if multicast addresses are detected properly",
+ netaddr_multicast },
+ { "isc_sockaddr_ismulticast",
+ "Checking to see if multicast addresses are detected properly",
+ sockaddr_multicast },
+
+};