Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for getAction (0.12 seconds)

  1. 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)
  2. 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();
    
                // Verify
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java

                    return "";
                }
            });
    
            mimeTypeHelper.init();
    
            // With empty config, no override is applied; content-based detection runs
            try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) {
                final String contentType = mimeTypeHelper.getContentType(is, "test.sql");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 24 09:06:33 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @DisplayName("Should generate correct pipe URL with address option")
            void testMakePipeUrl_WithAddressOption() throws Exception {
                lenient().when(mockDcerpcBinding.getOption("server")).thenReturn(null);
                when(mockDcerpcBinding.getOption("address")).thenReturn("192.168.1.1");
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  9. ADDING_NEW_LANGUAGE.md

    | `LanguageHelper` | `org.codelibs.fess.helper` | Language detection and validation |
    | `SystemHelper` | `org.codelibs.fess.helper` | UI language dropdown builder |
    | `FessUserLocaleProcessProvider` | `org.codelibs.fess.mylasta.direction.sponsor` | User locale detection |
    
    ## Language Detection and Selection
    
    ### User Interface Language
    
    Fess determines the UI language in this order:
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 11:36:30 GMT 2025
    - 10.4K bytes
    - Click Count (1)
  10. src/main/java/jcifs/util/ResourceManager.java

    /**
     * Centralized resource management for preventing resource leaks.
     * Tracks all AutoCloseable resources and ensures proper cleanup.
     *
     * Features:
     * - Automatic resource cleanup with weak references
     * - Resource leak detection
     * - Resource usage monitoring
     * - Periodic cleanup of abandoned resources
     * - Detailed resource tracking and reporting
     */
    public class ResourceManager {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top