- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,595 for Tests (0.03 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
import java.util.Collection; import java.util.List; import org.junit.Ignore; /** * Tests {@link List#equals}. * * @author George van den Driessche */ @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. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.netbios.NbtAddress; /** * Tests for NetbiosAddress interface and NbtAddress implementation. * This test focuses on verifying constants and basic functionality. */ @ExtendWith(MockitoExtension.class) class NetbiosAddressTest { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/FileNotifyInformationTest.java
@Mock private FileNotifyInformation mockFileNotifyInfo; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Nested @DisplayName("Filter Flags Constants Tests") class FilterFlagsTests { @Test @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value") void testFileNotifyChangeFileName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
cmd/data-scanner_test.go
ObjectV: ObjectV{ ObjectName: v.objInfo.Name, VersionID: v.objInfo.VersionID, }, }) } } if len(expired) > 0 { *gotExpired = expired } } tests := []struct { replCfg replicationConfig lr objectlock.Retention objInfos []ObjectInfo wants []ObjectInfo wantExpired []ObjectToDelete }{ {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/bytes/reader_test.go
r := NewReader([]byte("0123456789")) tests := []struct { off int64 n int want string wanterr any }{ {0, 10, "0123456789", nil}, {1, 10, "123456789", io.EOF}, {1, 9, "123456789", nil}, {11, 10, "", io.EOF}, {0, 0, "", nil}, {-1, 0, "", "bytes.Reader.ReadAt: negative offset"}, } for i, tt := range tests { b := make([]byte, tt.n) rn, err := r.ReadAt(b, tt.off)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Then assertNotNull(flushResponse); // Cannot test getConfig() as it's protected } @Nested @DisplayName("writeBytesWireFormat tests") class WriteBytesWireFormatTests { @Test @DisplayName("Should return 0 for write bytes") void testWriteBytesWireFormat() { // Given byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
@Override public String escape(String string) { return checkNotNull(string); } @Override protected char @Nullable [] escape(char c) { // TODO: Fix tests not to call this directly and make it throw an error. return null; } }; /** * Returns a builder for creating simple, fast escapers. A builder instance can be reused and each
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
import java.lang.reflect.Method; import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests {@code put} operations on a map. Can't be invoked directly; * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
import com.google.common.reflect.ClassPath.ClassInfo; import com.google.common.reflect.TypeToken; import java.lang.reflect.Method; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests that all package-private {@code writeReplace} methods are overridden in any existing * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0)