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:
623 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.download;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.Bounds;
|
---|
5 | import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
|
---|
6 |
|
---|
7 | import org.junit.jupiter.api.Test;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Unit tests of {@link TileSelection} class.
|
---|
11 | */
|
---|
12 | @BasicPreferences
|
---|
13 | class TileSelectionTest {
|
---|
14 | /**
|
---|
15 | * Test for {@link TileSelection#TileSelection}.
|
---|
16 | */
|
---|
17 | @Test
|
---|
18 | void testTileSelection() {
|
---|
19 | TileSelection sel = new TileSelection();
|
---|
20 | sel.addGui(null);
|
---|
21 | sel.setDownloadArea(null);
|
---|
22 | sel.setDownloadArea(new Bounds(0, 0, 1, 1));
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.