mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 11:05:29 -04:00
Reenabled now fixed test case
This commit is contained in:
parent
673527abe5
commit
abdecf1d5e
@ -147,7 +147,7 @@ public class ImageServletResponseImplTestCase extends MockObjectTestCase {
|
||||
}
|
||||
|
||||
// Transcode original PNG to JPEG with no other changes
|
||||
public void _testTranscodeResponse() throws IOException {
|
||||
public void testTranscodeResponse() throws IOException {
|
||||
Mock mockResponse = mock(HttpServletResponse.class);
|
||||
mockResponse.expects(once()).method("setContentType").with(eq(CONTENT_TYPE_JPEG));
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||
@ -194,7 +194,7 @@ public class ImageServletResponseImplTestCase extends MockObjectTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void _testTranscodeResponseIndexedCM() throws IOException {
|
||||
public void testTranscodeResponseIndexedCM() throws IOException {
|
||||
// Custom setup
|
||||
Mock mockRequest = mock(HttpServletRequest.class);
|
||||
mockRequest.stubs().method("getAttribute").will(returnValue(null));
|
||||
|
Loading…
x
Reference in New Issue
Block a user