Last change
on this file was 18853, checked in by taylor.smock, 6 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
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui;
|
---|
3 |
|
---|
4 | import org.junit.jupiter.api.Test;
|
---|
5 |
|
---|
6 | import net.trajano.commons.testing.UtilityClassTestUtil;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * Unit tests of {@link ConditionalOptionPaneUtil} class.
|
---|
10 | */
|
---|
11 | class ConditionalOptionPaneUtilTest {
|
---|
12 | /**
|
---|
13 | * Tests that {@code ConditionalOptionPaneUtil} satisfies utility class criteria.
|
---|
14 | * @throws ReflectiveOperationException if an error occurs
|
---|
15 | */
|
---|
16 | @Test
|
---|
17 | void testUtilityClass() throws ReflectiveOperationException {
|
---|
18 | UtilityClassTestUtil.assertUtilityClassWellDefined(ConditionalOptionPaneUtil.class);
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.