summaryrefslogtreecommitdiff
path: root/src/tests/libknot/libknot/rdata_tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/libknot/libknot/rdata_tests.h')
-rw-r--r--src/tests/libknot/libknot/rdata_tests.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/tests/libknot/libknot/rdata_tests.h b/src/tests/libknot/libknot/rdata_tests.h
deleted file mode 100644
index 1f43c91..0000000
--- a/src/tests/libknot/libknot/rdata_tests.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/* Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-/*!
- * \file rdata_tests.h
- *
- * \author Lubos Slovak <lubos.slovak@nic.cz>
- *
- * Contains unit tests for RDATA (knot_rdata_t) and RDATA item
- * (knot_rdata_item_t) structures.
- *
- * Contains tests for:
- * - creating empty RDATA structure with or without reserved space.
- * - setting RDATA items one-by-one
- * - setting RDATA items all at once
- *
- * As for now, the tests use several (TEST_RDATAS) RDATA structures, each
- * with different number of RDATA items (given by test_rdatas). These are all
- * initialized to pointers derived from RDATA_ITEM_PTR (first is RDATA_ITEM_PTR,
- * second RDATA_ITEM_PTR + 1, etc.). The functions only test if the pointer
- * is set properly.
- *
- * \todo It may be better to test also some RDATAs with predefined contents,
- * such as some numbers, some domain name, etc. For this purpose, we'd
- * need RDATA descriptors (telling the types of each RDATA item within an
- * RDATA).
- *
- * \todo It will be fine to test all possible output values of all functions,
- * e.g. test whether knot_rdata_get_item() returns NULL when passed an
- * illegal position, etc.
- */
-#ifndef _KNOTD_RDATA_TESTS_H_
-#define _KNOTD_RDATA_TESTS_H_
-
-#include "common/libtap/tap_unit.h"
-
-/* Unit API. */
-unit_api rdata_tests_api;
-
-#endif /* _KNOTD_RDATA_TESTS_H_ */