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

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