Mercurial > hg > sonic-annotator
view tests/misc-queries/test-query-plugin-output-types @ 59:52b9d58edb78
Ensure expected output (as well as test output) gets canonicalised before comparison. The test in question still fails -- I think now only because of plugin output ordering changes (prior to svcore rev f3fd2988fc9b it also had picked up some incorrect output feature types)
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2012 16:30:44 +0000 |
parents | 92911f967a16 |
children |
line wrap: on
line source
PREFIX vamp: <http://purl.org/ontology/vamp/> PREFIX examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#> SELECT ?output_id ?output_type ?feature_type ?event_type ?unit FROM <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins> WHERE { ?plugin a vamp:Plugin . ?plugin vamp:identifier "percussiononsets" . ?plugin vamp:output_descriptor ?output . ?output vamp:identifier ?output_id . ?output a ?output_type . OPTIONAL { ?output vamp:computes_feature_type ?feature_type } . OPTIONAL { ?output vamp:computes_event_type ?event_type } . OPTIONAL { ?output vamp:unit ?unit } . }