Last change
on this file since 8809 was 8809, checked in by simon04, 9 years ago |
fix #11372 - Main: commandline uses OpenLocationAction for parsing http URLs, refactoring
|
File size:
406 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm;
|
---|
3 |
|
---|
4 | import static org.hamcrest.CoreMatchers.is;
|
---|
5 | import static org.junit.Assert.assertThat;
|
---|
6 |
|
---|
7 | import org.junit.Test;
|
---|
8 |
|
---|
9 | public class MainTest {
|
---|
10 | @Test
|
---|
11 | public void testParamType() throws Exception {
|
---|
12 | assertThat(Main.DownloadParamType.paramType("48.000,16.000,48.001,16.001"), is(Main.DownloadParamType.bounds));
|
---|
13 | }
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.