diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 06:02:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 06:02:12 +0000 |
commit | 2a16021425dab995e902d133b060ebcf6c59a00c (patch) | |
tree | 042783cc69184323d799da5db497461d108f6a89 /test | |
parent | 00ceff504269034db8e1bfb54a97b5732c2dadce (diff) | |
download | lilv-2a16021425dab995e902d133b060ebcf6c59a00c.tar.gz lilv-2a16021425dab995e902d133b060ebcf6c59a00c.tar.bz2 lilv-2a16021425dab995e902d133b060ebcf6c59a00c.zip |
More future-proof collection APIs.
Make all iterator actions occur through a collection specific function.
Verbose, and a low of API, but allows for the possibility of different
collection implementation types (given a choice between verbosity and no type
safety, I'll take verbosity).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3211 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r-- | test/slv2_test.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/slv2_test.c b/test/slv2_test.c index 94338c7..0c2ad2e 100644 --- a/test/slv2_test.c +++ b/test/slv2_test.c @@ -306,22 +306,6 @@ test_value() /*****************************************************************************/ -int -test_values() -{ - init_world(); - SLV2Value v0 = slv2_value_new_uri(world, "http://example.org/"); - SLV2Values vs1 = slv2_values_new(); - TEST_ASSERT(vs1); - TEST_ASSERT(!slv2_values_size(vs1)); - TEST_ASSERT(!slv2_values_contains(vs1, v0)); - slv2_values_free(vs1); - slv2_value_free(v0); - return 1; -} - -/*****************************************************************************/ - static int discovery_plugin_found = 0; static void @@ -337,8 +321,6 @@ discovery_verify_plugin(SLV2Plugin plugin) TEST_ASSERT(slv2_value_is_uri(lib_uri)); TEST_ASSERT(slv2_value_as_uri(lib_uri)); TEST_ASSERT(strstr(slv2_value_as_uri(lib_uri), "foo.so")); - /* this is already being tested as ticket291, but the discovery and ticket291 - * may diverge at some point, so I'm duplicating it here */ TEST_ASSERT(slv2_plugin_verify(plugin)); } } @@ -951,7 +933,6 @@ test_ui() static struct TestCase tests[] = { TEST_CASE(utils), TEST_CASE(value), - TEST_CASE(values), TEST_CASE(verify), TEST_CASE(no_verify), TEST_CASE(discovery), |