Index: ossp-pkg/sa/sa_test.c RCS File: /v/ossp/cvs/ossp-pkg/sa/sa_test.c,v rcsdiff -q -kk '-r1.11' '-r1.12' -u '/v/ossp/cvs/ossp-pkg/sa/sa_test.c,v' 2>/dev/null --- sa_test.c 2001/10/31 20:09:00 1.11 +++ sa_test.c 2001/10/31 20:16:10 1.12 @@ -38,6 +38,7 @@ #include "ts.h" #include "sa.h" +/* test: address import/export */ TS_TEST(test_saa_impexp) { sa_addr_t *saa; @@ -86,6 +87,7 @@ rv, sa_error(rv), SA_OK, sa_error(SA_OK)); } +/* test: address matching */ TS_TEST(test_saa_match) { sa_addr_t *saa1; @@ -131,14 +133,28 @@ sa_addr_destroy(saa2); } +/* test: client/server stream communication */ +TS_TEST(test_sa_stream) +{ + /* FIXME */ +} + +/* test: client/server datagram communication */ +TS_TEST(test_sa_datagram) +{ + /* FIXME */ +} + int main(int argc, char *argv[]) { ts_suite_t *ts; int n; ts = ts_suite_new("OSSP SA (Socket Abstraction Library)"); - ts_suite_test(ts, test_saa_impexp, "socket address abstraction (import/export)"); - ts_suite_test(ts, test_saa_match, "socket address abstraction (matching)"); + ts_suite_test(ts, test_saa_impexp, "socket address abstraction import/export"); + ts_suite_test(ts, test_saa_match, "socket address abstraction matching"); + ts_suite_test(ts, test_sa_stream, "socket abstraction stream communication"); + ts_suite_test(ts, test_sa_datagram, "socket abstraction datagram communication"); n = ts_suite_run(ts); ts_suite_free(ts); return n;