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

Last change on this file since 11202 was 11202, checked in by Don-vip, 7 years ago

increase test coverage

  • Property svn:eol-style set to native
File size: 618 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.util;
3
4import static org.junit.Assert.assertNotNull;
5import static org.junit.Assert.assertTrue;
6
7import java.io.File;
8
9import org.junit.Test;
10
11/**
12 * Unit tests of {@link FileFilterAllFiles} class.
13 */
14public class FileFilterAllFilesTest {
15
16 /**
17 * Unit test of method {@link FileFilterAllFiles#getInstance}.
18 */
19 @Test
20 public 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.