Changeset 30559 in osm for applications/editors
- Timestamp:
- 2014-08-04T21:36:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/test/unit/org/openstreetmap/josm/plugins/graphview/core/access/AccessRulesetReaderTest.java
r30550 r30559 15 15 16 16 import org.junit.Test; 17 import org.openstreetmap.josm.TestUtils; 17 18 import org.openstreetmap.josm.plugins.graphview.core.data.MapBasedTagGroup; 18 19 import org.openstreetmap.josm.plugins.graphview.core.data.Tag; 19 20 import org.openstreetmap.josm.plugins.graphview.core.data.TagGroup; 20 21 21 22 22 public class AccessRulesetReaderTest { … … 25 25 public void testReadAccessRuleset_valid_classes() throws IOException { 26 26 27 InputStream is = new FileInputStream( "plugins/graphview/test/data/accessRuleset_valid.xml");27 InputStream is = new FileInputStream(TestUtils.getTestDataRoot()+"accessRuleset_valid.xml"); 28 28 AccessRuleset ruleset = AccessRulesetReader.readAccessRuleset(is); 29 29 assertNotNull(ruleset); … … 51 51 public void testReadAccessRuleset_valid_basetags() throws IOException { 52 52 53 InputStream is = new FileInputStream( "plugins/graphview/test/data/accessRuleset_valid.xml");53 InputStream is = new FileInputStream(TestUtils.getTestDataRoot()+"accessRuleset_valid.xml"); 54 54 AccessRuleset ruleset = AccessRulesetReader.readAccessRuleset(is); 55 55 assertNotNull(ruleset); … … 67 67 public void testReadAccessRuleset_valid_implications() throws IOException { 68 68 69 InputStream is = new FileInputStream( "plugins/graphview/test/data/accessRuleset_valid.xml");69 InputStream is = new FileInputStream(TestUtils.getTestDataRoot()+"accessRuleset_valid.xml"); 70 70 AccessRuleset ruleset = AccessRulesetReader.readAccessRuleset(is); 71 71 assertNotNull(ruleset);
Note:
See TracChangeset
for help on using the changeset viewer.