Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,141 for assertTrue (0.1 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertTrue(map.containsKey(TypeToken.of(Integer.class)));
        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Integer.class), null)));
        assertNull(map.get(TypeToken.of(Integer.class)));
        assertNull(map.getInstance(Integer.class));
    
        map.putInstance(Long.class, null);
        assertTrue(map.containsKey(TypeToken.of(Long.class)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C filtered = filter(unfiltered, EVEN);
    
            Iterator<Integer> filteredItr = filtered.iterator();
            for (Integer i : unfiltered) {
              if (EVEN.apply(i)) {
                assertTrue(filteredItr.hasNext());
                assertEquals(i, filteredItr.next());
              }
            }
            assertFalse(filteredItr.hasNext());
          }
        }
    
        public void testForEach() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            assertEquals(0, msrpcShareGetInfo.getPtype());
    
            // Check individual flag bits
            int flags = msrpcShareGetInfo.getFlags();
            assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
            assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0);
        }
    
        @Test
        void testShareInfo502Initialization() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/app/pager/AccessTokenPagerTest.java

            accesstokenpager.setAllPageCount(999);
            assertEquals(999, accesstokenpager.getAllPageCount());
            accesstokenpager.setExistPrePage(true);
            assertTrue(accesstokenpager.isExistPrePage());
            accesstokenpager.setExistNextPage(true);
            assertTrue(accesstokenpager.isExistNextPage());
            accesstokenpager.setPageSize(0);
            assertEquals(25, accesstokenpager.getPageSize());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

    package jcifs.internal.smb1.com;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    /**
     * Tests for {@link SmbComWriteResponse}.
     */
    public class SmbComWriteResponseTest {
    
        private SmbComWriteResponse resp;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

    package jcifs.util.transport;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class RequestTimeoutExceptionTest {
    
        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

    package jcifs.internal.smb2.ioctl;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.Arrays;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        thread.releaseLockAndFinish();
        assertTrue(writeLockA.tryLock());
        assertTrue(readLockA.tryLock());
      }
    
      public void testReentrantReadLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(readLockA);
        thread.start();
    
        thread.waitUntilHoldingLock();
        assertFalse(writeLockA.tryLock());
        assertTrue(readLockA.tryLock());
        readLockA.unlock();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        thread.releaseLockAndFinish();
        assertTrue(writeLockA.tryLock());
        assertTrue(readLockA.tryLock());
      }
    
      public void testReentrantReadLock_tryLock() throws Exception {
        LockingThread thread = new LockingThread(readLockA);
        thread.start();
    
        thread.waitUntilHoldingLock();
        assertFalse(writeLockA.tryLock());
        assertTrue(readLockA.tryLock());
        readLockA.unlock();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithNullText() {
            // Test analyze with null text
            String text = null;
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top