Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,141 for assertTrue (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          expectedKeySetHash += key != null ? key.hashCode() : 0;
          assertTrue(map.containsKey(key));
          assertTrue(map.containsValue(value));
          assertTrue(valueCollection.contains(value));
          assertTrue(valueCollection.containsAll(singleton(value)));
          assertTrue(entrySet.contains(mapEntry(key, value)));
          assertTrue(allowsNullKeys || (key != null));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            SsoProcessException ssoException = new SsoProcessException("Test SSO error");
    
            assertTrue(ssoException instanceof FessSystemException);
            assertTrue(ssoException instanceof RuntimeException);
            assertTrue(ssoException instanceof Exception);
            assertTrue(ssoException instanceof Throwable);
        }
    
        public void test_constructor_withVariousExceptionTypes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            assertTrue(StrictMath.pow(2.0, log2 - 1) < d);
          } else {
            assertTrue(log2 <= 0);
            assertTrue(StrictMath.pow(2.0, log2) <= d);
            assertTrue(StrictMath.pow(2.0, log2 + 1) > d);
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2Half() {
        // We don't expect perfect rounding accuracy.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertThrows(CancellationException.class, () -> future.get());
      }
    
      public void testFailedFuture(@Nullable String message) throws InterruptedException {
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertTrue(latch.await(5, SECONDS));
        assertTrue(future.isDone());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

            assertTrue(extractorFactory.getExtractor(key) instanceof TikaExtractor);
    
            // key = "application/vnd.ms-publisher";
            // assertTrue(extractorFactory.getExtractor(key) instanceof
            // TikaExtractor);
    
            key = "application/pdf";
            assertTrue(extractorFactory.getExtractor(key) instanceof PdfExtractor);
    
            key = "application/x-lha";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
            assertFalse(isNotEmpty.apply(null));
        }
    
        public void test_apply_integer() {
            BooleanFunction<Integer> isPositive = n -> n != null && n > 0;
    
            assertTrue(isPositive.apply(1));
            assertTrue(isPositive.apply(100));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        @DisplayName("Test toString returns expected format")
        void testToString() {
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with zero nextEntryOffset stops iteration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                    return mockResource1;
                }
            };
    
            // When/Then
            assertTrue(iterator.hasNext(), "First hasNext should return true");
            assertTrue(iterator.hasNext(), "Second hasNext should return true");
            assertTrue(iterator.hasNext(), "Third hasNext should return true");
    
            SmbResource result = iterator.next();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("line1"));
            assertTrue(output.contains("line2"));
            assertTrue(output.contains("line3"));
        }
    
        public void test_run_withoutBuffering() throws InterruptedException {
            String input = "line1\nline2";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertNotNull(result);
            assertTrue(result instanceof List);
            @SuppressWarnings("unchecked")
            List<Object> resultList = (List<Object>) result;
            assertEquals(3, resultList.size());
    
            // First element should be converted to Map since it's an Entity
            assertTrue(resultList.get(0) instanceof Map);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top