Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 147 for Arguments (4.98 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        }
    
        static java.util.stream.Stream<Arguments> npePublicGetters() {
            return java.util.stream.Stream.of(Arguments.of("getTreeType()", (org.junit.jupiter.api.function.Executable) () -> {
                CIFSContext ctx = mock(CIFSContext.class);
                new SmbTreeConnectionTrace(ctx).getTreeType();
            }), Arguments.of("getConnectedShare()", (org.junit.jupiter.api.function.Executable) () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        }
    
        @Test
        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
            assertEquals(message, exception.getMessage(), "Message should match the provided string");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        }
    
        private static Stream<Arguments> provideFidTestCases() {
            return Stream.of(Arguments.of(0x0000, (byte) 0x00, (byte) 0x00), Arguments.of(0x00FF, (byte) 0xFF, (byte) 0x00),
                    Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF),
                    Arguments.of(0x1234, (byte) 0x34, (byte) 0x12));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

        class DoShareEnumValidation {
    
            static Stream<Arguments> invalidShareEnumCases() {
                return Stream.of(
                        // Missing trailing slash -> should complain about directory ending
                        Arguments.of("smb://server/share", "/share", true),
                        // Not a server root -> invalid list operation
                        Arguments.of("smb://server/share/", "/share/", false));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            private static Stream<Arguments> provideOplockLevels() {
                return Stream.of(Arguments.of((byte) 0x00, "SMB2_OPLOCK_LEVEL_NONE"), Arguments.of((byte) 0x01, "SMB2_OPLOCK_LEVEL_II"),
                        Arguments.of((byte) 0x08, "SMB2_OPLOCK_LEVEL_EXCLUSIVE"), Arguments.of((byte) 0x09, "SMB2_OPLOCK_LEVEL_BATCH"),
                        Arguments.of((byte) 0xFF, "SMB2_OPLOCK_LEVEL_LEASE"));
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/HandlerTest.java

            assertNull(rel.getRef());
        }
    
        static Stream<Arguments> portSpecs() {
            return Stream.of(
                    // spec, expectedPort
                    Arguments.of("smb://server/share", SmbConstants.DEFAULT_PORT), Arguments.of("smb://server:445/share", 445),
                    Arguments.of("smb://server:139/share", 139));
        }
    
        @ParameterizedTest(name = "parseURL: {0} -> port {1}")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // When
            MsrpcLsarOpenPolicy2 msrpcLsarOpenPolicy2 = new MsrpcLsarOpenPolicy2(server, access, mockPolicyHandle);
    
            // Then
            // Verify that the super constructor is called with correct arguments
            // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito.
            // We verify the effects of the super constructor by checking the fields of the created object.
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            assertEquals(expectedFlags, msrpcSamrOpenDomain.getFlags(), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
    
            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        /**
         * The main method for the SuggestCreator application.
         *
         * @param args The command-line arguments.
         */
        public static void main(final String[] args) {
            final Options options = new Options();
            final CmdLineParser parser = new CmdLineParser(options);
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/FessBoot.java

        /**
         * Main method to start the Fess application.
         * Sets up system properties, configures Tomcat, and starts the server.
         *
         * @param args command line arguments (not used)
         */
        public static void main(final String[] args) {
            // update java.io.tmpdir
            final String tempPath = System.getProperty(FESS_TEMP_PATH);
            if (tempPath != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top