source: josm/trunk/test/unit/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelectTest.java@ 9669

Last change on this file since 9669 was 9669, checked in by bastiK, 8 years ago

add missing svn:eol-style=native (see #12410)

  • Property svn:eol-style set to native
File size: 825 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.tagging.presets.items;
3
4import static org.junit.Assert.assertEquals;
5
6import org.junit.BeforeClass;
7import org.junit.Test;
8import org.openstreetmap.josm.JOSMFixture;
9import org.openstreetmap.josm.gui.tagging.presets.items.ComboMultiSelect.PresetListEntry;
10
11/**
12 * Unit tests of {@link ComboMultiSelect} class.
13 */
14public class ComboMultiSelectTest {
15
16 /**
17 * Setup test.
18 */
19 @BeforeClass
20 public static void setUp() {
21 JOSMFixture.createUnitTestFixture().init();
22 }
23
24 /**
25 * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/12416">#12416</a>.
26 */
27 @Test
28 public void testTicket12416() {
29 assertEquals("&nbsp;", new PresetListEntry("").getListDisplay());
30 }
31}
Note: See TracBrowser for help on using the repository browser.