- Sort Score
- Num 10 results
- Language All
Results 2011 - 2020 of 4,372 for test$ (0.03 seconds)
-
guava-tests/test/com/google/common/math/DoubleMathTest.java
assertThrows(IllegalArgumentException.class, () -> DoubleMath.fuzzyEquals(1, 2, tolerance)); } } /* * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has * a better chance of completing each within its per-test-method timeout. */ public void testFuzzyCompare0() { runTestFuzzyCompare(0); } public void testFuzzyCompare1() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 03 16:20:39 GMT 2026 - 27.5K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
obj2 := ObjectOpts{ Name: "obj2", } tests := []struct { obj ObjectOpts expRuleID int transRuleID int }{ { obj: obj1, expRuleID: 0, transRuleID: 1, }, { obj: obj2, expRuleID: 0, transRuleID: 2, }, } for i, tc := range tests { w := httptest.NewRecorder() lc.SetPredictionHeaders(w, tc.obj)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
import java.util.Map.Entry; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Tests for {@code ImmutableEnumMap}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class ImmutableEnumMapTest extends TestCase { @J2ktIncompatible @AndroidIncompatible // test-suite buildersCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java
import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * To be implemented by test generators that can produce test subjects without requiring any * parameters. * * @param <T> the type created by this generator. * @author George van den Driessche */ @GwtCompatible @NullMarked
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt
Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService @Test fun testRequest() { server.enqueue(MockResponse()) val request = Request(server.url("/")) client.newCall(request).execute().use { assertThat(it.code).isEqualTo(200) } } @Test fun testIfSupported() { assertThat(platform.isLoom()).isTrue() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java
import static org.junit.Assert.assertThat; import java.net.URL; import java.net.URLClassLoader; import org.junit.Test; /** * @author koichik */ public class ClassLoaderIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
import java.util.stream.DoubleStream; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class ImmutableDoubleArrayTest extends TestCase { // Test all creation paths very lazily: by assuming asList() works public void testOf0() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#putIfAbsent}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 02:04:51 GMT 2025 - 5.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a map. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
import java.util.concurrent.atomic.AtomicInteger import mockwebserver3.junit5.StartStop import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(30) class CustomDispatcherTest { @StartStop private val mockWebServer = MockWebServer() @Test fun simpleDispatch() { val requestsMade = mutableListOf<RecordedRequest>() val dispatcher: Dispatcher = object : Dispatcher() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1)