commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbduncan <...@git.apache.org>
Subject [GitHub] commons-imaging pull request #28: Increase code coverage one
Date Mon, 17 Jul 2017 18:21:52 GMT
Github user jbduncan commented on a diff in the pull request:

    https://github.com/apache/commons-imaging/pull/28#discussion_r127783301
  
    --- Diff: src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcTypeLookupTest.java
---
    @@ -0,0 +1,28 @@
    +package org.apache.commons.imaging.formats.jpeg.iptc;
    +
    +import org.junit.Test;
    +
    +import static org.junit.Assert.assertEquals;
    +
    +/**
    + * Unit tests for class {@link IptcTypeLookup}.
    + *
    + * @date 2017-07-13
    + * @see IptcTypeLookup
    + *
    + **/
    +public class IptcTypeLookupTest{
    +
    +
    +    @Test
    +    public void testGetIptcTypeWithPositive() {
    +
    +        IptcType iptcType = IptcTypeLookup.getIptcType(1117);
    +
    +        assertEquals( 1117, iptcType.getType() );
    +        assertEquals( "Unknown", iptcType.getName() );
    --- End diff --
    
    Ditto regarding spaces at start and end of parameter lists.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message