Update of /cvsroot/sharedaemon/sharedaemon-ui-web/src
In directory sc8-pr-cvs1:/tmp/cvs-serv9609/src
Modified Files:
Main.cpp
Log Message:
24/12/2003 Barbeaux
* Added simple test program for Semaphores.
Index: Main.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/sharedaemon-ui-web/src/Main.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Main.cpp 24 Dec 2003 13:03:56 -0000 1.2
+++ Main.cpp 24 Dec 2003 14:10:32 -0000 1.3
@@ -19,6 +19,7 @@
#include "test/TestException.h"
#include "test/TestThread.h"
+#include "test/TestSemaphore.h"
/**
* Main program.
@@ -26,9 +27,12 @@
int main() {
TestException test_excp;
test_excp.test();
-
+
TestThread test_th;
test_th.test();
+
+ TestSemaphore test_sem;
+ test_sem.test();
return 0;
}
|