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.
|
---|
2 | package org.openstreetmap.josm.actions.upload;
|
---|
3 |
|
---|
4 | import org.junit.BeforeClass;
|
---|
5 | import org.junit.Test;
|
---|
6 | import org.openstreetmap.josm.JOSMFixture;
|
---|
7 | import org.openstreetmap.josm.data.APIDataSet;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Unit tests for class {@link ValidateUploadHook}.
|
---|
11 | */
|
---|
12 | public 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.