- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 2,277 for Tests (0.07 seconds)
-
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.ScheduledFuture; import junit.framework.TestCase; /** * Tests for TestingExecutors. * * @author Eric Chang */ public class TestingExecutorsTest extends TestCase { private volatile boolean taskDone; public void testNoOpScheduledExecutor() throws InterruptedException {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) -
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.ScheduledFuture; import junit.framework.TestCase; /** * Tests for TestingExecutors. * * @author Eric Chang */ public class TestingExecutorsTest extends TestCase { private volatile boolean taskDone; public void testNoOpScheduledExecutor() throws InterruptedException {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) -
guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
import static com.google.common.math.MathBenchmarking.randomPositiveDouble; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import org.jspecify.annotations.NullUnmarked; /** * Tests for the non-rounding methods of {@code DoubleMath}. * * @author Louis Wasserman */ @NullUnmarked public class DoubleMathBenchmark { private static final double[] positiveDoubles = new double[ARRAY_SIZE];Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Base class for {@link RangeSet} tests. * * @author Louis Wasserman */ @GwtIncompatible // TreeRangeSet @NullUnmarked public abstract class AbstractRangeSetTest extends TestCase { public static void testInvariants(RangeSet<?> rangeSet) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link ForwardingConcurrentMap}. * * @author Jared Levy */ @NullUnmarked public class ForwardingConcurrentMapTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
putEdge(N1, N1); assertThat(graph.outDegree(N1)).isEqualTo(2); putEdge(N2, N1); assertThat(graph.outDegree(N1)).isEqualTo(3); } // Stable order tests // Note: Stable order means that the ordering doesn't change between iterations and versions. // Ideally, the ordering in test should never be updated. @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Locale; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link Service} */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */ @NullUnmarked public class TypeVisitorTest extends TestCase { public void testVisitNull() { new BaseTypeVisitor()Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FlushablesTest.java
import static org.mockito.Mockito.verify; import java.io.Flushable; import java.io.IOException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Flushables}. * * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the SmbFile class. * This class focuses on testing the logic of SmbFile without actual network communication, * using mocks where necessary. */ @ExtendWith(MockitoExtension.class) public class SmbFileTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0)