- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,698 for tests (0.04 sec)
-
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
import static com.google.common.truth.Truth.assertThat; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for {@link ImmutableValueGraph} . */ @RunWith(JUnit4.class) @NullUnmarked public class ImmutableValueGraphTest { @Test public void immutableValueGraph() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for {@link SmbComClose}. * <p> * All tests are written in the same package as the class under test soRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code get()} operations on a list. Can't be invoked directly; * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertSame(loader, cache.localCache.defaultLoader); } // null parameters test public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); CacheLoader<Object, Object> loader = identityLoader(); tester.testAllPublicInstanceMethods(makeCache(createCacheBuilder(), loader)); } // stats tests public void testStats() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#forEach}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
import java.util.List; import java.util.Map; import junit.framework.Test; /** * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known * bugs in OpenJDK 6 or higher. * * @author Kevin Bourrillion */ // TODO(cpovirk): consider renaming this class in light of our now running it under newer JDKs. @AndroidIncompatible // test-suite buildersRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
return fileIndex; } } // Functional helpers for concise parameterized tests private interface IntGetter { int apply(FileEntry e); } private interface LongGetter { long apply(FileEntry e); } // --- Mockito-based interaction tests --- @Test @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertNotNull(lock); } @Test @DisplayName("Should create lock with negative values") void testConstructorWithNegativeValues() { lock = new Smb2Lock(-1L, -1L, -1); assertNotNull(lock); } } @Nested @DisplayName("Size Tests") class SizeTests { @Test @DisplayName("Should return constant size of 24 bytes")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a map. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.internal.smb1.ServerMessageBlock; /** * Unit tests for {@link SmbComNTCreateAndX}. The tests exercise the * constructor’s flag handling, response creation and simple accessors. * * <p>All tests run in the same package as the class under test so that * package‑private members are visible if required. */ @ExtendWith(MockitoExtension.class)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)