Revision 6542
Added by ben leinfelder over 12 years ago
D1NodeServiceTest.java | ||
---|---|---|
36 | 36 |
import java.security.NoSuchAlgorithmException; |
37 | 37 |
import java.util.Date; |
38 | 38 |
|
39 |
import org.apache.wicket.protocol.http.MockHttpServletRequest; |
|
39 | 40 |
import org.dataone.client.ObjectFormatCache; |
40 | 41 |
import org.dataone.service.util.Constants; |
41 | 42 |
import org.dataone.service.util.TypeMarshaller; |
... | ... | |
60 | 61 |
*/ |
61 | 62 |
public class D1NodeServiceTest extends MCTestCase { |
62 | 63 |
|
63 |
/** |
|
64 |
protected MockHttpServletRequest request; |
|
65 |
|
|
66 |
/** |
|
64 | 67 |
* constructor for the test |
65 | 68 |
*/ |
66 | 69 |
public D1NodeServiceTest(String name) { |
67 | 70 |
super(name); |
71 |
// set up the fake request (for logging) |
|
72 |
request = new MockHttpServletRequest(null, null, null); |
|
68 | 73 |
} |
69 | 74 |
|
70 | 75 |
/** |
Also available in: Unified diff
add User-Agent logging to support D1 requirements