summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/bad_syntax.lv2/test_bad_syntax.c2
-rw-r--r--test/failed_instantiation.lv2/test_failed_instantiation.c2
-rw-r--r--test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c2
-rw-r--r--test/lib_descriptor.lv2/test_lib_descriptor.c2
-rw-r--r--test/lilv_test_utils.c4
-rw-r--r--test/missing_descriptor.lv2/test_missing_descriptor.c2
-rw-r--r--test/missing_name.lv2/test_missing_name.c2
-rw-r--r--test/missing_plugin.lv2/test_missing_plugin.c2
-rw-r--r--test/missing_port.lv2/test_missing_port.c2
-rw-r--r--test/missing_port_name.lv2/test_missing_port_name.c2
-rw-r--r--test/test_state.c6
11 files changed, 14 insertions, 14 deletions
diff --git a/test/bad_syntax.lv2/test_bad_syntax.c b/test/bad_syntax.lv2/test_bad_syntax.c
index b1d7986..6403560 100644
--- a/test/bad_syntax.lv2/test_bad_syntax.c
+++ b/test/bad_syntax.lv2/test_bad_syntax.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/failed_instantiation.lv2/test_failed_instantiation.c b/test/failed_instantiation.lv2/test_failed_instantiation.c
index 846cdce..7e910c2 100644
--- a/test/failed_instantiation.lv2/test_failed_instantiation.c
+++ b/test/failed_instantiation.lv2/test_failed_instantiation.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c b/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c
index 9d2c377..920f4a5 100644
--- a/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c
+++ b/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/lib_descriptor.lv2/test_lib_descriptor.c b/test/lib_descriptor.lv2/test_lib_descriptor.c
index 650dd79..914986f 100644
--- a/test/lib_descriptor.lv2/test_lib_descriptor.c
+++ b/test/lib_descriptor.lv2/test_lib_descriptor.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/lilv_test_utils.c b/test/lilv_test_utils.c
index 7a494ce..6f0b8d9 100644
--- a/test/lilv_test_utils.c
+++ b/test/lilv_test_utils.c
@@ -94,8 +94,8 @@ create_bundle(LilvTestEnv* env,
return 1;
}
- SerdNode* s = serd_new_file_uri(SERD_MEASURE_STRING(env->test_bundle_path),
- SERD_EMPTY_STRING());
+ SerdNode* s =
+ serd_new_file_uri(SERD_STRING(env->test_bundle_path), SERD_EMPTY_STRING());
env->test_bundle_uri = lilv_new_uri(env->world, serd_node_string(s));
env->test_manifest_path =
diff --git a/test/missing_descriptor.lv2/test_missing_descriptor.c b/test/missing_descriptor.lv2/test_missing_descriptor.c
index 00ed8ae..3f901b0 100644
--- a/test/missing_descriptor.lv2/test_missing_descriptor.c
+++ b/test/missing_descriptor.lv2/test_missing_descriptor.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/missing_name.lv2/test_missing_name.c b/test/missing_name.lv2/test_missing_name.c
index 78f1cab..c6de224 100644
--- a/test/missing_name.lv2/test_missing_name.c
+++ b/test/missing_name.lv2/test_missing_name.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/missing_plugin.lv2/test_missing_plugin.c b/test/missing_plugin.lv2/test_missing_plugin.c
index 84e664d..4143f36 100644
--- a/test/missing_plugin.lv2/test_missing_plugin.c
+++ b/test/missing_plugin.lv2/test_missing_plugin.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/missing_port.lv2/test_missing_port.c b/test/missing_port.lv2/test_missing_port.c
index c752399..05430cb 100644
--- a/test/missing_port.lv2/test_missing_port.c
+++ b/test/missing_port.lv2/test_missing_port.c
@@ -24,7 +24,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* const abs_bundle = lilv_path_absolute(bundle_path);
- const SerdStringView abs_bundle_view = SERD_MEASURE_STRING(abs_bundle);
+ const SerdStringView abs_bundle_view = SERD_STRING(abs_bundle);
SerdNode* bundle = serd_new_file_uri(abs_bundle_view, SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
diff --git a/test/missing_port_name.lv2/test_missing_port_name.c b/test/missing_port_name.lv2/test_missing_port_name.c
index d61fa63..e9dcae8 100644
--- a/test/missing_port_name.lv2/test_missing_port_name.c
+++ b/test/missing_port_name.lv2/test_missing_port_name.c
@@ -25,7 +25,7 @@ main(int argc, char** argv)
// Load test plugin bundle
char* abs_bundle = lilv_path_absolute(bundle_path);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
lilv_world_load_bundle(world, bundle);
free(abs_bundle);
serd_node_free(bundle);
diff --git a/test/test_state.c b/test/test_state.c
index e12bfdc..1acad5e 100644
--- a/test/test_state.c
+++ b/test/test_state.c
@@ -248,7 +248,7 @@ load_test_plugin(const TestContext* const ctx)
LilvWorld* world = ctx->env->world;
char* abs_bundle = lilv_path_absolute(LILV_TEST_BUNDLE);
SerdNode* bundle =
- serd_new_file_uri(SERD_MEASURE_STRING(abs_bundle), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING());
LilvNode* bundle_uri = lilv_new_uri(world, serd_node_string(bundle));
LilvNode* plugin_uri = lilv_new_uri(world, TEST_PLUGIN_URI);
@@ -550,7 +550,7 @@ count_statements(const char* path)
size_t n_statements = 0;
SerdWorld* const world = serd_world_new();
- const SerdStringView path_view = SERD_MEASURE_STRING(path);
+ const SerdStringView path_view = SERD_STRING(path);
SerdNode* const base = serd_new_file_uri(path_view, SERD_EMPTY_STRING());
SerdEnv* const env = serd_env_new(serd_node_string_view(base));
@@ -919,7 +919,7 @@ test_world_round_trip(void)
// Load state bundle into world
SerdNode* bundle_uri =
- serd_new_file_uri(SERD_MEASURE_STRING(bundle_path), SERD_EMPTY_STRING());
+ serd_new_file_uri(SERD_STRING(bundle_path), SERD_EMPTY_STRING());
LilvNode* const bundle_node =
lilv_new_uri(world, serd_node_string(bundle_uri));
LilvNode* const state_node = lilv_new_uri(world, state_uri);