Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.download;
|
---|
3 |
|
---|
4 | import org.junit.BeforeClass;
|
---|
5 | import org.junit.Test;
|
---|
6 | import org.openstreetmap.josm.JOSMFixture;
|
---|
7 | import org.openstreetmap.josm.data.Bounds;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Unit tests of {@link TileSelection} class.
|
---|
11 | */
|
---|
12 | public class TileSelectionTest {
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * Setup tests
|
---|
16 | */
|
---|
17 | @BeforeClass
|
---|
18 | public static void setUpBeforeClass() {
|
---|
19 | JOSMFixture.createUnitTestFixture().init();
|
---|
20 | }
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * Test for {@link TileSelection#TileSelection}.
|
---|
24 | */
|
---|
25 | @Test
|
---|
26 | public void testTileSelection() {
|
---|
27 | TileSelection sel = new TileSelection();
|
---|
28 | sel.addGui(null);
|
---|
29 | sel.setDownloadArea(null);
|
---|
30 | sel.setDownloadArea(new Bounds(0, 0, 1, 1));
|
---|
31 | }
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.