Last change
on this file was 18037, checked in by Don-vip, 3 years ago |
fix #21064 - Add JUnit 5 extension for preferences (patch by taylor.smock)
|
-
Property svn:eol-style
set to
native
|
File size:
714 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.preferences.imagery;
|
---|
3 |
|
---|
4 | import static org.junit.jupiter.api.Assertions.assertEquals;
|
---|
5 | import static org.junit.jupiter.api.Assertions.assertFalse;
|
---|
6 |
|
---|
7 |
|
---|
8 | import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
|
---|
9 |
|
---|
10 | import org.junit.jupiter.api.Test;
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Unit tests of {@link AddTMSLayerPanel} class.
|
---|
14 | */
|
---|
15 | @BasicPreferences
|
---|
16 | class AddTMSLayerPanelTest {
|
---|
17 | /**
|
---|
18 | * Unit test of {@link AddTMSLayerPanel}.
|
---|
19 | */
|
---|
20 | @Test
|
---|
21 | void testAddTMSLayerPanel() {
|
---|
22 | AddTMSLayerPanel panel = new AddTMSLayerPanel();
|
---|
23 | assertEquals("", panel.getImageryInfo().getUrl());
|
---|
24 | assertFalse(panel.isImageryValid());
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.