Last change
on this file since 12656 was 12656, checked in by Don-vip, 7 years ago |
see #15182 - move SearchCompiler from actions.search to data.osm.search
|
-
Property svn:eol-style
set to
native
|
File size:
875 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.actions.search;
|
---|
3 |
|
---|
4 | import org.junit.Rule;
|
---|
5 | import org.junit.Test;
|
---|
6 | import org.openstreetmap.josm.TestUtils;
|
---|
7 | import org.openstreetmap.josm.actions.search.SearchAction.SearchMode;
|
---|
8 | import org.openstreetmap.josm.data.osm.search.SearchCompiler;
|
---|
9 | import org.openstreetmap.josm.testutils.JOSMTestRules;
|
---|
10 |
|
---|
11 | import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * Unit tests for class {@link SearchCompiler}.
|
---|
15 | */
|
---|
16 | public class SearchActionTest {
|
---|
17 |
|
---|
18 | /**
|
---|
19 | * Setup rules.
|
---|
20 | */
|
---|
21 | @Rule
|
---|
22 | @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
|
---|
23 | public JOSMTestRules test = new JOSMTestRules();
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * Unit test of {@link SearchMode} enum.
|
---|
27 | */
|
---|
28 | @Test
|
---|
29 | public void testEnumSearchMode() {
|
---|
30 | TestUtils.superficialEnumCodeCoverage(SearchMode.class);
|
---|
31 | }
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.