- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for emptytest (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
return emptySet(); } protected Collection<Method> suppressForAbstractList() { return emptySet(); } protected Collection<Method> suppressForAbstractSequentialList() { return emptySet(); } protected Collection<Method> suppressForVector() { return emptySet(); } @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 15:04:05 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls. return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList(); } @Override public void clear() { entries().clear(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls. return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList(); } @Override public void clear() { entries().clear(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
assertNull(searchRenderData.getDocumentItems()); // Test with empty list List<Map<String, Object>> emptyList = new ArrayList<>(); searchRenderData.setDocumentItems(emptyList); assertEquals(emptyList, searchRenderData.getDocumentItems()); // Test with populated list List<Map<String, Object>> documentItems = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
*/ @Test void testWatchBufferOverflow() throws CIFSException { // Setup mock behavior for buffer overflow scenario when(watchHandle.watch()).thenReturn(Collections.emptyList()); // Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result); assertTrue(result.isEmpty());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
void removeThrows() throws Exception { SmbFile parent = newParent(); ShareEnumIterator it = new ShareEnumIterator(parent, Collections.<FileEntry> emptyList().iterator(), null); UnsupportedOperationException ex = assertThrows(UnsupportedOperationException.class, it::remove); assertEquals("remove", ex.getMessage()); } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
*/ public List<String> getDefaultKeyword() { if (fieldLogMap != null) { return fieldLogMap.getOrDefault(Constants.DEFAULT_FIELD, Collections.emptyList()); } return Collections.emptyList(); } /** * Adds a query term to the highlighted query set. * @param text The query text to highlight. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
*/ class HttpLoggingInterceptor @JvmOverloads constructor( private val logger: Logger = Logger.DEFAULT, ) : Interceptor { @Volatile private var headersToRedact = emptySet<String>() @Volatile private var queryParamsNameToRedact = emptySet<String>() @set:JvmName("level") @Volatile var level = Level.NONE enum class Level { /** No logs. */ NONE, /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// Test async property assertFalse(response.isAsync()); response.setAsync(true); assertTrue(response.isAsync()); // Test next response property assertNull(response.getNextResponse()); MockNotifyResponse nextResponse = new MockNotifyResponse(Collections.emptyList()); response.setNextResponse(nextResponse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
} } } @Throws(IOException::class) private fun readCertificateList(source: BufferedSource): List<Certificate> { val length = readInt(source) if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null. try { val certificateFactory = CertificateFactory.getInstance("X.509") val result = ArrayList<Certificate>(length) for (i in 0 until length) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0)