diff options
Diffstat (limited to 'tests/common.h')
-rwxr-xr-x | tests/common.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/common.h b/tests/common.h deleted file mode 100755 index f41f7ae..0000000 --- a/tests/common.h +++ /dev/null @@ -1,50 +0,0 @@ - -#ifndef _COMMON_H -#define _COMMON_H - -#include <CUnit/Basic.h> - -typedef struct { - const char *server; - int port; - const char *path; - const char *scheme; - const char *username; - const char *password; -} ServerData; - -typedef struct { - char *xpath_expr; - char *expected_value; -} XpathTest; - -typedef struct { - /* Explanation of what you should see */ - const char *explanation; - - /* Resource UR to test against */ - const char *resource_uri; - - /* Selectors in the form of a URI query key=value&key2=value2 */ - char *selectors; - - XpathTest xpath_test; - - /* What the final status code should be. */ - unsigned int final_status; - - unsigned char flags; - - unsigned int max_elements; - -} TestData; - -extern char *host; - -int init_test(void); -int clean_test(void); -int add_enumeration_tests(CU_pSuite ps); -int add_identify_tests(CU_pSuite ps); -int add_transfer_get_tests(CU_pSuite ps); - -#endif |