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
|
Rev | Line | |
---|
[11921] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
| 2 | package org.openstreetmap.josm.gui;
|
---|
| 3 |
|
---|
[17275] | 4 | import org.junit.jupiter.api.Test;
|
---|
[11921] | 5 |
|
---|
| 6 | import net.trajano.commons.testing.UtilityClassTestUtil;
|
---|
| 7 |
|
---|
| 8 | /**
|
---|
| 9 | * Unit tests of {@link ConditionalOptionPaneUtil} class.
|
---|
| 10 | */
|
---|
[17275] | 11 | class 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.