summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-24 01:31:49 +0000
committerDavid Robillard <d@drobilla.net>2011-02-24 01:31:49 +0000
commit5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34 (patch)
treee3784b267aabde08776650a50691a43f6290a9c9 /test
parent468edb7f7be73505a4a73590443e3c8655ce1b82 (diff)
downloadlilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.tar.gz
lilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.tar.bz2
lilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.zip
Move UI stuff back into slv2.h (avoid breakage).
Deprecate slv2_ui_instance_get_descriptor and slv2_ui_instance_get_handle. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3020 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/slv2_test.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/slv2_test.c b/test/slv2_test.c
index eca38ee..665448a 100644
--- a/test/slv2_test.c
+++ b/test/slv2_test.c
@@ -30,9 +30,6 @@
#include <math.h>
#include "slv2/slv2.h"
-#ifdef SLV2_WITH_UI
-#include "slv2/ui.h"
-#endif
#define TEST_PATH_MAX 1024
@@ -710,11 +707,9 @@ test_plugin()
TEST_ASSERT(slv2_value_is_string(thing_name));
TEST_ASSERT(!strcmp(slv2_value_as_string(thing_name), "Something else"));
- #ifdef SLV2_WITH_UI
SLV2UIs uis = slv2_plugin_get_uis(plug);
TEST_ASSERT(slv2_uis_size(uis) == 0);
slv2_uis_free(uis);
- #endif
slv2_values_free(thing_names);
slv2_value_free(thing_uri);
@@ -918,7 +913,6 @@ test_port()
/*****************************************************************************/
-#ifdef SLV2_WITH_UI
int
test_ui()
{
@@ -1019,7 +1013,6 @@ test_ui()
cleanup_uris();
return 1;
}
-#endif /* SLV2_WITH_UI */
/*****************************************************************************/
@@ -1035,9 +1028,7 @@ static struct TestCase tests[] = {
TEST_CASE(plugin),
TEST_CASE(port),
TEST_CASE(plugin),
-#ifdef SLV2_WITH_UI
TEST_CASE(ui),
-#endif
{ NULL, NULL }
};