- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 95 for getAction (0.06 seconds)
-
src/test/java/jcifs/internal/NotifyResponseTest.java
assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, result.get(0).getAction()); assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, result.get(1).getAction()); assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, result.get(2).getAction()); assertEquals(FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME, result.get(3).getAction());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
class InterfaceMethodsTests { @Test @DisplayName("Test getAction method with mock") void testGetAction() { // Setup mock behavior when(mockFileNotifyInfo.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); // Test int action = mockFileNotifyInfo.getAction(); // VerifyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
when(fileNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); 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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
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()); // Verify third notification assertEquals("file3.txt", notifications.get(2).getFileName());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
int action; int fileNameLength; String fileName; /** * Default constructor for decoding. */ public FileNotifyInformationImpl() { } @Override public int getAction() { return this.action; } @Override public String getFileName() { return this.fileName; } /** * Gets the offset to the next entry. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals(3, notifications.size()); assertEquals(1, notifications.get(0).getAction()); assertEquals("file1", notifications.get(0).getFileName()); assertEquals(2, notifications.get(1).getAction()); assertEquals("file2", notifications.get(1).getFileName()); assertEquals(3, notifications.get(2).getAction()); assertEquals("file3", notifications.get(2).getFileName()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
} @Test @DisplayName("Test default constructor creates instance with null values") void testDefaultConstructor() { assertNotNull(notifyInfo); assertEquals(0, notifyInfo.getAction()); assertNull(notifyInfo.getFileName()); assertEquals(0, notifyInfo.getNextEntryOffset()); } @Test @DisplayName("Test constructor with buffer decodes correctly")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
*/ public final int getDeviceState() { return this.deviceState; } /** * Gets the action taken. * * @return the action */ public final int getAction() { return this.action; } /** * Gets the server file identifier. * * @return the serverFid */ public final int getServerFid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/FileNotifyInformation.java
int FILE_ACTION_REMOVED_BY_DELETE = 0x00000009; /** * Gets the action that triggered this notification. * * @return the action triggering this entry (FILE_ACTION_*) */ int getAction(); /** * Gets the name of the file affected by the action. * * @return the file name affected by the action */ String getFileName();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java
* * @param reasoning the detection reasoning * @return the unclear intent result */ public static IntentDetectionResult unclear(final String reasoning) { return new IntentDetectionResult(ChatIntent.UNCLEAR, null, null, reasoning); } /** * Creates a fallback search intent when intent detection fails. * * @param originalMessage the original user messageCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 4.1K bytes - Click Count (0)