Changeset 10064 in josm for trunk/test


Ignore:
Timestamp:
2016-03-28T02:57:02+02:00 (8 years ago)
Author:
Don-vip
Message:

see #12652, see #11924 - re-add a unit test in BugReportExceptionHandler, empty test class causes an error with Java 9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportExceptionHandlerTest.java

    r10062 r10064  
    22package org.openstreetmap.josm.tools.bugreport;
    33
     4import static org.junit.Assert.assertNotNull;
     5
    46import org.junit.Before;
     7import org.junit.Test;
    58import org.openstreetmap.josm.JOSMFixture;
    69
    710/**
    8  * Bug report unit tests.
     11 * Unit tests of {@link BugReportExceptionHandler} class.
    912 */
    1013public class BugReportExceptionHandlerTest {
     
    1720        JOSMFixture.createUnitTestFixture().init();
    1821    }
     22
     23    /**
     24     * Unit test for {@link BugReportExceptionHandler#buildPanel} method.
     25     */
     26    @Test
     27    public void testBuildPanel() {
     28        assertNotNull(BugReportExceptionHandler.buildPanel(new Exception()));
     29    }
    1930}
Note: See TracChangeset for help on using the changeset viewer.