From 71844dd2056e72bc1b82570e4754cbeeac4de344 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Jul 2007 05:52:09 +0000 Subject: Added Raul::Table class (like an std::map but in an array, very fast to do a sorted iteration). Fixed unit test building. git-svn-id: http://svn.drobilla.net/lad/raul@629 a436a847-0d15-0410-975c-d299462d15a1 --- tests/Makefile.am | 5 ++++- tests/atomic_test.cpp | 4 ++-- tests/list_test.cpp | 2 +- tests/midi_ringbuffer_test.cpp | 2 +- tests/path_test.cpp | 2 +- tests/quantize_test.cpp | 2 +- tests/queue_test.cpp | 8 ++++---- tests/rdf_test.cpp | 4 ++-- tests/ringbuffer_test.cpp | 2 +- tests/smf_test.cpp | 4 ++-- tests/thread_test.cpp | 2 +- tests/time_test.cpp | 2 +- 12 files changed, 21 insertions(+), 18 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 27a8f1a..ae3db13 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -14,7 +14,8 @@ noinst_PROGRAMS = \ time_test \ quantize_test \ smf_test \ - rdf_test + rdf_test \ + table_test thread_test_LDADD = $(ALL_LIBS) path_test_LDADD = $(ALL_LIBS) @@ -27,6 +28,7 @@ time_test_LDADD = $(ALL_LIBS) quantize_test_LDADD = $(ALL_LIBS) smf_test_LDADD = $(ALL_LIBS) rdf_test_LDADD = $(ALL_LIBS) +table_test_LDADD = $(ALL_LIBS) path_test_SOURCES = path_test.cpp thread_test_SOURCES = thread_test.cpp @@ -39,5 +41,6 @@ time_test_SOURCES = time_test.cpp quantize_test_SOURCES = quantize_test.cpp smf_test_SOURCES = smf_test.cpp rdf_test_SOURCES = rdf_test.cpp +table_test_SOURCES = table_test.cpp endif diff --git a/tests/atomic_test.cpp b/tests/atomic_test.cpp index c10677a..caa6395 100644 --- a/tests/atomic_test.cpp +++ b/tests/atomic_test.cpp @@ -1,6 +1,6 @@ #include -#include -#include +#include +#include using namespace std; using namespace Raul; diff --git a/tests/list_test.cpp b/tests/list_test.cpp index 133067b..d374b40 100644 --- a/tests/list_test.cpp +++ b/tests/list_test.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include using namespace std; using namespace Raul; diff --git a/tests/midi_ringbuffer_test.cpp b/tests/midi_ringbuffer_test.cpp index 5f903d1..706aef1 100644 --- a/tests/midi_ringbuffer_test.cpp +++ b/tests/midi_ringbuffer_test.cpp @@ -1,5 +1,5 @@ #include -#include "raul/StampedChunkRingBuffer.h" +#include "raul/StampedChunkRingBuffer.hpp" #include "raul/midi_names.h" using namespace std; diff --git a/tests/path_test.cpp b/tests/path_test.cpp index 280f968..cf62340 100644 --- a/tests/path_test.cpp +++ b/tests/path_test.cpp @@ -1,5 +1,5 @@ #include -#include +#include using namespace std; using namespace Raul; diff --git a/tests/quantize_test.cpp b/tests/quantize_test.cpp index 434df2e..f79d279 100644 --- a/tests/quantize_test.cpp +++ b/tests/quantize_test.cpp @@ -1,5 +1,5 @@ #include -#include +#include using namespace std; using namespace Raul; diff --git a/tests/queue_test.cpp b/tests/queue_test.cpp index 0b8bbd3..7a1d44b 100644 --- a/tests/queue_test.cpp +++ b/tests/queue_test.cpp @@ -6,10 +6,10 @@ #include #include #include -#include "raul/SRSWQueue.h" -#include "raul/SRMWQueue.h" -#include "raul/Thread.h" -#include "raul/AtomicInt.h" +#include "raul/SRSWQueue.hpp" +#include "raul/SRMWQueue.hpp" +#include "raul/Thread.hpp" +#include "raul/AtomicInt.hpp" using namespace std; using namespace Raul; diff --git a/tests/rdf_test.cpp b/tests/rdf_test.cpp index 6e224cf..afb1887 100644 --- a/tests/rdf_test.cpp +++ b/tests/rdf_test.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include int main() diff --git a/tests/ringbuffer_test.cpp b/tests/ringbuffer_test.cpp index 01f136f..851d7b9 100644 --- a/tests/ringbuffer_test.cpp +++ b/tests/ringbuffer_test.cpp @@ -1,5 +1,5 @@ #include -#include "raul/RingBuffer.h" +#include "raul/RingBuffer.hpp" using namespace std; using namespace Raul; diff --git a/tests/smf_test.cpp b/tests/smf_test.cpp index 3396b90..3ca9715 100644 --- a/tests/smf_test.cpp +++ b/tests/smf_test.cpp @@ -1,7 +1,7 @@ #include #include -#include -#include +#include +#include using namespace std; using namespace Raul; diff --git a/tests/thread_test.cpp b/tests/thread_test.cpp index ef3ad53..eb06701 100644 --- a/tests/thread_test.cpp +++ b/tests/thread_test.cpp @@ -1,5 +1,5 @@ #include -#include +#include using namespace std; using namespace Raul; diff --git a/tests/time_test.cpp b/tests/time_test.cpp index 0ffdc61..c5c89b7 100644 --- a/tests/time_test.cpp +++ b/tests/time_test.cpp @@ -1,5 +1,5 @@ #include -#include +#include using namespace std; using namespace Raul; -- cgit v1.2.1