- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 2,009 for unit (0.02 seconds)
-
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
import static java.nio.charset.StandardCharsets.UTF_8; import com.google.common.base.Strings; import java.util.Arrays; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for FarmHashFingerprint64. * * @author Kyle Maddison * @author Geoff Pike */ @NullUnmarked public class FarmHashFingerprint64Test extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
import com.google.common.testing.SerializableTester; import java.util.Arrays; import java.util.Comparator; import java.util.List; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link SignedBytes}. * * @author Kevin Bourrillion */ @NullMarked @GwtCompatible public class SignedBytesTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; import static org.junit.Assert.assertThrows; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.nio.file.attribute.PosixFileAttributeView; import java.nio.file.attribute.PosixFileAttributes; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link FileBackedOutputStream}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 16:30:29 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
import static org.junit.Assert.assertThrows; import com.google.common.base.Stopwatch; import com.google.common.collect.Range; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.TimeoutException; import junit.framework.TestCase;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ // - depends on details of GC and classloading // - .class files aren't availableCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 8.7K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
import model.ignoredSubprojects import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertFalse import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test import projects.CheckProject import projects.FunctionalTestProject import projects.StageProject import java.io.File class CIConfigIntegrationTests { init { DslContext.initForTest() }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
cmd/leak-detect_test.go
// DetectTestLeak - snapshots the currently running goroutines and returns a // function to be run at the end of tests to see whether any // goroutines leaked. // Usage: `defer DetectTestLeak(t)()` in beginning line of benchmarks or unit tests. func DetectTestLeak(t TestErrHandler) func() { initialStackSnapShot := NewLeakDetect() return func() { initialStackSnapShot.DetectLeak(t) } } // list of functions to be ignored from the stack trace.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
/** * This accepts events as function calls on [EventListener], and publishes them as subtypes of * [CallEvent]. */ class EventListenerAdapter : EventListener() { var listeners = listOf<(CallEvent) -> Unit>() private fun onEvent(listener: CallEvent) { for (function in listeners) { function(listener) } } override fun dispatcherQueueStart( call: Call, dispatcher: Dispatcher,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5.7K bytes - Click Count (0) -
ci/official/containers/ml_build/Dockerfile
RUN if [ -e "/usr/local/cuda/compat/libcuda.so.1" ]; then ln -s /usr/local/cuda/compat/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libcuda.so.1; fi # Install various tools. # - bats: bash unit testing framework # - bazelisk: always use the correct bazel version # - buildifier: clean bazel build deps # - buildozer: clean bazel build deps # - gcloud SDK: communicate with Google Cloud Platform (GCP) for RBE, CI
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Dec 18 21:55:23 GMT 2025 - 4.5K bytes - Click Count (0)