Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

check_eth.c

Go to the documentation of this file.
00001 
00002 #include <sys/types.h>
00003 
00004 #include <dnet.h>
00005 
00006 #include <stdio.h>
00007 #include <stdlib.h>
00008 #include <string.h>
00009 
00010 #include <check.h>
00011 
00012 START_TEST(test_eth_pack)
00013 {
00014 }
00015 END_TEST
00016 
00017 START_TEST(test_eth_openclose)
00018 {
00019 }
00020 END_TEST
00021 
00022 START_TEST(test_eth_get)
00023 {
00024 }
00025 END_TEST
00026 
00027 START_TEST(test_eth_set)
00028 {
00029 }
00030 END_TEST
00031 
00032 START_TEST(test_eth_send)
00033 {
00034 }
00035 END_TEST
00036 
00037 Suite *
00038 eth_suite(void)
00039 {
00040         Suite *s = suite_create("eth");
00041         TCase *tc_core = tcase_create("core");
00042 
00043         suite_add_tcase(s, tc_core);
00044         tcase_add_test(tc_core, test_eth_pack);
00045         tcase_add_test(tc_core, test_eth_openclose);
00046         tcase_add_test(tc_core, test_eth_get);
00047         tcase_add_test(tc_core, test_eth_set);
00048         tcase_add_test(tc_core, test_eth_send);
00049         
00050         return (s);
00051 }
00052 
00053 int
00054 main(void)
00055 {
00056         Suite *s = eth_suite();
00057         SRunner *sr = srunner_create(s);
00058         int nf;
00059         
00060         srunner_run_all (sr, CK_NORMAL);
00061         nf = srunner_ntests_failed(sr);
00062         srunner_free(sr);
00063         
00064         return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
00065 }

Generated on Sun May 14 14:51:12 2006 by  doxygen 1.4.2