Changeset 5114
- Timestamp:
- 05/02/14 07:51:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/trunk/vlo-commons/src/test/java/eu/clarin/cmdi/vlo/config/DefaultVloConfigFactoryTest.java
r5093 r5114 39 39 public void testGetDataRoots() { 40 40 41 ArrayList<DataRoot> dataRoots; 42 dataRoots = new ArrayList<DataRoot>(); 43 44 dataRoots.add(new DataRoot("MPI IMDI Archive", 45 new File("/lat/apache/htdocs/oai-harvester/mpi-self-harvest/harvested/results/cmdi/"), 46 "http://catalog.clarin.eu/", 47 "/lat/apache/htdocs/", false)); 48 dataRoots.add(new DataRoot("CMDI Providers", 49 new File("/lat/apache/htdocs/oai-harvester/cmdi-providers/harvested/results/cmdi/"), 50 "http://catalog.clarin.eu/", 51 "/lat/apache/htdocs/", false)); 52 dataRoots.add(new DataRoot("OLAC Metadata Providers", 53 new File("/lat/apache/htdocs/oai-harvester/olac-and-dc-providers/harvested/results/cmdi/"), 54 "http://catalog.clarin.eu/", 55 "/lat/apache/htdocs/", false)); 56 57 System.out.println("getDataRoots"); 41 List<DataRoot> dataRoots = Arrays.asList( 42 new DataRoot("CLARIN Centres", 43 new File("/lat/apache/htdocs/oai-harvester/clarin/results/cmdi/"), 44 "http://catalog.clarin.eu/", 45 "/lat/apache/htdocs/", false), 46 new DataRoot("Other", 47 new File("/lat/apache/htdocs/oai-harvester/others/results/cmdi"), 48 "http://catalog.clarin.eu/", 49 "/lat/apache/htdocs/", false)); 58 50 59 51 List<DataRoot> rootsReturned = config.getDataRoots(); … … 67 59 public void testSetDataRoots() { 68 60 69 ArrayList<DataRoot> dataRoots = new ArrayList<DataRoot>(); 70 71 dataRoots.add(new DataRoot("MPI IMDI Archive", 72 new File("/lat/apache/htdocs/oai-harvester/mpi-self-harvest/harvested/results/cmdi/"), 73 "http://catalog.clarin.eu/", 74 "/lat/apache/htdocs/", false)); 75 dataRoots.add(new DataRoot("CMDI Providers", 76 new File("/lat/apache/htdocs/oai-harvester/cmdi-providers/harvested/results/cmdi/"), 77 "http://catalog.clarin.eu/", 78 "/lat/apache/htdocs/", false)); 79 dataRoots.add(new DataRoot("OLAC Metadata Providers", 80 new File("/lat/apache/htdocs/oai-harvester/olac-and-dc-providers/harvested/results/cmdi/"), 81 "http://catalog.clarin.eu/", 82 "/lat/apache/htdocs/", false)); 61 List<DataRoot> dataRoots = Arrays.asList( 62 new DataRoot("MPI IMDI Archive", 63 new File("/lat/apache/htdocs/oai-harvester/mpi-self-harvest/harvested/results/cmdi/"), 64 "http://catalog.clarin.eu/", 65 "/lat/apache/htdocs/", false), 66 new DataRoot("CMDI Providers", 67 new File("/lat/apache/htdocs/oai-harvester/cmdi-providers/harvested/results/cmdi/"), 68 "http://catalog.clarin.eu/", 69 "/lat/apache/htdocs/", false), 70 new DataRoot("OLAC Metadata Providers", 71 new File("/lat/apache/htdocs/oai-harvester/olac-and-dc-providers/harvested/results/cmdi/"), 72 "http://catalog.clarin.eu/", 73 "/lat/apache/htdocs/", false)); 83 74 84 75 System.out.println("setDataRoots");
Note: See TracChangeset
for help on using the changeset viewer.