source: josm/trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/DownloadTaskListTest.java@ 10047

Last change on this file since 10047 was 10047, checked in by Don-vip, 8 years ago

add more unit tests

  • Property svn:eol-style set to native
File size: 701 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.actions.downloadtasks;
3
4import static org.junit.Assert.assertTrue;
5
6import org.junit.BeforeClass;
7import org.junit.Test;
8import org.openstreetmap.josm.JOSMFixture;
9
10/**
11 * Unit tests for class {@link DownloadTaskList}.
12 */
13public class DownloadTaskListTest {
14
15 /**
16 * Setup test.
17 */
18 @BeforeClass
19 public static void setUp() {
20 JOSMFixture.createUnitTestFixture().init();
21 }
22
23 /**
24 * Unit test of {@code DownloadTaskList#DownloadTaskList}.
25 */
26 @Test
27 public void testDownloadTaskList() {
28 assertTrue(new DownloadTaskList().getDownloadedPrimitives().isEmpty());
29 }
30}
Note: See TracBrowser for help on using the repository browser.