Ignore:
Timestamp:
2015-07-06T11:47:31+02:00 (10 years ago)
Author:
nokutu
Message:

Fixed Findbugs errors, improved test and removed trailing whitespaces -- By floscher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/ImportTest.java

    r31314 r31341  
    22
    33import static org.junit.Assert.*;
     4
     5import java.io.IOException;
    46
    57import org.junit.Before;
     
    1416        }
    1517       
    16         @Test
    17         public void test() {
    18                 MapillaryImportedImage img = new MapillaryImportedImage(0,0,0, null);
    19                 assert(true);
    20         }
     18
     19    @Test(expected=IllegalArgumentException.class)
     20    public void test() throws IOException {
     21        MapillaryImportedImage img = new MapillaryImportedImage(0,0,0, null);
     22        img.getImage();
     23    }
    2124
    2225}
Note: See TracChangeset for help on using the changeset viewer.