Revision 47581

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/test/java/org/gvsig/fmap/dal/store/jdbc2/AbstractTestUtils.java
315 315
            }
316 316
        }
317 317

  
318
        public boolean match(String name, int i, String value) {
319
            String exp = this.get(name, i);
320
            return FilenameUtils.wildcardMatch(value, exp);
321
        }
322
        
318 323
        public String get(String name) {
319 324
            List<String> value = this.expecteds.get(name);
320 325
            if( CollectionUtils.isEmpty(value) ) {
......
323 328
            return value.get(0);
324 329
        }
325 330

  
331
        public List<String> getAll(String name) {
332
            List<String> value = this.expecteds.get(name);
333
            if( CollectionUtils.isEmpty(value) ) {
334
                return null;
335
            }
336
            return value;
337
        }
338

  
326 339
        public String get(String name, int index) {
327 340
            List<String> value = this.expecteds.get(name);
328 341
            if( CollectionUtils.isEmpty(value) ) {

Also available in: Unified diff