- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for getFilename (0.61 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: Sun Sep 07 00:10:21 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.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"; } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
assertEquals(exp, transformer.getFileName(url, Constants.UTF_8)); url = "http://example.com/" + encodeUrl("#") + "/@@folder/test.txt"; exp = "test.txt"; assertEquals(exp, transformer.getFileName(url, Constants.UTF_8)); url = "http://example.com/test%20+%2B.txt"; exp = "test +.txt"; assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
try (Stream<Path> stream = Files.list(logDirPath)) { stream.filter(entry -> isLogFilename(entry.getFileName().toString())).sorted().forEach(filePath -> { final Map<String, Object> map = new HashMap<>(); final String name = filePath.getFileName().toString(); map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)