Revision 3567
Added by Jing Tao over 16 years ago
BuildIndexTest.java | ||
---|---|---|
67 | 67 |
private String testdocument = ""; |
68 | 68 |
private Metacat m; |
69 | 69 |
private MetaCatUtil util; |
70 |
/* Initialize Options*/ |
|
71 |
static |
|
72 |
{ |
|
73 |
try |
|
74 |
{ |
|
75 |
Options.initialize(new File("build/tests/metacat.properties")); |
|
76 |
MetaCatUtil.pathsForIndexing |
|
77 |
= MetaCatUtil.getOptionList(MetaCatUtil.getOption("indexPaths")); |
|
78 |
} |
|
79 |
catch(Exception e) |
|
80 |
{ |
|
81 |
System.err.println("Exception in initialize option in MetacatServletNetTest "+e.getMessage()); |
|
82 |
} |
|
83 |
} |
|
70 | 84 |
|
71 | 85 |
/** |
72 | 86 |
* Constructor to build the test |
Also available in: Unified diff
Add code to initialize Options and some code clean up