diff options
author | David Robillard <d@drobilla.net> | 2007-01-22 05:00:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-22 05:00:29 +0000 |
commit | aa454620bff8b6c5dcd4e0e379726307ad1918da (patch) | |
tree | fb178d760381f9492039235faa9d610bb5040f2b /tests | |
parent | ae90063afb7ddabcb505f8390b3b90bc7fea96ca (diff) | |
download | raul-aa454620bff8b6c5dcd4e0e379726307ad1918da.tar.gz raul-aa454620bff8b6c5dcd4e0e379726307ad1918da.tar.bz2 raul-aa454620bff8b6c5dcd4e0e379726307ad1918da.zip |
Created Raul namespace.
git-svn-id: http://svn.drobilla.net/lad/raul@265 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/atomic_test.cpp | 14 | ||||
-rw-r--r-- | tests/path_test.cpp | 1 | ||||
-rw-r--r-- | tests/queue_test.cpp | 3 | ||||
-rw-r--r-- | tests/thread_test.cpp | 5 |
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; } |