Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 710 for assertTrue (0.18 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        @Override
        public boolean offer(E o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.offer(o);
        }
    
        @Override
        public @Nullable E poll() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.poll();
        }
    
        @Override
        public E remove() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove();
        }
    
        @Override
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-04-19 19:24
    - 7.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloserTest.java

        assertFalse(c1.isClosed());
        assertFalse(c2.isClosed());
        assertFalse(c3.isClosed());
    
        closer.close();
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertTrue(c3.isClosed());
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_fromTryBlock() throws IOException {
        Closer closer = new Closer(suppressor);
    
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2024-03-06 15:15
    - 13.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java

        }
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return super.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return super.equals(o);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-04-06 12:56
    - 8.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

        }
    
        @Override
        public @Nullable E ceiling(E e) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().ceiling(e);
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return delegate().descendingIterator();
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().descendingSet();
        }
    
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-04-19 19:24
    - 7.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

        }
    
        @Override
        public @Nullable E ceiling(E e) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().ceiling(e);
        }
    
        @Override
        public Iterator<E> descendingIterator() {
          return delegate().descendingIterator();
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate().descendingSet();
        }
    
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-04-19 19:24
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(NavigableSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(NavigableMap.class).isEmpty());
        assertTrue(ArbitraryInstances.get(LinkedList.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Deque.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Queue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(PriorityQueue.class).isEmpty());
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-09-06 17:04
    - 21.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        @Override
        public boolean offer(E o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.offer(o);
        }
    
        @Override
        public @Nullable E poll() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.poll();
        }
    
        @Override
        public E remove() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove();
        }
    
        @Override
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2023-04-19 19:24
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertFalse(paramMap.containsKey("xxx"));
            assertTrue(paramMap.containsKey("aaa"));
            assertTrue(paramMap.containsKey("aaa_bbb"));
            assertTrue(paramMap.containsKey("aaaBbb"));
            assertTrue(paramMap.containsKey("AaaBbb"));
            assertFalse(paramMap.containsKey("aaabbb"));
            assertTrue(paramMap.containsKey("aaa_bbb_ccc"));
            assertTrue(paramMap.containsKey("aaaBbbCcc"));
    Java
    - Registered: 2024-04-15 08:04
    - Last Modified: 2024-02-22 01:37
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(TypeToken.of(char[][].class).isArray());
        assertTrue(TypeToken.of(byte[].class).isArray());
        assertTrue(TypeToken.of(short[].class).isArray());
        assertTrue(TypeToken.of(int[].class).isArray());
        assertTrue(TypeToken.of(long[].class).isArray());
        assertTrue(TypeToken.of(float[].class).isArray());
        assertTrue(TypeToken.of(double[].class).isArray());
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2024-02-22 17:15
    - 88.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertTrue(map.replace(key, 0L, value));
        assertEquals(value, map.get(key));
    
        assertTrue(map.replace(key, value, 0L));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertTrue(map.replace(key, 0L, value));
        assertEquals(value, map.get(key));
      }
    
      public void testRemove() {
    Java
    - Registered: 2024-04-19 12:43
    - Last Modified: 2024-02-13 14:28
    - 17.4K bytes
    - Viewed (0)
Back to top