- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 2,079 for test (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt
* */ package okhttp.android.test import assertk.all import assertk.assertFailure import assertk.assertions.cause import assertk.assertions.hasClass import assertk.assertions.hasMessage import assertk.assertions.isNotNull import java.io.IOException import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 /** * Android test running with only stubs. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt
import org.junit.jupiter.api.Test @Suppress("DEPRECATION_ERROR") class PublicInternalApiTest { @Test fun permitsRequestBody() { assertTrue(permitsRequestBody("POST")) assertFalse(permitsRequestBody("GET")) } @Test fun requiresRequestBody() { assertTrue(requiresRequestBody("PUT")) assertFalse(requiresRequestBody("GET")) } @Test fun hasBody() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} } @Test fun failOnBadResponse() { server.enqueue(dnsResponse("00")) try { dns.lookup("google.com") fail<Any>() } catch (ioe: IOException) { assertThat(ioe).hasMessage("google.com") assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0) -
src/archive/tar/writer_test.go
} if len(f.ops) > 0 { t.Errorf("test %d, expected %d more operations", i, len(f.ops)) } case testClose: err := tw.Close() if !equalError(err, tf.wantErr) { t.Fatalf("test %d, Close() = %v, want %v", i, err, tf.wantErr) } default: t.Fatalf("test %d, unknown test operation: %T", i, tf) } } if v.file != "" { path := v.file
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens // in our test environment, which foils the purpose of this test, so we disable the logic for // our test by setting a static field. We are changing the field in the parallel version of FRQ // and each test creates its own one of those, so there is no test interference here. Class<?> sepFrqSystemLoaderC =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; @PlexusTest @Deprecated class DefaultProfileManagerTest { @Inject PlexusContainer container; protected PlexusContainer getContainer() { return container; } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts
} createTasks(sourceSet, TestType.INTEGRATION) configureIde(TestType.INTEGRATION) createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) { // This test task runs only multi-version tests and is intended to be used in the late pipeline to sweep up versions not previously tested includeSpockAnnotation("org.gradle.integtests.fixtures.compatibility.MultiVersionTestCategory")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 16:39:23 GMT 2025 - 2.4K bytes - Click Count (5) -
docs/en/docs/advanced/testing-dependencies.md
```Python app.dependency_overrides = {} ``` /// tip If you want to override a dependency only during some tests, you can set the override at the beginning of the test (inside the test function) and reset it at the end (at the end of the test function).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.4K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
"LOCALAPPDATA", // Used by Gradle test infrastructure "REPO_MIRROR_URLS", "YARNPKG_MIRROR_URL", // Used to find local java installations "SDKMAN_CANDIDATES_DIR", // temp dir "TMPDIR", "TMP", "TEMP", // Seems important on Windows "ALLUSERSPROFILE", "PUBLIC", "windir", // Used by performance test to recognize TeamCity buildId "BUILD_ID",
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 15 18:27:39 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/pom.xml
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t06-a</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-b</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-c</artifactId>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 992 bytes - Click Count (0)