Project

General

Profile

« Previous | Next » 

Revision 6040

Added by Matt Jones over 13 years ago

Cleaned up imports.

View differences:

test/edu/ucsb/nceas/metacat/dataone/CrudServiceTest.java
25 25

  
26 26
package edu.ucsb.nceas.metacat.dataone;
27 27

  
28
import java.util.*;
29
import java.io.*;
30

  
28
import java.io.InputStream;
29
import java.io.StringBufferInputStream;
31 30
import java.security.MessageDigest;
31
import java.util.Date;
32 32

  
33
import edu.ucsb.nceas.MCTestCase;
34
import edu.ucsb.nceas.metacat.IdentifierManager;
35
import edu.ucsb.nceas.metacat.MetaCatServlet;
36
import edu.ucsb.nceas.metacat.client.MetacatAuthException;
37
import edu.ucsb.nceas.metacat.client.MetacatException;
38
import edu.ucsb.nceas.metacat.client.MetacatInaccessibleException;
39
import edu.ucsb.nceas.metacat.dataone.CrudService;
40 33
import junit.framework.Test;
41 34
import junit.framework.TestSuite;
42 35

  
43 36
import org.apache.commons.io.IOUtils;
44
import org.dataone.service.exceptions.InvalidRequest;
45
import org.dataone.service.exceptions.InvalidToken;
46
import org.dataone.service.exceptions.NotAuthorized;
47
import org.dataone.service.exceptions.NotImplemented;
48
import org.dataone.service.exceptions.ServiceFailure;
49
import org.dataone.service.types.*;
37
import org.dataone.service.types.AuthToken;
38
import org.dataone.service.types.Checksum;
39
import org.dataone.service.types.ChecksumAlgorithm;
40
import org.dataone.service.types.DescribeResponse;
41
import org.dataone.service.types.Identifier;
42
import org.dataone.service.types.Log;
43
import org.dataone.service.types.LogEntry;
44
import org.dataone.service.types.NodeReference;
45
import org.dataone.service.types.ObjectFormat;
46
import org.dataone.service.types.ObjectInfo;
47
import org.dataone.service.types.ObjectList;
48
import org.dataone.service.types.Principal;
49
import org.dataone.service.types.SystemMetadata;
50 50

  
51
import edu.ucsb.nceas.MCTestCase;
52
import edu.ucsb.nceas.metacat.MetaCatServlet;
53
import edu.ucsb.nceas.metacat.client.rest.MetacatRestClient;
51 54
import edu.ucsb.nceas.metacat.properties.PropertyService;
52
import edu.ucsb.nceas.metacat.client.rest.MetacatRestClient;
53

  
54 55
import edu.ucsb.nceas.metacat.service.SessionService;
55 56
import edu.ucsb.nceas.metacat.util.SessionData;
56 57

  
57
import com.gc.iotools.stream.is.InputStreamFromOutputStream;
58

  
59 58
/**
60 59
 * A JUnit test for testing the dataone CrudService class
61 60
 */

Also available in: Unified diff