Project

General

Profile

« Previous | Next » 

Revision 6829

defer to super class member variables

View differences:

test/edu/ucsb/nceas/metacattest/NonAsciiCharacterTest.java
25 25

  
26 26
package edu.ucsb.nceas.metacattest;
27 27

  
28
import java.io.InputStream;
28
import java.io.File;
29 29
import java.io.InputStreamReader;
30 30
import java.io.Reader;
31 31
import java.io.StringReader;
......
35 35
import java.util.SimpleTimeZone;
36 36
import java.util.TimeZone;
37 37

  
38
import junit.framework.Test;
39
import junit.framework.TestSuite;
38 40
import edu.ucsb.nceas.MCTestCase;
39 41
import edu.ucsb.nceas.metacat.client.InsufficientKarmaException;
40
import edu.ucsb.nceas.metacat.client.Metacat;
41 42
import edu.ucsb.nceas.metacat.client.MetacatAuthException;
42 43
import edu.ucsb.nceas.metacat.client.MetacatException;
43 44
import edu.ucsb.nceas.metacat.client.MetacatFactory;
44 45
import edu.ucsb.nceas.metacat.client.MetacatInaccessibleException;
45 46
import edu.ucsb.nceas.metacat.properties.PropertyService;
46
import edu.ucsb.nceas.utilities.FileUtil;
47 47
import edu.ucsb.nceas.utilities.IOUtil;
48 48
import edu.ucsb.nceas.utilities.PropertyNotFoundException;
49
import junit.framework.Test;
50
import junit.framework.TestSuite;
51
import java.io.File;
52 49

  
53
import org.apache.commons.io.IOUtils;
54

  
55 50
/**
56 51
 * A JUnit test for testing Metacat when Non Ascii Characters are inserted
57 52
 */
58 53
public class NonAsciiCharacterTest
59 54
    extends MCTestCase {
60 55

  
61
    private static String metacatUrl;
62
    private static String username;
63
	private static String password;
64
	private static String anotheruser;
65
	private static String anotherpassword;
66 56
	static {
67 57
		try {
68 58
		    metacatUrl = PropertyService.getProperty("test.metacatUrl");
......
76 66
		}
77 67
	}
78 68

  
79
    private String prefix = "test";
80
    private String testdocument = "";
81

  
82
    private Metacat m;
83

  
84 69
    /**
85 70
     * These variables are for eml-2.0.1 only. For other eml versions,
86 71
     * this function might have to modified

Also available in: Unified diff