- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 178 for IsNull (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(mockTransport.unwrap(SmbTransportInternal.class)).thenReturn(internal); when(internal.getSmbSession(eq(ctx), eq("server.test"), isNull())).thenReturn(session); when(session.unwrap(SmbSessionInternal.class)).thenReturn(session); when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree); when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
} } try { Range<C> span = rangeSet.span(); assertEquals(expectedSpan, span); } catch (NoSuchElementException e) { assertThat(expectedSpan).isNull(); } // test that asDescendingSetOfRanges is the reverse of asRanges assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges())); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertThat(TypeToken.of(Object.class).getComponentType()).isNull(); assertThat(TypeToken.of(void.class).getComponentType()).isNull(); } public <T> void testGetComponentType_genericArrayClasses() { assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType()).isNull(); assertEquals( TypeToken.of(new TypeCapture<T>() {}.capture()),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
assertThat(Strings.nullToEmpty("")).isEqualTo(""); assertThat(Strings.nullToEmpty("a")).isEqualTo("a"); } public void testEmptyToNull() { assertThat(Strings.emptyToNull(null)).isNull(); assertThat(Strings.emptyToNull("")).isNull(); assertThat(Strings.emptyToNull("a")).isEqualTo("a"); } public void testIsNullOrEmpty() { assertTrue(Strings.isNullOrEmpty(null)); assertTrue(Strings.isNullOrEmpty(""));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertThat(root.getParent()).isNull(); assertThat(root.toRealPath().getParent()).isNull(); MoreFiles.createParentDirectories(root); // test that there's no exception } } public void testCreateParentDirectories_relativePath() throws IOException { Path path = FS.getPath("nonexistent.file"); assertThat(path.getParent()).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
assertThat(INSTANCE.toString()).isEqualTo("{}"); } public void testSize() { assertEquals(0, INSTANCE.size()); } public void testGet() { assertThat(INSTANCE.get('a', 1)).isNull(); } public void testIsEmpty() { assertTrue(INSTANCE.isEmpty()); } public void testCellSet() { assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); } public void testColumn() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(1, (int) mmHeap.peek()); assertEquals(1, (int) mmHeap.peekLast()); assertEquals(1, (int) mmHeap.pollLast()); assertThat(mmHeap.peek()).isNull(); assertThat(mmHeap.peekLast()).isNull(); assertThat(mmHeap.pollLast()).isNull(); } public void testSmallMinHeap() { MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create(); mmHeap.add(1); mmHeap.add(3);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
guava/src/com/google/common/base/Predicates.java
* null. * * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull}, * but note that lambdas and method references do not have human-readable {@link #toString()} * representations and are not serializable. */ public static <T extends @Nullable Object> Predicate<T> isNull() { return ObjectPredicate.IS_NULL.withNarrowedType(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java
for (int n = 0; n < replacementArray.length; n++) { char c = (char) n; String expected = map.get(c); if (expected == null) { assertThat(replacementArray[n]).isNull(); } else { assertThat(new String(replacementArray[n])).isEqualTo(expected); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
import assertk.assertions.isCloseTo import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.IOException import java.net.CookieManager import java.net.HttpURLConnection import java.net.ResponseCache import java.text.DateFormat import java.text.SimpleDateFormat
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0)