- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for getFilename (1.47 sec)
-
src/test/java/jcifs/internal/NotifyResponseTest.java
// Verify all filenames are preserved assertEquals("added.txt", result.get(0).getFileName()); assertEquals("removed.txt", result.get(1).getFileName()); assertEquals("modified.txt", result.get(2).getFileName()); assertEquals("oldname.txt", result.get(3).getFileName()); assertEquals("newname.txt", result.get(4).getFileName()); } @Test @DisplayName("Test NotifyResponse with stream actions")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
} if (!form.jarFile.getFileName().endsWith(".jar")) { throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()), this::asListHtml); } final String filename = form.jarFile.getFileName();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
}) @DisplayName("Test getFileName with various file names") void testGetFileNameWithVariousValues(String fileName) { when(mockFileNotifyInfo.getFileName()).thenReturn(fileName); assertEquals(fileName, mockFileNotifyInfo.getFileName()); } @Test @DisplayName("Test getFileName with null value") void testGetFileNameWithNull() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertArrayEquals(testFileId, response.getFileId()); } @Test @DisplayName("getFileName should return the file name passed in constructor") void testGetFileName() { assertEquals(testFileName, response.getFileName()); } } @Nested @DisplayName("writeBytesWireFormat Tests") class WriteBytesWireFormatTests {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
return file; } @Override public String getRemoteFilename() { return getFilename(); } @Override public String getLocalFilename(ArtifactRepository repository) { return getFilename(); } private String getFilename() { return getArtifactId() + "-" + artifact.getVersion() + ".pom"; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
assertEquals(1, modules.size()); assertEquals("plexus-1.0.11.pom", unresolved.get(0).getFileName().toString()); assertEquals("test-extension-1.jar", classes.get(0).getFileName().toString()); assertEquals("junit-4.13.1.jar", modules.get(0).getFileName().toString()); assertTrue(paths.containsAll(classes)); assertTrue(paths.containsAll(modules));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt"); when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt"); when(fileNotifyInfo3.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED); when(fileNotifyInfo3.getFileName()).thenReturn("deletedfile.txt");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
void testDefaultConstructor() { assertNotNull(notifyInfo); assertEquals(0, notifyInfo.getAction()); assertNull(notifyInfo.getFileName()); assertEquals(0, notifyInfo.getNextEntryOffset()); } @Test @DisplayName("Test constructor with buffer decodes correctly") void testConstructorWithBuffer() throws IOException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
// Verify first notification assertEquals("file1.txt", notifications.get(0).getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction()); // Verify second notification assertEquals("file2.txt", notifications.get(1).getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, notifications.get(1).getAction());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFileIndex, fileBothDirectoryInfo.getFileIndex()); } @Test @DisplayName("Test getFilename returns correct filename") void testGetFilename() throws SMBProtocolDecodingException { // Prepare test data String expectedFilename = "longfilename.docx";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0)