- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 860 for tested (0.36 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @NullMarked @GwtCompatible public class FluentFutureTest extends TestCase { @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testFromFluentFuture() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
} /** * Test for getRemoteHostName() method. * Verifies that the method returns the correct remote host name. */ @Test void testGetRemoteHostName() { when(smbTreeHandle.getRemoteHostName()).thenReturn("test-server"); assertEquals("test-server", smbTreeHandle.getRemoteHostName(), "Remote host name should be test-server"); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
checkHelperVersion(NO_ATOMIC_REFERENCE_FIELD_UPDATER, "SynchronizedHelper"); // Then, run the actual tests under each alternative classloader: /* * Under Java 8, there is no need to test the no-VarHandle case here: It's already tested by the * main AbstractFutureTest, which uses the default AtomicHelper, which we verified above to be * UnsafeAtomicHelper. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 7.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private final transient ClassSanityTester tester; SerializableDummyProxy(ClassSanityTester tester) { this.tester = tester; } @Override <R> R dummyReturnValue(TypeToken<R> returnType) { return tester.getDummyValue(returnType); } @Override public boolean equals(@Nullable Object obj) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
return map.isEmpty(); } /** * Returns true if this set contains the specified element. * * @param o * element whose presence in this set is to be tested. * @return true if this set contains the specified element. */ @Override public boolean contains(final Object o) { return map.containsKey(o); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 3.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
} @Nested @DisplayName("Modification Behavior") class ModificationBehaviorTests { @Test @DisplayName("should not save modifications to disk") void shouldNotSaveModificationsToDisk() { assertFalse(checkGoal.shouldSaveModifications(), "Check goal should not save modifications to disk"); } } @Nested @DisplayName("Execution")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
import com.google.common.collect.testing.google.TestStringSetMultimapGenerator; import java.util.Map.Entry; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit tests for {@link HashMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class HashMultimapTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
import com.google.common.collect.testing.google.TestStringSetMultimapGenerator; import java.util.Map.Entry; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; /** * Unit tests for {@link HashMultimap}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class HashMultimapTest extends TestCase {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
+ "If the class is better tested explicitly, you can add %s() to %sTest", description, cls, explicitTestNames.get(0), cls.getName()); return new AssertionError(message, e); } /** * Finds the classes not ending with a test suffix and not covered by an explicit test whose name * is {@code explicitTestNames}. */ @VisibleForTestingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
private fun openJarFile(file: Path): ZipInputStream { return ZipInputStream(Files.newInputStream(file)) } } /** * Implementation code that can be unit-tested. * * <p>Visible for testing.</p> */ class Implementation(private val excludes: List<String>, private val includes: List<String>) { fun collectPackages(files: Iterable<Path>): Trie {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 15:53:18 GMT 2025 - 7.1K bytes - Click Count (0)