Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 640 for assertTrue (0.13 sec)

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

        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
        // expired
        dummy.setAccessTime(ticker.read() - 2);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java

    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    
    public class SuggestRequestTest {
        @Test
        public void test_isHiraganaQuery() throws Exception {
            SuggestRequest request = new SuggestRequest();
            assertTrue(request.isHiraganaQuery("あ"));
            assertTrue(request.isHiraganaQuery("あおぞら"));
            assertTrue(request.isHiraganaQuery("けんさく"));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
    
        // expired
        dummy.setAccessTime(ticker.read() - 2);
        assertNull(segment.get(key, hash));
        assertFalse(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(invokable.isPublic());
        assertTrue(invokable.isProtected());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testFinalMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("publicFinalMethod");
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isPrivate());
        assertTrue(invokable.isFinal());
        assertTrue(invokable.isPublic());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertFalse(invokable.isPublic());
        assertTrue(invokable.isProtected());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testFinalMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("publicFinalMethod");
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isPrivate());
        assertTrue(invokable.isFinal());
        assertTrue(invokable.isPublic());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.hashCode();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertTrue(isNumber.apply(Integer.class));
        assertTrue(isNumber.apply(Float.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Predicates.subtypeOf
      public void testSubtypeOf_interface() {
        Predicate<Class<?>> isComparable = Predicates.subtypeOf(Comparable.class);
    
        assertTrue(isComparable.apply(Integer.class));
        assertTrue(isComparable.apply(Float.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

      }
    
      public void testContentEquals() throws IOException {
        assertTrue(source.contentEquals(source));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
    
        ByteSource equalSource = new TestByteSource(bytes);
        assertTrue(source.contentEquals(equalSource));
        assertTrue(new TestByteSource(bytes).contentEquals(source));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    functionalTests.forEachIndexed { index, it ->
                        if (index == functionalTests.size - 1) {
                            assertTrue(it.getGradleParams().contains("-PexcludeTestClasses"))
                        } else {
                            assertTrue(it.getGradleParams().contains("-PincludeTestClasses"))
                        }
                    }
                }
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        int oldSize = getNumElements();
    
        Collection<V> result = multimap().asMap().get(k0());
        assertTrue(result.remove(v0()));
    
        assertFalse(multimap().containsKey(k0()));
        assertFalse(multimap().containsEntry(k0(), v0()));
        assertEmpty(result);
    
        assertTrue(result.add(v1()));
        assertTrue(result.add(v2()));
    
        assertContentsAnyOrder(result, v1(), v2());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top