annotate tests/misc-queries/test-query-transforms @ 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 |
|
rev |
line source |
Chris@0
|
1
|
Chris@0
|
2 PREFIX vamp: <http://purl.org/ontology/vamp/>
|
Chris@0
|
3
|
Chris@0
|
4 SELECT ?transform ?plugin ?output ?program
|
Chris@0
|
5 ?step_size ?block_size ?window_type
|
Chris@0
|
6 ?sample_rate ?start ?duration
|
Chris@0
|
7
|
Chris@0
|
8 FROM <file:///work/runner/transforms/percussiononsets.n3>
|
Chris@0
|
9
|
Chris@0
|
10 WHERE {
|
Chris@0
|
11 ?transform a vamp:Transform ;
|
Chris@0
|
12 vamp:plugin ?plugin .
|
Chris@0
|
13 OPTIONAL { ?transform vamp:output ?output } .
|
Chris@0
|
14 OPTIONAL { ?transform vamp:program ?program } .
|
Chris@0
|
15 OPTIONAL { ?transform vamp:step_size ?step_size } .
|
Chris@0
|
16 OPTIONAL { ?transform vamp:block_size ?block_size } .
|
Chris@0
|
17 OPTIONAL { ?transform vamp:window_type ?window_type } .
|
Chris@0
|
18 OPTIONAL { ?transform vamp:sample_rate ?sample_rate } .
|
Chris@0
|
19 OPTIONAL { ?transform vamp:start ?start } .
|
Chris@0
|
20 OPTIONAL { ?transform vamp:duration ?duration }
|
Chris@0
|
21 }
|