Ignore:
Timestamp:
02/25/14 14:25:15 (10 years ago)
Author:
twagoo
Message:
  • List of facets in config now a list, not string array
  • Renamed SolrQueryFactory? to SolrFacetQueryFactory? (there will be a separate one for documents)
  • It now gets the list of facets to query for, not the config that holds that list
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-commons/src/test/java/eu/clarin/cmdi/vlo/config/VloConfigMarshallerTest.java

    r4517 r4565  
    5656        assertEquals("http://localhost:8080/vlo_solr/", config.getSolrUrl());
    5757        assertEquals(3, config.getDataRoots().size());
    58         assertEquals(13, config.getFacetFields().length);
     58        assertEquals(13, config.getFacetFields().size());
    5959    }
    6060
     
    6767        config.setSolrUrl("http://server/solr");
    6868        config.setDataRoots(Arrays.asList(new DataRoot("originName", new File("rootFile"), "prefix", "toStrip", Boolean.FALSE)));
    69         config.setFacetFields(new String[]{"collection", "country", "continent"});
     69        config.setFacetFields(Arrays.asList("collection", "country", "continent"));
    7070        final StringWriter sw = new StringWriter();
    7171        instance.marshal(config, new StreamResult(sw));
Note: See TracChangeset for help on using the changeset viewer.