// License: GPL. For details, see LICENSE file. package org.openstreetmap.josm.actions.search; import org.junit.Rule; import org.junit.Test; import org.openstreetmap.josm.TestUtils; import org.openstreetmap.josm.actions.search.SearchAction.SearchMode; import org.openstreetmap.josm.testutils.JOSMTestRules; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; /** * Unit tests for class {@link SearchCompiler}. */ public class SearchActionTest { /** * Setup rules. */ @Rule @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") public JOSMTestRules test = new JOSMTestRules(); /** * Unit test of {@link SearchMode} enum. */ @Test public void testEnumSearchMode() { TestUtils.superficialEnumCodeCoverage(SearchMode.class); } }