Project

General

Profile

« Previous | Next » 

Revision 3870

Added by Jing Tao over 16 years ago

Check into cvs head. Move the initialize option statement to the begining of class.

View differences:

test/edu/ucsb/nceas/metacattest/BuildIndexTest.java
56 56
 */
57 57
public class BuildIndexTest extends TestCase
58 58
{
59
    private String metacatUrl = MetaCatUtil.getOption("metacatUrl");;
60
    private String propertyFileName = 
61
    	MetaCatUtil.getOption("installDir") + "/WEB-INF/metacat.properties";
62
    private String username = MetaCatUtil.getOption("mcuser");
63
    private String password = MetaCatUtil.getOption("mcpassword");
64
    private String prefix = "test";
65
    private String newdocid = null;
66
    private String testfile = "test/eml-sample.xml";
67
    private String testdocument = "";
68
    private Metacat m;
69
    private MetaCatUtil util;
70
    /* Initialize Options*/
59
	 /* Initialize Options*/
71 60
    static
72 61
    {
73 62
  	  try
......
81 70
  		  System.err.println("Exception in initialize option in MetacatServletNetTest "+e.getMessage());
82 71
  	  }
83 72
    }
73
    
74
    private String metacatUrl = MetaCatUtil.getOption("metacatUrl");;
75
    private String propertyFileName = 
76
    	MetaCatUtil.getOption("installDir") + "/WEB-INF/metacat.properties";
77
    private String username = MetaCatUtil.getOption("mcuser");
78
    private String password = MetaCatUtil.getOption("mcpassword");
79
    private String prefix = "test";
80
    private String newdocid = null;
81
    private String testfile = "test/eml-sample.xml";
82
    private String testdocument = "";
83
    private Metacat m;
84
    private MetaCatUtil util;
85
   
84 86

  
85 87
    /**
86 88
     * Constructor to build the test

Also available in: Unified diff