Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 636 for incorrect (0.32 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

        }
    
        @Test
        public void test_AllHttpMethodFactories() {
            // ## Test that all factory methods create requests with correct methods ##
    
            // ## Act & Assert ##
            assertEquals(Method.GET, Curl.get("http://test.com").method());
            assertEquals(Method.POST, Curl.post("http://test.com").method());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertNull(context.getCiphers());
            }
        }
    
        @Nested
        @DisplayName("Context Type Tests")
        class ContextTypeTests {
    
            @Test
            @DisplayName("Should return correct context type")
            void testGetContextType() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            recordNameField.setAccessible(true);
            assertNotNull(recordNameField.get(response));
    
            // Verify macAddress is initialized with correct size
            Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress");
            macAddressField.setAccessible(true);
            byte[] macAddress = (byte[]) macAddressField.get(response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            testNonce = new byte[16];
            new SecureRandom().nextBytes(testNonce);
            testSessionId = 0x123456789ABCDEF0L;
        }
    
        @Test
        @DisplayName("Should create transform header with correct size")
        void testTransformHeaderSize() {
            // When
            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertEquals("0011", Hexdump.toHexString(data4, 2, 4)); // Bug: ignores srcIndex, reads from 0
        }
    
        @Test
        @DisplayName("Should perform hexdump with correct formatting")
        void testHexdump() {
            // Capture output
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream ps = new PrintStream(baos);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/BufferCacheTest.java

        @BeforeEach
        void setUp() {
            testCache = new TestBufferCacheImpl(5, 1024); // 5 buffers of 1KB each
        }
    
        @Test
        @DisplayName("BufferCache interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            BufferCache cache = mockBufferCache;
    
            // When & Then - verify interface methods exist and can be called
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. misc/ios/detect.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // detect attempts to autodetect the correct
    // values of the environment variables
    // used by go_ios_exec.
    // detect shells out to ideviceinfo, a third party program that can
    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

         */
        @Test
        void testGetFlags() {
            int expectedFlags = 0xAABBCCDD;
            AvFlags avFlags = new AvFlags(expectedFlags);
            assertEquals(expectedFlags, avFlags.getFlags(), "getFlags should return the correct integer value");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            assertEquals(targetName, avTargetName.getTargetName(), "Retrieved target name should match the original string");
        }
    
        /**
         * Test getTargetName() method with raw bytes input.
         * Verifies that the correct string is reconstructed from raw UTF-16LE bytes.
         */
        @Test
        void testGetTargetNameFromRawBytesConstructor() {
            String originalString = "RawBytesTarget";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

        @Test
        void testHelpIncludesAllOption() throws Exception {
            UpgradeContext context = createMockContext();
    
            help.execute(context);
    
            // Verify that the --all option is mentioned with correct description
            Mockito.verify(context.logger)
                    .info(
                            "  -a, --all             Apply all upgrades (equivalent to --model-version 4.1.0 --infer --model --plugins)");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top