- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 2,009 for unit (0.03 seconds)
-
guava/src/com/google/common/util/concurrent/AbstractService.java
Service.super.awaitRunning(timeout); } @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { if (monitor.enterWhenUninterruptibly(hasReachedRunning, timeout, unit)) { try { checkCurrentState(RUNNING); } finally { monitor.leave(); } } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
import com.google.common.annotations.GwtCompatible; import java.util.concurrent.CancellationException; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link Futures#getDone}. */ @GwtCompatible @NullUnmarked public class FuturesGetDoneTest extends TestCase { public void testSuccessful() throws ExecutionException {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 2.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
} return source.buffer().asResponseBody(null, -1) } private fun newResponse( responseBody: ResponseBody, code: Int = 200, fn: Response.Builder.() -> Unit = {}, ): Response = Response .Builder() .request( Request .Builder() .url("https://example.com/") .build(), ).protocol(Protocol.HTTP_1_1)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestArtifactHandler.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.impl; import org.apache.maven.artifact.handler.ArtifactHandler; /** * Assists unit testing. * */ class TestArtifactHandler implements ArtifactHandler { private String type; private String extension; TestArtifactHandler(String type) { this(type, type); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 1.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.repository; import org.apache.maven.artifact.handler.ArtifactHandler; /** * Assists unit testing. * */ @Deprecated class TestArtifactHandler implements ArtifactHandler { private String type; private String extension; TestArtifactHandler(String type) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 1.8K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt
import org.robolectric.annotation.Implementation import org.robolectric.annotation.Implements import org.robolectric.shadow.api.Shadow @Implements(DnsResolver::class) class ShadowDnsResolver { var responder: (Request) -> Unit = { it.callback.onAnswer(listOf(), 0) } data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 1.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/resources/repo/ut/simple/artifact/1.0/artifact-1.0.pom
<parent> <groupId>ut.simple</groupId> <artifactId>parent</artifactId> <version>1.0</version> </parent> <artifactId>artifact</artifactId> <name>Simple Unit Test Artifact</name> <dependencies> <dependency> <groupId>ut.simple</groupId> <artifactId>dependency</artifactId> </dependency> <dependency> <groupId>ut.simple</groupId>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
/** * Collection of main phases for this lifecycle used with the Maven 3 builders. * Those builders do not operate on a graph, but on the list and expect a slightly * different ordering (mainly unit test being executed before packaging). * * @return the collection of phases in Maven 3 compatible ordering */ default Collection<Phase> v3phases() { return phases(); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Primitives}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class PrimitivesTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
return false; } @Override public boolean isTerminated() { return false; } @Override public boolean awaitTermination(long timeout, TimeUnit unit) { return false; } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.2K bytes - Click Count (0)