summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/atomic_test.cpp14
-rw-r--r--tests/path_test.cpp1
-rw-r--r--tests/queue_test.cpp3
-rw-r--r--tests/thread_test.cpp5
4 files changed, 21 insertions, 2 deletions
diff --git a/tests/atomic_test.cpp b/tests/atomic_test.cpp
new file mode 100644
index 0000000..c10677a
--- /dev/null
+++ b/tests/atomic_test.cpp
@@ -0,0 +1,14 @@
+#include <iostream>
+#include <raul/AtomicInt.h>
+#include <raul/AtomicPtr.h>
+
+using namespace std;
+using namespace Raul;
+
+int
+main()
+{
+ cout << "Well, at least I compiled; that's gotta count for something eh?" << endl;
+
+ return 0;
+}
diff --git a/tests/path_test.cpp b/tests/path_test.cpp
index 911b760..280f968 100644
--- a/tests/path_test.cpp
+++ b/tests/path_test.cpp
@@ -2,6 +2,7 @@
#include <raul/Path.h>
using namespace std;
+using namespace Raul;
int
main()
diff --git a/tests/queue_test.cpp b/tests/queue_test.cpp
index d299995..dc9928d 100644
--- a/tests/queue_test.cpp
+++ b/tests/queue_test.cpp
@@ -3,7 +3,8 @@
#include "raul/SRSWQueue.h"
#include "raul/SRMWQueue.h"
-using std::string; using std::cerr; using std::cout; using std::endl;
+using namespace std;
+using namespace Raul;
int main()
diff --git a/tests/thread_test.cpp b/tests/thread_test.cpp
index 7a4d875..ef3ad53 100644
--- a/tests/thread_test.cpp
+++ b/tests/thread_test.cpp
@@ -2,6 +2,7 @@
#include <raul/Thread.h>
using namespace std;
+using namespace Raul;
int
main()
@@ -9,7 +10,9 @@ main()
Thread& this_thread = Thread::get();
this_thread.set_name("Main");
- cerr << "Thread name: " << Thread::get().name() << endl;
+ cout << "Thread name should be Main" << endl;
+
+ cout << "Thread name: " << Thread::get().name() << endl;
return 0;
}