Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 279 for assertSame (0.15 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        Object key = new Object();
        Object value = new Object();
        LoadingCache<Object, Object> cache =
            builder.build(CacheLoader.from(Suppliers.ofInstance(value)));
        assertSame(value, cache.getUnchecked(key));
        assertEquals(0, cache.size());
        assertFalse(cache.asMap().containsKey(key));
      }
    
      public void testCacheBuilderFrom_string() {
        CacheBuilder<?, ?> fromString =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    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
    - 24.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            assertNotNull(resultData.getData());
            assertEquals("test data", new String(resultData.getData()));
            assertEquals(1, testTransformer.getTransformCallCount());
            assertSame(responseData, testTransformer.getLastResponseData());
        }
    
        /**
         * Test transform with null ResponseData
         */
        public void test_transform_nullResponseData() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
        Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2];
        entrySetToArray2[map.size()] = mapEntry("foo", 1);
        assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2));
        assertNull(entrySetToArray2[map.size()]);
        assertTrue(asList(entrySetToArray2).containsAll(entrySet));
    
        Object[] valuesToArray1 = valueCollection.toArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            StackTraceElement[] originalStackTrace = exception.getStackTrace();
            Throwable result = exception.fillInStackTrace();
            StackTraceElement[] newStackTrace = exception.getStackTrace();
    
            assertSame(exception, result);
            assertNotNull(newStackTrace);
            assertTrue(newStackTrace.length > 0);
        }
    
        public void test_getLocalizedMessage() {
            // Test getLocalizedMessage method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.lenient;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            // Test that getName() caches the result after first call
            String firstName = rankFusionSearcher.getName();
            String secondName = rankFusionSearcher.getName();
            assertSame(firstName, secondName);
            assertEquals("test_rank_fusion", firstName);
        }
    
        public void test_getName_customSearcherClass() {
            // Test with different searcher implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

    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.mock;
    import static org.mockito.Mockito.spy;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

                + "): "
                + Arrays.toString(actual),
            arrayEquals(expected, actual));
      }
    
      private static boolean arrayEquals(Object[] array1, Object[] array2) {
        assertSame(array1.getClass(), array2.getClass());
        return Arrays.equals(array1, array2);
      }
    
      private static void doTestNewArrayEquals(Object[] expected, int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
        UnmodifiableIterator<String> unmod = Iterators.unmodifiableIterator(mod);
        assertNotSame(mod, unmod);
        assertSame(unmod, Iterators.unmodifiableIterator(unmod));
        assertSame(unmod, Iterators.unmodifiableIterator((Iterator<String>) unmod));
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top