diff options
author | David Robillard <d@drobilla.net> | 2011-12-30 08:23:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-30 08:23:19 +0000 |
commit | 8708ccb858ddbf5d521c4755e137bd04544a6ae5 (patch) | |
tree | 2da5030db36592ff19b13f8ff802a5f5c3bfb3b8 /test/test_plugin.ttl | |
parent | c5c4a6e935eecc2d2dac7bb9cccd36057b8dc123 (diff) | |
download | lilv-8708ccb858ddbf5d521c4755e137bd04544a6ae5.tar.gz lilv-8708ccb858ddbf5d521c4755e137bd04544a6ae5.tar.bz2 lilv-8708ccb858ddbf5d521c4755e137bd04544a6ae5.zip |
Support arbitrary binary data in plugin state via base64 encoding.
Unit testing for plugin instantiation and state.
Build without LV2 state available.
Support URID values in plugin state nicely.
Fix various holes in state implementation exposed by tests.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3908 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/test_plugin.ttl')
-rw-r--r-- | test/test_plugin.ttl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/test_plugin.ttl b/test/test_plugin.ttl new file mode 100644 index 0000000..ec16d00 --- /dev/null +++ b/test/test_plugin.ttl @@ -0,0 +1,40 @@ +# Lilv Test Plugin +# Copyright 2011 David Robillard <d@drobilla.net> +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +@prefix doap: <http://usefulinc.com/ns/doap#> . +@prefix foaf: <http://xmlns.com/foaf/0.1/> . +@prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix ui: <http://lv2plug.in/ns/extensions/ui#> . + +<http://example.org/lilv-test-plugin> + a lv2:Plugin ; + doap:name "Lilv Test" ; + doap:license <http://opensource.org/licenses/isc> ; + lv2:requiredFeature <http://lv2plug.in/ns/ext/urid#Mapper> ; + lv2:optionalFeature lv2:hardRtCapable ; + lv2:extensionData <http://lv2plug.in/ns/ext/state#Interface> ; + lv2:port [ + a lv2:InputPort , + lv2:ControlPort ; + lv2:index 0 ; + lv2:symbol "input" ; + lv2:name "Input" + ] , [ + a lv2:OutputPort , + lv2:ControlPort ; + lv2:index 1 ; + lv2:symbol "output" ; + lv2:name "Output" + ] . |