Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 136 of 136 for test_equals (2.32 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                data2 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);
            }
    
            @Test
            @DisplayName("Should be equal for same values")
            void testEquals() {
                assertEquals(data1, data2);
                assertEquals(data2, data1);
            }
    
            @Test
            @DisplayName("Should be equal to itself")
            void testEqualsSelf() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

                hashFunction.newHasher().putUnencodedChars("ab").putChar('c').hash(),
                hashFunction.newHasher().putChar('a').putChar('b').putChar('c').hash())
            .testEquals();
    
        int size = random.nextInt(2048);
        byte[] bytes = new byte[size];
        random.nextBytes(bytes);
        String string = new String(bytes, US_ASCII);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
        assertEquals(ASCII, Files.toString(temp2, UTF_8));
      }
    
      public void testEqual() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertFalse(Files.equal(asciiFile, i18nFile));
        assertTrue(Files.equal(asciiFile, asciiFile));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                    .put("foo", 1)
                    .build())
            .addEqualityGroup(
                ImmutableSetMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                testMessage.setMid(12345L);
                assertEquals(12345, testMessage.hashCode());
            }
    
            @Test
            @DisplayName("Should be equal when MIDs match")
            void testEquals() {
                TestServerMessageBlock2 other = new TestServerMessageBlock2(mockConfig);
                testMessage.setMid(12345L);
                other.setMid(12345L);
    
                assertTrue(testMessage.equals(other));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
        assertEquals(ASCII, Files.toString(temp2, UTF_8));
      }
    
      public void testEqual() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
        assertFalse(Files.equal(asciiFile, i18nFile));
        assertTrue(Files.equal(asciiFile, asciiFile));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top