- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for acceptReturnsTrueWhenNameMatches (0.37 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
* a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt"); assertTrue(filter.accept(dir, "Hello.TXT")); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0)