source: josm/trunk/test/unit/org/openstreetmap/josm/gui/layer/NoteLayerTest.java@ 11241

Last change on this file since 11241 was 10650, checked in by Don-vip, 8 years ago

see #13208 - update unit test

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