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.
|
---|
2 | package org.openstreetmap.josm.gui.util;
|
---|
3 |
|
---|
4 | import static org.junit.Assert.assertNotNull;
|
---|
5 | import static org.junit.Assert.assertTrue;
|
---|
6 |
|
---|
7 | import java.io.File;
|
---|
8 |
|
---|
9 | import org.junit.Test;
|
---|
10 |
|
---|
11 | /**
|
---|
12 | * Unit tests of {@link FileFilterAllFiles} class.
|
---|
13 | */
|
---|
14 | public 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.