summaryrefslogtreecommitdiffstats
path: root/test/lilv_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-29 22:49:40 +0000
committerDavid Robillard <d@drobilla.net>2015-01-29 22:49:40 +0000
commit48648e4330b224391307343198152cce4f446874 (patch)
treecd643b485161a7ea2bea5497a01788d06c0d2e8d /test/lilv_test.c
parent4ff9f0b0b78681e4015feb1b2a54ec6f7becf563 (diff)
downloadlilv-48648e4330b224391307343198152cce4f446874.tar.gz
lilv-48648e4330b224391307343198152cce4f446874.tar.bz2
lilv-48648e4330b224391307343198152cce4f446874.zip
Add lilv_file_uri_parse() for correct URI to path conversion.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5528 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/lilv_test.c')
-rw-r--r--test/lilv_test.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 6d652c1..a1b8f04 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -215,17 +215,6 @@ cleanup_uris(void)
/*****************************************************************************/
static int
-test_utils(void)
-{
- TEST_ASSERT(!strcmp(lilv_uri_to_path("file:///tmp/blah"), "/tmp/blah"));
- TEST_ASSERT(!lilv_uri_to_path("file:/example.org/blah"));
- TEST_ASSERT(!lilv_uri_to_path("http://example.org/blah"));
- return 1;
-}
-
-/*****************************************************************************/
-
-static int
test_value(void)
{
if (!start_bundle(MANIFEST_PREFIXES
@@ -1867,7 +1856,6 @@ test_string(void)
/* add tests here */
static struct TestCase tests[] = {
- TEST_CASE(utils),
TEST_CASE(value),
TEST_CASE(verify),
TEST_CASE(no_verify),