Project

General

Profile

« Previous | Next » 

Revision 4719

Added by daigle over 15 years ago

Create a propertyService.getTestInstance method to facilitate unit tests

View differences:

QuerySpecificationTest.java
94 94
    {
95 95
  	  try
96 96
  	  {
97
		  PropertyService.getInstance("build/tests");
97
//		  PropertyService.getInstance("build/tests");
98
		  PropertyService.getInstance();
98 99
  		  MetacatUtil.pathsForIndexing 
99 100
  		         = MetacatUtil.getOptionList(PropertyService.getProperty("xml.indexPaths"));
100 101
  	  }
......
121 122
    {
122 123
        super.setUp();
123 124
        try {
124
  		  	PropertyService.getInstance("build/tests");
125
//  		  	PropertyService.getInstance("build/tests");
126
  		  	PropertyService.getInstance();
125 127
            String xmlfile = "./test/query.xml";
126 128
            xml = new FileReader(new File(xmlfile));
127 129
        } catch (FileNotFoundException e) {

Also available in: Unified diff