Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 474 for assertAll (0.12 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

        assertEquals(
            "getOrDefault(absent, def) should return the default value",
            v3(),
            getMap().getOrDefault(k3(), v3()));
      }
    
      public void testGetOrDefault_absentNullDefault() {
        assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_absentNull() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.anyString;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertEquals("", user.getName());
    
            // Test with null name
            user = new TestFessUser(null, new String[] {}, new String[] {}, new String[] {});
            assertNull(user.getName());
    
            // Test with special characters in name
            user = new TestFessUser("******@****.***", new String[] {}, new String[] {}, new String[] {});
            assertEquals("******@****.***", user.getName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue));
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().put(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(newValue, cache.getUnchecked(entry.getKey()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/HandlerTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.atLeastOnce;
    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
    - 7.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            assertEquals("unknown", fileTypeHelper.get("non/existent"));
        }
    
        public void test_setDefaultValue_withNull() {
            fileTypeHelper.setDefaultValue(null);
            assertNull(fileTypeHelper.getDefaultValue());
            assertNull(fileTypeHelper.get("non/existent"));
        }
    
        public void test_setDefaultValue_withEmpty() {
            fileTypeHelper.setDefaultValue("");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            void testDomain() {
                assertNull(referralData.getDomain());
                referralData.setDomain("EXAMPLE.COM");
                assertEquals("EXAMPLE.COM", referralData.getDomain());
            }
    
            @Test
            @DisplayName("Should get and set link")
            void testLink() {
                assertNull(referralData.getLink());
                referralData.setLink("\\\\server\\share\\link");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        for (BoundType type : BoundType.values()) {
          assertNull(sortedMultiset.headMultiset(e0(), type).lastEntry());
          assertNull(sortedMultiset.tailMultiset(e0(), type).firstEntry());
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMultisetLast() {
        assertNull(sortedMultiset.lastEntry());
        assertThrows(
            NoSuchElementException.class, () -> assertNull(sortedMultiset.elementSet().last()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    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.ArgumentMatchers.any;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top