Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,466 for assertEquals (0.18 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertInstanceOf;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.refresh();
    
            assertEquals(2, suggester.getAllWordsNum());
            assertEquals(2, suggester.getDocumentWordsNum());
            assertEquals(1, suggester.getQueryWordsNum());
    
            suggester.indexer().deleteAll();
            suggester.refresh();
            assertEquals(0, suggester.getAllWordsNum());
            assertEquals(0, suggester.getDocumentWordsNum());
            assertEquals(0, suggester.getQueryWordsNum());
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // When
            int bytesRead = response.readBytesWireFormat(buffer, bodyStart);
    
            // Then
            assertEquals(dataOffsetFromHeader + dataLength - bodyStart, bytesRead);
            assertEquals(dataLength, response.getDataLength());
            assertEquals(dataRemaining, response.getDataRemaining());
    
            // Verify data was copied to output buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        }
    
        assertTrue(source.wasStreamClosed());
        assertEquals(SPLIT_LINES, lines);
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(STRING.length(), source.copyTo(builder));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        assertEquals(STRING, builder.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertEquals(34, bytesRead);
            assertEquals(5, response.getDialectIndex());
            assertTrue(response.getServerData().encryptedPasswords);
            assertEquals(50, response.getServerData().smaxMpxCount);
            assertEquals(1, response.getServerData().maxNumberVcs);
            assertEquals(16384, response.getServerData().maxBufferSize);
            assertEquals(4096, response.getServerData().maxRawSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Assert - Verify URL components
            assertEquals("smb", url1.getProtocol());
            assertEquals("host", url1.getHost());
            assertEquals(445, url1.getPort());
            assertEquals("/share", url1.getPath());
    
            assertEquals("smb", url2.getProtocol());
            assertEquals("host", url2.getHost());
            assertEquals(1234, url2.getPort());
            assertEquals("/share/file.txt", url2.getPath());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

            assertEquals(0x00000002, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, "NTLMSSP_NEGOTIATE_OEM should be 0x00000002");
        }
    
        @Test
        void testNtlmRequestTarget() {
            assertEquals(0x00000004, NtlmFlags.NTLMSSP_REQUEST_TARGET, "NTLMSSP_REQUEST_TARGET should be 0x00000004");
        }
    
        @Test
        void testNtlmNegotiateSign() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            assertEquals(testEx, concreteResponse.getException());
    
            // Test expiration
            assertNull(concreteResponse.getExpiration());
            Long exp = System.currentTimeMillis() + 10000L;
            concreteResponse.setExpiration(exp);
            assertEquals(exp, concreteResponse.getExpiration());
    
            // Test granted credits
            assertEquals(32, concreteResponse.getGrantedCredits());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top