source: josm/trunk/test/unit/org/openstreetmap/josm/gui/util/FileFilterAllFilesTest.java@ 17360

Last change on this file since 17360 was 17275, checked in by Don-vip, 3 years ago

see #16567 - upgrade almost all tests to JUnit 5, except those depending on WiremockRule

See https://github.com/tomakehurst/wiremock/issues/684

  • Property svn:eol-style set to native
File size: 648 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.util;
3
4import static org.junit.jupiter.api.Assertions.assertNotNull;
5import static org.junit.jupiter.api.Assertions.assertTrue;
6
7import java.io.File;
8
9import org.junit.jupiter.api.Test;
10
11/**
12 * Unit tests of {@link FileFilterAllFiles} class.
13 */
14class FileFilterAllFilesTest {
15
16 /**
17 * Unit test of method {@link FileFilterAllFiles#getInstance}.
18 */
19 @Test
20 void testFileFilterAllFiles() {
21 assertTrue(FileFilterAllFiles.getInstance().accept(new File(".")));
22 assertNotNull(FileFilterAllFiles.getInstance().getDescription());
23 }
24}
Note: See TracBrowser for help on using the repository browser.