Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getOption (0.92 sec)

  1. 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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. 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());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        final String val = str.substring(mark, si).trim();
                        if (key == null) {
                            key = "endpoint";
                        }
                        binding.setOption(key, val);
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                        mark = si + 1;
                        if (key == null) {
                            key = "endpoint";
                        }
                        if (binding != null) {
                            binding.setOption(key, val);
                        }
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. gradle/wrapper/gradle-wrapper.jar

    final class CommandLineOption { public final java.util.HashSet options; public Class argumentType; public String description; public final java.util.HashSet groupWith; public void CommandLineOption(java.util.List); public final java.util.HashSet getOptions(); } org/gradle/cli/CommandLineParser$AfterOptions.class package org.gradle.cli; public final class CommandLineParser$AfterOptions extends CommandLineParser$ParserState { public final ParsedCommandLine commandLine; public void CommandLineParser...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 44.4K bytes
    - Viewed (1)
Back to top