source: josm/trunk/test/unit/org/openstreetmap/josm/actions/upload/ValidateUploadHookTest.java@ 9675

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

add more unit tests

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