Last change
on this file since 11241 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:
893 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.layer;
|
---|
3 |
|
---|
4 | import static org.junit.Assert.assertEquals;
|
---|
5 |
|
---|
6 | import org.junit.BeforeClass;
|
---|
7 | import org.junit.Test;
|
---|
8 | import org.openstreetmap.josm.JOSMFixture;
|
---|
9 | import org.openstreetmap.josm.data.imagery.ImageryInfo;
|
---|
10 | import org.openstreetmap.josm.data.imagery.ImageryInfo.ImageryType;
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Unit tests of {@link WMTSLayer} class.
|
---|
14 | */
|
---|
15 | public class WMTSLayerTest {
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Setup tests
|
---|
19 | */
|
---|
20 | @BeforeClass
|
---|
21 | public static void setUpBeforeClass() {
|
---|
22 | JOSMFixture.createUnitTestFixture().init();
|
---|
23 | }
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * Unit test of {@link WMTSLayer#WMTSLayer}.
|
---|
27 | */
|
---|
28 | @Test
|
---|
29 | public void testWMTSLayer() {
|
---|
30 | WMTSLayer wmts = new WMTSLayer(new ImageryInfo("test wmts", "http://localhost", "wmts", null, null));
|
---|
31 | assertEquals(ImageryType.WMTS, wmts.getInfo().getImageryType());
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.