Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 534 for assertk (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

                }
              }
            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("3 documents"));
            // queryBuilder field is protected, so we can't directly assert it
        }
    
        // Test execute() method with exception handling
        @Test
        public void test_execute_withException() {
            // Register a mock that throws exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import static java.lang.Math.min;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.ref.WeakReference;
    import java.nio.file.attribute.PosixFileAttributeView;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:04:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/EnumsTest.java

    import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import java.lang.reflect.TypeVariable;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Objects;
    import java.util.concurrent.ConcurrentMap;
    import junit.framework.Assert;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A test utility that verifies that your methods and constructors throw {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java

            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        @Override
        protected boolean isAssertionEqualsNumberInsensitive() {
            return true;
        }
    
        // ===== Assert methods for JUnit 5 compatibility =====
    
        // fail with message
        protected void fail(String message) {
            Assertions.fail(message);
        }
    
        // assertTrue - JUnit 4 style (message first)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

    package org.codelibs.core.collection;
    
    import static org.codelibs.core.collection.EnumerationIterator.iterable;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.util.Enumeration;
    import java.util.Vector;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.exception.NullArgumentException;
    import org.junit.Rule;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/MoreFilesTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.nio.file.LinkOption.NOFOLLOW_LINKS;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ObjectArrays;
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Feature;
    import com.google.common.jimfs.Jimfs;
    import java.io.IOException;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top