- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,009 for unit (0.02 seconds)
-
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
import com.google.common.util.concurrent.TestExceptions.SomeCheckedException; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@link Callables}. * * @author Isaac Shum */ @GwtCompatible @NullUnmarked public class CallablesTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/HashMultisetTest.java
import com.google.common.testing.SerializableTester; import java.io.Serializable; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link HashMultiset}. * * @author Kevin Bourrillion * @author Jared Levy */ @GwtCompatible @NullMarkedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
package com.google.common.collect; import static org.junit.Assert.assertThrows; import com.google.common.base.Function; import com.google.common.collect.Interners.InternerImpl; import com.google.common.collect.MapMakerInternalMap.Strength; import com.google.common.testing.GcFinalization; import com.google.common.testing.NullPointerTester; import java.lang.ref.WeakReference; import junit.framework.TestCase;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 4.3K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
taskFilter: (Task) -> Boolean, /* pass the collected information in build-logic and main build to Build Scan */ buildScanAction: (gradleRootProject: Project, infoCollectedInBuildLogic: Any, infoCollectedInMainBuild: Any) -> Unit ) { val gradleRootProject = when { project.name == "gradle" -> project.rootProject project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProjectCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
import java.nio.file.Path; 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 org.mockito.Mockito; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html
under the License. --> <html> <head> <title>About these stubs</title> </head> <body> <h2>Design</h2> These stubs can be thought of as hand-coded mock objects. They allow unit tests to test only specific aspects of a component while ignoring others. These stubs form an internally consistent data-set that is not expected to change. They are
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.util.concurrent.ExecutionError; import com.google.common.util.concurrent.UncheckedExecutionException; import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
import com.google.common.collect.testing.google.TestStringMultisetGenerator; import java.util.ArrayList; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit test for {@link LinkedHashMultiset}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarkedCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
import java.util.Comparator; import java.util.List; import org.apache.commons.cli.Option; import org.junit.jupiter.api.Test; import static java.util.Objects.nonNull; /** * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?) */ @Deprecated
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link ExecutionList}. * * @author Nishant Thakkar * @author Sven Mawson */ @NullUnmarked public class ExecutionListTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0)