Github user kinow commented on a diff in the pull request:

    https://github.com/apache/commons-imaging/pull/15#discussion_r159147413
  
    --- Diff: 
src/test/java/org/apache/commons/imaging/formats/jpeg/specific/JpegImageParserTest.java
 ---
    @@ -0,0 +1,48 @@
    +/*
    + * Copyright 2015 The Apache Software Foundation.
    + *
    + * Licensed under the Apache License, Version 2.0 (the "License");
    + * you may not use this file except in compliance with the License.
    + * You may obtain a copy of the License at
    + *
    + *      http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.commons.imaging.formats.jpeg.specific;
    +
    +import java.awt.image.BufferedImage;
    +import java.io.File;
    +import java.io.IOException;
    +import org.apache.commons.imaging.ImageReadException;
    +import org.apache.commons.imaging.ImagingTestConstants;
    +import org.apache.commons.imaging.common.bytesource.ByteSourceFile;
    +import org.apache.commons.imaging.formats.jpeg.JpegImageParser;
    +import org.junit.Test;
    +import static org.junit.Assert.*;
    +
    +/**
    + * Basic tests for JpegImageParser.
    + */
    +public final class JpegImageParserTest {
    +    /**
    +     * Image created with The Gimp 2.8
    +     * @throws ImageReadException
    +     * @throws IOException 
    +     */
    +    @Test
    +    public void testGetBufferedImage10() throws ImageReadException, 
IOException {
    +        final File imageFile = new 
File(ImagingTestConstants.TEST_SPECIFIC_FOLDER, "jpg/10/1402522741337.jpg");
    --- End diff --
    
    I'd use a different directory structure, but this can be done later after 
this gets merged.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to