Last change
on this file since 34153 was 34153, checked in by donvip, 6 years ago |
fix javadoc warnings
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.plugins.opendata.core.io.geographic;
|
---|
3 |
|
---|
4 | import java.io.File;
|
---|
5 | import java.io.FileInputStream;
|
---|
6 | import java.io.InputStream;
|
---|
7 |
|
---|
8 | import org.junit.Rule;
|
---|
9 | import org.junit.Test;
|
---|
10 | import org.openstreetmap.josm.TestUtils;
|
---|
11 | import org.openstreetmap.josm.plugins.opendata.core.io.NonRegFunctionalTests;
|
---|
12 | import org.openstreetmap.josm.testutils.JOSMTestRules;
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * Unit tests of {@link TabReader} class.
|
---|
16 | */
|
---|
17 | public class TabReaderTest {
|
---|
18 |
|
---|
19 | /**
|
---|
20 | * Setup test.
|
---|
21 | */
|
---|
22 | @Rule
|
---|
23 | public JOSMTestRules rules = new JOSMTestRules().preferences().projection().timeout(60000);
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/15159">#15159</a>
|
---|
27 | * @throws Exception if an error occurs during reading
|
---|
28 | */
|
---|
29 | @Test
|
---|
30 | public void testTicket15159() throws Exception {
|
---|
31 | File file = new File(TestUtils.getRegressionDataFile(15159, "Sanisette.tab"));
|
---|
32 | try (InputStream is = new FileInputStream(file)) {
|
---|
33 | NonRegFunctionalTests.testGeneric("#15159", TabReader.parseDataSet(is, file, null, null));
|
---|
34 | }
|
---|
35 | }
|
---|
36 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.