|
Last change
on this file since 6562 was 6562, checked in by simon04, 12 years ago |
|
fix #9327 - tagging presets: fix handling of nested <reference>s, refactor railway presets
|
|
File size:
656 bytes
|
| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file.
|
|---|
| 2 | package org.openstreetmap;
|
|---|
| 3 |
|
|---|
| 4 | import org.junit.Ignore;
|
|---|
| 5 |
|
|---|
| 6 | @Ignore
|
|---|
| 7 | public class TestUtils {
|
|---|
| 8 | private TestUtils() {
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | /**
|
|---|
| 12 | * Returns the path to test data root directory.
|
|---|
| 13 | */
|
|---|
| 14 | public static String getTestDataRoot() {
|
|---|
| 15 | String testDataRoot = System.getProperty("josm.test.data");
|
|---|
| 16 | if (testDataRoot == null || testDataRoot.isEmpty()) {
|
|---|
| 17 | testDataRoot = "test/data";
|
|---|
| 18 | System.out.println("System property josm.test.data is not set, using '" + testDataRoot + "'");
|
|---|
| 19 | }
|
|---|
| 20 | return testDataRoot.endsWith("/") ? testDataRoot : testDataRoot + "/";
|
|---|
| 21 | }
|
|---|
| 22 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.