Project

General

Profile

« Previous | Next » 

Revision 6372

refactor Constants

View differences:

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

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

  
28
import static org.junit.Assert.assertTrue;
29 28

  
30 29
import java.io.ByteArrayInputStream;
31 30
import java.io.InputStream;
......
33 32
import java.text.SimpleDateFormat;
34 33
import java.util.Calendar;
35 34
import java.util.Date;
36
import java.util.List;
37 35

  
38 36
import junit.framework.Test;
39 37
import junit.framework.TestSuite;
40 38

  
41 39
import org.apache.commons.io.IOUtils;
42 40
import org.dataone.configuration.Settings;
43
import org.dataone.service.Constants;
41
import org.dataone.service.util.Constants;
44 42
import org.dataone.service.exceptions.IdentifierNotUnique;
45 43
import org.dataone.service.exceptions.InsufficientResources;
46 44
import org.dataone.service.exceptions.InvalidRequest;
......
62 60
import org.dataone.service.types.v1.MonitorList;
63 61
import org.dataone.service.types.v1.Node;
64 62
import org.dataone.service.types.v1.NodeReference;
65
import org.dataone.service.types.v1.ObjectFormat;
66 63
import org.dataone.service.types.v1.ObjectFormatIdentifier;
67 64
import org.dataone.service.types.v1.ObjectList;
68 65
import org.dataone.service.types.v1.Permission;
test/edu/ucsb/nceas/metacat/dataone/CNodeServiceTest.java
34 34
import junit.framework.TestSuite;
35 35

  
36 36
import org.apache.commons.io.IOUtils;
37
import org.dataone.service.Constants;
37
import org.dataone.service.util.Constants;
38 38
import org.dataone.service.exceptions.InsufficientResources;
39 39
import org.dataone.service.exceptions.InvalidRequest;
40 40
import org.dataone.service.exceptions.NotAuthorized;

Also available in: Unified diff