Project

General

Profile

« Previous | Next » 

Revision 4355

Added by daigle about 16 years ago

Move common constants into MCTestCase base class

View differences:

test/edu/ucsb/nceas/MCTestCase.java
38 38
    extends TestCase {
39 39
	
40 40
    private static boolean printDebug = false;
41
    
42
	protected static String EML2_0_0 = "EML2_0_0";
43
	protected static String EML2_0_1 = "EML2_0_1";
44
	protected static String EML2_1_0 = "EML2_1_0";
41 45
	
46
	protected boolean SUCCESS = true;
47
	protected boolean FAILURE = false;
48

  
42 49
	static {
43 50
		try {
44 51
			PropertyService.getInstance("build/tests");
test/edu/ucsb/nceas/metacattest/AccessControlTest.java
79 79
	private String onlinetestdatafile2 = "test/onlineDataFile2";
80 80
	private static final String ALLOWFIRST = "allowFirst";
81 81
	private static final String DENYFIRST = "denyFirst";
82
	private static String EML2_0_0 = "EML2_0_0";
83
	private static String EML2_0_1 = "EML2_0_1";
84
	private static String EML2_1_0 = "EML2_1_0";
85 82

  
86 83
	private Metacat m;
87 84

  
88
	private boolean SUCCESS = true;
89
	private boolean FAILURE = false;
90

  
91 85
	/**
92 86
	 * These variables are for eml-2.0.1 only. For other eml versions, this
93 87
	 * function might have to modified
test/edu/ucsb/nceas/metacattest/InlineDataAccessTest.java
77 77

  
78 78
    private Metacat m;
79 79

  
80
    private boolean SUCCESS = true;
81
    private boolean FAILURE = false;
82

  
83 80
    /**
84 81
     * These variables are for eml-2.0.1 only. For other eml versions,
85 82
     * this function might have to modified

Also available in: Unified diff