source: josm/trunk/test/unit/org/openstreetmap/josm/gui/ConditionalOptionPaneUtilTest.java

Last change on this file was 18853, checked in by taylor.smock, 8 months ago

See #16567: Update to JUnit 5

This removes new JOSMTestRules() with no additional setup and most
JOSMFixture calls.

Removing the bare JOSMTestRules speeds up the test suite since there are two
fewer System.gc() calls per test.

  • Property svn:eol-style set to native
File size: 625 bytes
RevLine 
[11921]1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui;
3
[17275]4import org.junit.jupiter.api.Test;
[11921]5
6import net.trajano.commons.testing.UtilityClassTestUtil;
7
8/**
9 * Unit tests of {@link ConditionalOptionPaneUtil} class.
10 */
[17275]11class ConditionalOptionPaneUtilTest {
[11921]12 /**
[16182]13 * Tests that {@code ConditionalOptionPaneUtil} satisfies utility class criteria.
[11921]14 * @throws ReflectiveOperationException if an error occurs
15 */
16 @Test
[17275]17 void testUtilityClass() throws ReflectiveOperationException {
[11921]18 UtilityClassTestUtil.assertUtilityClassWellDefined(ConditionalOptionPaneUtil.class);
19 }
20}
Note: See TracBrowser for help on using the repository browser.