Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 635 for assertk (0.2 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            Future<?> possiblyIgnoredError = executor.submit(task);
          }
          awaitUnchecked(barrier);
          assertThat(future.isDone()).isTrue();
          // inspect state and ensure it is correct!
          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/StatsTesting.java

          assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min());
          assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max());
        }
      }
    
      /**
       * Asserts that {@code transformation} is diagonal (i.e. neither horizontal nor vertical) and
       * passes through both {@code (x1, y1)} and {@code (x1 + xDelta, y1 + yDelta)}. Includes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/misc/AssertionUtil.java

     * Utility class for assertions.
     *
     * @author shot
     */
    public abstract class AssertionUtil {
    
        /**
         * Do not instantiate.
         */
        protected AssertionUtil() {
        }
    
        /**
         * Asserts that the argument is not <code>null</code>.
         *
         * @param argName
         *            The name of the argument that must not be {@code null}.
         * @param argValue
         *            The value of the argument.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/StatsTesting.java

          assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min());
          assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max());
        }
      }
    
      /**
       * Asserts that {@code transformation} is diagonal (i.e. neither horizontal nor vertical) and
       * passes through both {@code (x1, y1)} and {@code (x1 + xDelta, y1 + yDelta)}. Includes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

        public void test_execute_success() {
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert deleteByQuery was called
            assertTrue(deleteByQueryCalled);
    
            // Assert correct index was used
            assertEquals("fess.update", deleteIndex);
    
            // Assert query builder is correct
            assertNotNull(deleteQuery);
            assertTrue(deleteQuery instanceof RangeQueryBuilder);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

    import static org.codelibs.curl.io.ContentOutputStream.PREFIX;
    import static org.codelibs.curl.io.ContentOutputStream.SUFFIX;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    public class IOIntegrationTest {
    
        private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName());
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

     */
    package org.codelibs.curl.io;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlResponseTest.java

     */
    package org.codelibs.curl;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertNull;
    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space
        // BloomFilter.create(Funnels.unencodedCharsFunnel(), 244412641, 1e-11);
      }
    
      /**
       * Asserts that {@link BloomFilter#approximateElementCount} is within 1 percent of the expected
       * value.
       */
      private static void assertApproximateElementCountGuess(BloomFilter<?> bf, int sizeGuess) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top