diff options
author | David Robillard <d@drobilla.net> | 2016-07-14 15:48:58 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-14 15:48:58 -0400 |
commit | d92e316db4d5e28a05400d834e9f43c592f764fb (patch) | |
tree | ac071034fc96d97cd096c24e0a5d72f4d8b7f2d1 /test/missing_plugin.lv2/missing_plugin.c | |
parent | 84ec2ee47279f87b4ed9ee44c9153f52a97732da (diff) | |
download | lilv-d92e316db4d5e28a05400d834e9f43c592f764fb.tar.gz lilv-d92e316db4d5e28a05400d834e9f43c592f764fb.tar.bz2 lilv-d92e316db4d5e28a05400d834e9f43c592f764fb.zip |
Improve test coverage
Diffstat (limited to 'test/missing_plugin.lv2/missing_plugin.c')
-rw-r--r-- | test/missing_plugin.lv2/missing_plugin.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/missing_plugin.lv2/missing_plugin.c b/test/missing_plugin.lv2/missing_plugin.c index 577d42a..4d21226 100644 --- a/test/missing_plugin.lv2/missing_plugin.c +++ b/test/missing_plugin.lv2/missing_plugin.c @@ -21,8 +21,23 @@ #define PLUGIN_URI "http://example.org/missing-plugin" +static const LV2_Descriptor descriptor = { + "http://example.org/not-the-plugin-you-are-looking-for", + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL +}; + LV2_SYMBOL_EXPORT const LV2_Descriptor* lv2_descriptor(uint32_t index) { + if (index == 0) { + return &descriptor; + } + return NULL; } |