Revision 4213
Added by daigle almost 16 years ago
QuerySpecificationTest.java | ||
---|---|---|
96 | 96 |
{ |
97 | 97 |
PropertyService.getInstance("build/tests"); |
98 | 98 |
MetaCatUtil.pathsForIndexing |
99 |
= MetaCatUtil.getOptionList(PropertyService.getProperty("indexPaths")); |
|
99 |
= MetaCatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
|
|
100 | 100 |
} |
101 | 101 |
catch(Exception e) |
102 | 102 |
{ |
... | ... | |
148 | 148 |
try { |
149 | 149 |
System.out.println("---- SQL ------------------"); |
150 | 150 |
QuerySpecification qspec = new QuerySpecification(xml, |
151 |
PropertyService.getProperty("saxparser"), |
|
151 |
PropertyService.getProperty("xml.saxparser"),
|
|
152 | 152 |
PropertyService.getProperty("document.accNumSeparator")); |
153 | 153 |
String query = qspec.printSQL(false); |
154 | 154 |
assertTrue(selectionQuery.equals(query.trim())); |
... | ... | |
167 | 167 |
try { |
168 | 168 |
System.out.println("---- orginal EXT SQL ------------------\n"+extendedQuery); |
169 | 169 |
QuerySpecification qspec = new QuerySpecification(xml, |
170 |
PropertyService.getProperty("saxparser"), |
|
170 |
PropertyService.getProperty("xml.saxparser"),
|
|
171 | 171 |
PropertyService.getProperty("document.accNumSeparator")); |
172 | 172 |
String query = |
173 | 173 |
qspec.printExtendedSQL( |
Also available in: Unified diff
qualify xml and eml properties with an xml. prefix