Ignore:
Timestamp:
2016-01-25T01:18:18+01:00 (6 years ago)
Author:
Don-vip
Message:

add more unit tests + fix some sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/preferences/audio/AudioPreferenceTest.java

    r9585 r9622  
    77import org.junit.Test;
    88import org.openstreetmap.josm.JOSMFixture;
     9import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
    910
    1011/**
     
    2829        assertNotNull(new AudioPreference.Factory().createPreferenceSetting());
    2930    }
     31
     32    /**
     33     * Unit test of {@link AudioPreference#addGui}.
     34     */
     35    @Test
     36    public void testAddGui() {
     37        new AudioPreference.Factory().createPreferenceSetting().addGui(new PreferenceTabbedPane());
     38    }
    3039}
Note: See TracChangeset for help on using the changeset viewer.