- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 2,364 for TEST (0.01 seconds)
-
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return !disjoint(a, b); } private static Method extractMethod(Test test) { if (test instanceof AbstractTester) { AbstractTester<?> tester = (AbstractTester<?>) test; return getMethod(tester.getClass(), tester.getTestMethodName()); } else if (test instanceof TestCase) { TestCase testCase = (TestCase) test; return getMethod(testCase.getClass(), testCase.getName()); } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests conditional {@code setCount()} operations on a multiset. Can't * be invoked directly; please see {@link MultisetTestSuiteBuilder}. * * @author Chris Povirk */ @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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import static org.mockito.Mockito.mock; public class BaseParserTest { private final BaseParser subject = new BaseParser() { @Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliOptions.parse( "test", context.parserRequest.args().toArray(new String[0]));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.2K bytes - Click Count (0) -
tests/test_tutorial/test_request_files/test_tutorial003.py
path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)),
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.5K bytes - Click Count (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
*/ package okhttp3; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; import static org.junit.jupiter.api.Assertions.assertEquals; public class CallJavaTest { @RegisterExtension OkHttpClientTestRule clientTestRule = new OkHttpClientTestRule(); private OkHttpClient client = clientTestRule.newClient(); @Test public void tagsSeededFromRequest() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 1.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 2.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt
import com.google.gson.Gson import org.gradle.testkit.runner.TaskOutcome import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class SortAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() { @Test fun `verify misordered changes can be sorted`() { //language=JSON firstAcceptedApiChangesFile.writeText( """
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 9.7K bytes - Click Count (0) -
mockwebserver-junit5/README.md
To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0") ``` Annotate fields in test classes with `@StartStop`. The server will be started and shut down automatically. ``` class MyTest { @StartStop public final MockWebServer server = new MockWebServer(); @Test void test() { ... } } ``` RequirementsCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 665 bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
import org.apache.maven.cling.invoker.mvnup.UpgradeContext; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt
import okhttp3.testing.PlatformRule import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class Jdk9PlatformTest { @RegisterExtension val platform = PlatformRule() @Test fun buildsWhenJdk9() { platform.assumeJdk9() assertThat(buildIfSupported()).isNotNull() } @Test fun buildsWhenJdk8() { platform.assumeJdk8() try {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2K bytes - Click Count (0)