Last change
on this file since 8857 was 8857, checked in by Don-vip, 9 years ago |
improve/cleanup unit tests
|
-
Property svn:eol-style
set to
native
|
File size:
659 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.io.remotecontrol.handler;
|
---|
3 |
|
---|
4 | import static org.junit.Assert.assertThat;
|
---|
5 |
|
---|
6 | import org.hamcrest.CoreMatchers;
|
---|
7 | import org.junit.Test;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Unit tests of {@link ImportHandler} class.
|
---|
11 | */
|
---|
12 | public class ImportHandlerTest {
|
---|
13 |
|
---|
14 | @Test
|
---|
15 | public void test7434() throws Exception {
|
---|
16 |
|
---|
17 | final ImportHandler req = new ImportHandler();
|
---|
18 | req.setUrl("http://localhost:8111/import?url=http://localhost:8888/relations?relations=19711&mode=recursive");
|
---|
19 | assertThat(req.args.get("url"), CoreMatchers.is("http://localhost:8888/relations?relations=19711&mode=recursive"));
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.