source: josm/trunk/test/unit/org/openstreetmap/josm/gui/download/TileSelectionTest.java@ 9669

Last change on this file since 9669 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: 765 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.download;
3
4import org.junit.BeforeClass;
5import org.junit.Test;
6import org.openstreetmap.josm.JOSMFixture;
7import org.openstreetmap.josm.data.Bounds;
8
9/**
10 * Unit tests of {@link TileSelection} class.
11 */
12public 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.