- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 2,324 for TEST (0.02 seconds)
-
okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt
import assertk.assertions.isEqualTo import okhttp3.internal.idn.MappedRange.InlineDelta import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import org.junit.jupiter.api.Test class MappingTablesTest { @Test fun simplifyCombinesMultipleMappings() { assertThat( mergeAdjacentRanges( listOf( Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()),Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround * mentioned in the method Javadoc does in fact compile. */ @SuppressWarnings("unused") // compilation test public void testSampleCodeError1() { Optional<Integer> optionalInt = getSomeOptionalInt(); // Number value = optionalInt.or(0.5); // error
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 10.5K bytes - Click Count (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/StartStop.kt
import mockwebserver3.junit5.internal.StartStopExtension import org.junit.jupiter.api.extension.ExtendWith /** * Runs MockWebServer for the duration of a test method or test class. * * In Java JUnit 5 tests (ie. tests annotated `@org.junit.jupiter.api.Test`), use this by defining a * field with the `@StartStop` annotation: * * ```java * @StartStop public final MockWebServer server = new MockWebServer(); * ``` *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** */ class MavenPluginValidatorTest extends AbstractCoreMavenComponentTestCase { @Inject private MavenPluginValidator mavenPluginValidator; protected String getProjectsDirectory() { return "src/test/projects/default-maven"; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
package org.apache.maven.lifecycle.test; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 657 bytes - Click Count (0) -
tests/test_jsonable_encoder.py
assert isinf(jsonable_encoder(data)["value"]) def test_encode_deque_encodes_child_models(): class Model(BaseModel): test: str dq = deque([Model(test="test")]) assert jsonable_encoder(dq)[0]["test"] == "test" def test_encode_pydantic_undefined(): data = {"value": Undefined}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
} fun Test.isUnitTest() = listOf("test", "writePerformanceScenarioDefinitions", "writeTmpPerformanceScenarioDefinitions").contains(name) /** * If enabled, test JVM will inherit the DEVELOCITY_ACCESS_TOKEN * environment variable. This allows build scans to be published for integration tests. */ fun Test.inheritDevelocityAccessTokenEnv() = setOf("smoke-test").contains(project.name)
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 18.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.ArgumentMatchers; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.slf4j.Logger; import static org.junit.jupiter.api.Assertions.assertEquals;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
} /** * Regression test for an edge case where closing response body in the HTTP engine doesn't release * the corresponding stream allocation. This test keeps those response bodies alive and reads * them after the redirect has completed. This forces a connection to not be reused where it would * be otherwise. * * * This test leaks a response body by not closing it. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 12.2K bytes - Click Count (1) -
android/pom.xml
--> <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version> <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI --> <test.include>%regex[.*.class]</test.include> <animal-sniffer-maven-plugin.version>1.24</animal-sniffer-maven-plugin.version> <asm.version>9.8</asm.version> <build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 03:10:05 GMT 2025 - 26.4K bytes - Click Count (0)