- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,497 for Unit (0.02 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
import java.util.concurrent.CancellationException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}. * * @author Nishant Thakkar */ @NullUnmarked @GwtIncompatible @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@code AbstractIterator}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class AbstractIteratorTest extends TestCase { public void testDefaultBehaviorOfNextAndHasNext() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
import java.util.concurrent.CancellationException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}. * * @author Nishant Thakkar */ @NullUnmarked @GwtIncompatible @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* The precision of this field is seconds; further precision will be truncated. */ fun duration( duration: Long, unit: TimeUnit, ) = apply { val now = System.currentTimeMillis() validityInterval(now, now + unit.toMillis(duration)) } /** * Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 21.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
readUtf8() } fileSystem.write(metadataFile) { writeUtf8(corruptor(contents)) } } } private fun testCorruptingCache(corruptor: () -> Unit): Response { server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue( MockResponse( headers = headersOf( "Last-Modified",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
import java.util.Map.Entry; import java.util.RandomAccess; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit tests for {@code ArrayListMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class ArrayListMultimapTest extends TestCase { @GwtIncompatible // suite @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.6K bytes - Click Count (0) -
cmd/admin-handlers_test.go
"testing" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/auth" "github.com/minio/mux" ) // adminErasureTestBed - encapsulates subsystems that need to be setup for // admin-handler unit tests. type adminErasureTestBed struct { erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java
import static org.junit.Assert.*; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.suggest.constants.FieldNames; import org.junit.Test; /** * Unit tests for SuggestItemSerializer. */ public class SuggestItemSerializerTest { @Test public void testToSource_basicFields() { String[] text = { "test text" };Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Ascii}. * * @author Craig Berry */ @GwtCompatible @NullUnmarked public class AsciiTest extends TestCase { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Ascii}. * * @author Craig Berry */ @GwtCompatible @NullUnmarked public class AsciiTest extends TestCase { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0)