- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 667 for assertNotNull (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
public void testListIterator_tooHigh() { assertThrows( IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1)); } public void testListIterator_atSize() { assertNotNull(getList().listIterator(getNumElements())); // TODO: run the iterator through ListIteratorTester } /** * Returns the {@link Method} instance for {@link #testListIterator_fullyModifiable()} so that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
assertNotNull(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name); } public void testInstantiate_constructorAcceptsNull() throws Exception { assertNull(tester.instantiate(ConstructorAcceptsNull.class).name); } public void testInstantiate_constructorDoesNotAcceptNull() throws Exception { assertNotNull(tester.instantiate(ConstructorDoesNotAcceptNull.class).name);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapToStringTester<K, V> extends AbstractMapTester<K, V> { public void testToString_minimal() { assertNotNull("toString() should not return null", getMap().toString()); } @CollectionSize.Require(ZERO) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.security.SecureRandom; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
int requestedState = Smb2LeaseState.SMB2_LEASE_FULL; Smb2LeaseKey key = manager.requestLease(path, requestedState); assertNotNull(key); LeaseEntry entry = manager.getLease(key); assertNotNull(entry); assertEquals(requestedState, entry.getLeaseState()); // Test lease breakRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
package jcifs.internal.smb2.nego; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import java.util.stream.Stream; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
accessResultData.setTransformerName("textTransformer"); accessResultData.setData("xyz".getBytes()); final Object obj = textTransformer.getData(accessResultData); assertNotNull(obj); assertTrue(obj instanceof String); assertEquals("xyz", obj.toString()); } public void test_getData_wrongName() throws Exception {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
try { hp = HostAndPort.fromString(hpString); } catch (IllegalArgumentException e) { // Make sure we expected this. assertNull(expectHost); return; } assertNotNull(expectHost); // Apply withDefaultPort(), yielding hp2. boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535; HostAndPort hp2 = null; try { hp2 = hp.withDefaultPort(defaultPort);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.4K bytes - Viewed (0)