summaryrefslogtreecommitdiffstats
path: root/test/test_plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-03 21:13:53 +0000
committerDavid Robillard <d@drobilla.net>2012-03-03 21:13:53 +0000
commitd0d2c13f9a86238cdb6235ac858e51a2469d0ed3 (patch)
tree4e659c65d7df331808e2a7d824013ba1265eaa70 /test/test_plugin.c
parentccca9167f350ab62e0b8adb529a238f61a0ec499 (diff)
downloadlilv-d0d2c13f9a86238cdb6235ac858e51a2469d0ed3.tar.gz
lilv-d0d2c13f9a86238cdb6235ac858e51a2469d0ed3.tar.bz2
lilv-d0d2c13f9a86238cdb6235ac858e51a2469d0ed3.zip
Use a fully-fledged Atom serialisation API for state saving.
Add lilv_state_to_string(). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4018 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/test_plugin.c')
-rw-r--r--test/test_plugin.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_plugin.c b/test/test_plugin.c
index ea6d154..d125a7f 100644
--- a/test/test_plugin.c
+++ b/test/test_plugin.c
@@ -222,9 +222,7 @@ save(LV2_Handle instance,
map_uri(plugin, NS_ATOM "Bool"),
LV2_STATE_IS_POD | LV2_STATE_IS_PORTABLE);
- const uint8_t blob[] = "This is a bunch of data that happens to be text"
- " but could really be anything at all, lest you feel like cramming"
- " all sorts of ridiculous binary stuff in Turtle";
+ const uint8_t blob[] = "I am a blob of arbitrary data.";
store(callback_data,
map_uri(plugin, "http://example.org/blob"),
blob,