source: josm/trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImportHandlerTest.java@ 8624

Last change on this file since 8624 was 8624, checked in by bastiK, 9 years ago

add missing svn:eol-style=native

  • Property svn:eol-style set to native
File size: 605 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io.remotecontrol.handler;
3
4import static org.junit.Assert.assertThat;
5
6import org.hamcrest.CoreMatchers;
7import org.junit.Test;
8
9public class ImportHandlerTest {
10
11 @Test
12 public void test7434() throws Exception {
13
14 final ImportHandler req = new ImportHandler();
15 req.setUrl("http://localhost:8111/import?url=http://localhost:8888/relations?relations=19711&mode=recursive");
16 assertThat(req.args.get("url"), CoreMatchers.is("http://localhost:8888/relations?relations=19711&mode=recursive"));
17 }
18}
Note: See TracBrowser for help on using the repository browser.