OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa_test.c versions 1.11 and 1.12
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa_test.c 1.11 -> 1.12

--- 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;

CVSTrac 2.0.1