diff options
author | David Robillard <d@drobilla.net> | 2007-07-26 05:52:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-26 05:52:09 +0000 |
commit | 71844dd2056e72bc1b82570e4754cbeeac4de344 (patch) | |
tree | fbfa99b80a0dcaab8bc32dacfdd526d0efcfef49 /tests | |
parent | ae1ae583cebc1230afc4db3939a8d47579266653 (diff) | |
download | raul-71844dd2056e72bc1b82570e4754cbeeac4de344.tar.gz raul-71844dd2056e72bc1b82570e4754cbeeac4de344.tar.bz2 raul-71844dd2056e72bc1b82570e4754cbeeac4de344.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 5 | ||||
-rw-r--r-- | tests/atomic_test.cpp | 4 | ||||
-rw-r--r-- | tests/list_test.cpp | 2 | ||||
-rw-r--r-- | tests/midi_ringbuffer_test.cpp | 2 | ||||
-rw-r--r-- | tests/path_test.cpp | 2 | ||||
-rw-r--r-- | tests/quantize_test.cpp | 2 | ||||
-rw-r--r-- | tests/queue_test.cpp | 8 | ||||
-rw-r--r-- | tests/rdf_test.cpp | 4 | ||||
-rw-r--r-- | tests/ringbuffer_test.cpp | 2 | ||||
-rw-r--r-- | tests/smf_test.cpp | 4 | ||||
-rw-r--r-- | tests/thread_test.cpp | 2 | ||||
-rw-r--r-- | tests/time_test.cpp | 2 |
12 files changed, 21 insertions, 18 deletions
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 <iostream> -#include <raul/AtomicInt.h> -#include <raul/AtomicPtr.h> +#include <raul/AtomicInt.hpp> +#include <raul/AtomicPtr.hpp> 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 <iostream> #include <cstddef> -#include <raul/List.h> +#include <raul/List.hpp> 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 <iostream> -#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 <iostream> -#include <raul/Path.h> +#include <raul/Path.hpp> 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 <iostream> -#include <raul/Quantizer.h> +#include <raul/Quantizer.hpp> 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 <stdlib.h> #include <fcntl.h> #include <termios.h> -#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 <raul/RDFModel.h> -#include <raul/RDFQuery.h> +#include <raul/RDFModel.hpp> +#include <raul/RDFQuery.hpp> 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 <iostream> -#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 <iostream> #include <string> -#include <raul/SMFReader.h> -#include <raul/SMFWriter.h> +#include <raul/SMFReader.hpp> +#include <raul/SMFWriter.hpp> 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 <iostream> -#include <raul/Thread.h> +#include <raul/Thread.hpp> 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 <iostream> -#include <raul/TimeSlice.h> +#include <raul/TimeSlice.hpp> using namespace std; using namespace Raul; |