Changeset 31823 in osm for applications/editors/josm


Ignore:
Timestamp:
2015-12-12T20:17:36+01:00 (9 years ago)
Author:
floscher
Message:

[mapillary] Skip unit tests that need a GUI on Jenkins

File:
1 edited

Legend:

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

    r31820 r31823  
    55import static org.junit.Assert.assertTrue;
    66
     7import java.awt.GraphicsEnvironment;
    78import java.lang.reflect.Field;
    89
     
    2021  @Test
    2122  public void testAddGui() {
     23    if (GraphicsEnvironment.isHeadless()) {
     24      return;
     25    }
    2226    PreferenceTabbedPane tabs = new PreferenceTabbedPane();
    2327    tabs.buildGui();
     
    3135  @Test
    3236  public void testLoginLogout() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
     37    if (GraphicsEnvironment.isHeadless()) {
     38      return;
     39    }
    3340    PreferenceTabbedPane tabs = new PreferenceTabbedPane();
    3441    tabs.buildGui();
Note: See TracChangeset for help on using the changeset viewer.