Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,360 for assertEquals (0.8 sec)

  1. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(443, port);
                assertEquals(Handler.DEFAULT_HTTPS_PORT, port);
            }
    
            @Test
            @DisplayName("Should override parent HTTP port")
            void testPortOverride() {
                // When
                int httpsPort = handler.getDefaultPort();
    
                // Then
                assertEquals(443, httpsPort);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            String retrievedPassword = authenticator.getPassword();
            assertEquals("charArrayPassword", retrievedPassword, "Password should match");
    
            // Modify original array - should not affect stored password
            passwordChars[0] = 'X';
            String retrievedPassword2 = authenticator.getPassword();
            assertEquals("charArrayPassword", retrievedPassword2, "Stored password should not be affected by external changes");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Read first message
            assertEquals(1, sis.read());
            assertEquals(2, sis.read());
    
            // Read second message
            assertEquals(3, sis.read());
            assertEquals(4, sis.read());
            assertEquals(5, sis.read());
    
            // After all data is consumed, next read throws IOException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // Verify
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes");
    
            byte[] resumeKey = response.getResumeKey();
            assertNotNull(resumeKey, "Resume key should not be null");
            assertEquals(24, resumeKey.length, "Resume key should be 24 bytes");
    
            // Verify resume key content
            for (int i = 0; i < 24; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

      public void testCapacityExpansion() {
        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2));
        assertEquals(
            Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE));
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Object.class, TypeToken.of(Object[].class).getComponentType().getType());
        assertEquals(Object[].class, TypeToken.of(Object[][].class).getComponentType().getType());
        assertEquals(char.class, TypeToken.of(char[].class).getComponentType().getType());
        assertEquals(char[].class, TypeToken.of(char[][].class).getComponentType().getType());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java

            assertEquals("XBC", result);
        }
    
        @Test
        public void test_emptyChain() throws Exception {
            NormalizerChain chain = new NormalizerChain();
    
            String result = chain.normalize("test", "field");
    
            assertEquals("test", result);
        }
    
        @Test
        public void test_normalizeWithLanguages() throws Exception {
            NormalizerChain chain = new NormalizerChain();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // Then
            assertEquals(intermediateCause, finalException.getCause());
            assertEquals(rootCause, finalException.getCause().getCause());
            assertEquals("Final error", finalException.getMessage());
            assertEquals("Intermediate", intermediateCause.getMessage());
            assertEquals("Root error", rootCause.getMessage());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SMBSigningDigestTest.java

                    eq(message));
    
            assertArrayEquals(testData, dataCaptor.getValue());
            assertEquals(offset, offsetCaptor.getValue());
            assertEquals(length, lengthCaptor.getValue());
            assertEquals(extraPad, extraPadCaptor.getValue());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

            assertNotNull(response);
            assertEquals("test-index", response.getIndex());
            assertEquals(100, response.getTookMs());
            assertEquals(2, response.getNum());
            assertEquals(10, response.getTotal());
            assertEquals(2, response.getWords().size());
            assertEquals(1, response.getItems().size());
        }
    
        @Test
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top