source: josm/trunk/test/unit/org/openstreetmap/josm/gui/download/PlaceSelectionTest.java@ 18037

Last change on this file since 18037 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: 633 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.download;
3
4import org.openstreetmap.josm.data.Bounds;
5import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
6
7import org.junit.jupiter.api.Test;
8
9/**
10 * Unit tests of {@link PlaceSelection} class.
11 */
12@BasicPreferences
13class PlaceSelectionTest {
14 /**
15 * Test for {@link PlaceSelection#PlaceSelection}.
16 */
17 @Test
18 void testBookmarkSelection() {
19 PlaceSelection sel = new PlaceSelection();
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.