Mercurial > hg > audiodb
comparison bindings/java/test/TestQuery.java @ 726:fe2282b9bfb0
Initial querying: doesn't return results yet, but handles almost all params.
author | mas01mj |
---|---|
date | Mon, 26 Jul 2010 13:19:09 +0000 |
parents | 7e1fa27b67ee |
children | 4d9e4ff0a9cd |
comparison
equal
deleted
inserted
replaced
725:7e1fa27b67ee | 726:fe2282b9bfb0 |
---|---|
25 testDB.close(); | 25 testDB.close(); |
26 | 26 |
27 testDB.open(AudioDB.Mode.O_RDONLY); | 27 testDB.open(AudioDB.Mode.O_RDONLY); |
28 Status status = testDB.getStatus(); | 28 Status status = testDB.getStatus(); |
29 assertEquals("Two features", 2, status.getNumFiles()); | 29 assertEquals("Two features", 2, status.getNumFiles()); |
30 | |
31 Query query = new Query(); | |
32 query.setSeqLength(1); | |
33 query.setSeqStart(0); | |
34 testDB.query("feat1", query); | |
30 } | 35 } |
31 | 36 |
32 } | 37 } |