Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,775 for junit5 (0.04 seconds)

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

  1. guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests of {@link RemovalNotification}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class RemovalNotificationTest extends TestCase {
    
      public void testEquals() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        TimeUnit lastUnit;
    
        void assertLastMethodCalled(String method, long delay, TimeUnit unit) {
          assertEquals(method, lastMethodCalled);
          assertEquals(delay, lastDelay);
          assertEquals(unit, lastUnit);
        }
    
        void assertLastMethodCalled(String method, long initialDelay, long delay, TimeUnit unit) {
          assertEquals(method, lastMethodCalled);
          assertEquals(initialDelay, lastInitialDelay);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.Executor;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link AbstractIdleService}.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/InternersTest.java

    package com.google.common.collect;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Interners.InternerImpl;
    import com.google.common.collect.MapMakerInternalMap.Strength;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 17:02:07 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeoutException;
    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.lang.reflect.Method;
    import java.net.URLClassLoader;
    import java.util.HashMap;
    import java.util.Map;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

     * This structure provides complete allocation details including total allocation units, caller-available free units,
     * actual free allocation units, sectors per allocation unit, and bytes per sector.
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Unit tests for CLI parsing of plugin upgrade options.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

    import static com.google.common.util.concurrent.Service.State.STOPPING;
    import static com.google.common.util.concurrent.Service.State.TERMINATED;
    
    import java.util.Locale;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Service} */
    @NullUnmarked
    public class ServiceTest extends TestCase {
    
      /** Assert on the comparison ordering of the State enum since we guarantee it. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top