|
Last change
on this file since 18037 was 18037, checked in by Don-vip, 4 years ago |
|
fix #21064 - Add JUnit 5 extension for preferences (patch by taylor.smock)
|
-
Property svn:eol-style
set to
native
|
|
File size:
698 bytes
|
| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file.
|
|---|
| 2 | package org.openstreetmap.josm.gui.oauth;
|
|---|
| 3 |
|
|---|
| 4 | import static org.junit.jupiter.api.Assertions.assertNotNull;
|
|---|
| 5 |
|
|---|
| 6 | import org.openstreetmap.josm.gui.MainApplication;
|
|---|
| 7 | import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
|
|---|
| 8 |
|
|---|
| 9 | import org.junit.jupiter.api.Test;
|
|---|
| 10 |
|
|---|
| 11 | /**
|
|---|
| 12 | * Unit tests of {@link FullyAutomaticAuthorizationUI} class.
|
|---|
| 13 | */
|
|---|
| 14 | @BasicPreferences
|
|---|
| 15 | class FullyAutomaticAuthorizationUITest {
|
|---|
| 16 | /**
|
|---|
| 17 | * Unit test of {@link FullyAutomaticAuthorizationUI#FullyAutomaticAuthorizationUI}.
|
|---|
| 18 | */
|
|---|
| 19 | @Test
|
|---|
| 20 | void testFullyAutomaticAuthorizationUI() {
|
|---|
| 21 | assertNotNull(new FullyAutomaticAuthorizationUI("", MainApplication.worker));
|
|---|
| 22 | }
|
|---|
| 23 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.