- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,414 for empty (0.02 sec)
-
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
assertFalse(iterator.hasNext()); assertNull(iterator.next()); verify(resource, never()).close(); } @Test @DisplayName("Empty iterator") void emptyIterator() { when(delegate.hasNext()).thenReturn(false); TestIterator iterator = new TestIterator(null); assertFalse(iterator.hasNext());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
@Test @DisplayName("getName can return null and empty strings via mock") void mock_nameEdgeValues() { // Arrange when(mockEntry.getName()).thenReturn(null, "", " "); // Act & Assert assertNull(mockEntry.getName(), "first call returns null"); assertEquals("", mockEntry.getName(), "second call returns empty");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/RequestWithPathTest.java
assertNull(testImplementation.getFullUNCPath()); } @Test @DisplayName("Test with empty strings") void testWithEmptyStrings() { // Test empty path testImplementation.setPath(""); assertEquals("", testImplementation.getPath()); // Test empty UNC path components testImplementation.setFullUNCPath("", "", "");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/index.jsp
><a class="nav-link active" href="${installationLink}" target="_olh"><em class="fa fa-exclamation-triangle text-warning" ></a></li> </c:if> <c:choose> <c:when test="${!empty username && username != 'guest'}"> <li class="nav-item"> <div class="dropdown"> <a id="userMenu" class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 11:58:45 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
assertNotNull(result); // The mock returns a fixed count of 3 assertTrue(result.contains("docs")); } // Test with empty label set public void test_execute_withEmptyLabelSet() { // Override mock to return empty label set LabelTypeHelper emptyLabelHelper = new LabelTypeHelper() { @Override public Set<String> getMatchedLabelValueSet(String url) {
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/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
// Consume '\'. readByte() result.write(this, 1L) // The escaped character. } } /** * Consumes and returns a non-empty token, terminating at special characters in * [TOKEN_DELIMITERS]. Returns null if the buffer is empty or prefixed with a delimiter. */ private fun Buffer.readToken(): String? { var tokenSize = indexOfElement(TOKEN_DELIMITERS) if (tokenSize == -1L) tokenSize = size
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
public void test_FilePurgeVisitor_postVisitDirectory() throws IOException { // Test empty directory deletion logic File emptyDir = new File(tempDir, "empty"); emptyDir.mkdirs(); assertTrue(emptyDir.exists()); // Simulate the behavior of postVisitDirectory - delete empty directories if (emptyDir.isDirectory() && emptyDir.list().length == 0) { emptyDir.delete();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
) val call = client.newCall(Request(server.url("/"))) call.execute().use { response -> assertThat(response.body.source().readUtf8()).isEqualTo("") assertThat(response.trailers()).isEqualTo(Headers.EMPTY) } } @Test fun readEmptyTrailersHttp1NonEmptyFixedLengthResponse() { server.enqueue( MockResponse .Builder() .body("Hello") .build(), )Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Initially not deleted assertFalse(item.isDeleted()); // Set newInputs to empty array and newOutput item.setNewInputs(new String[] {}); item.setNewOutput("output"); assertTrue(item.isDeleted()); // Set newInputs to non-empty array - not deleted item.setNewInputs(new String[] { "something" }); assertFalse(item.isDeleted()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* Booleans.contains(array, false)} with {@code bitSet.nextClearBit(0) == sizeOfBitSet}. * * @param array an array of {@code boolean} values, possibly empty * @param target a primitive {@code boolean} value * @return {@code true} if {@code array[i] == target} for some value of {@code i} */ public static boolean contains(boolean[] array, boolean target) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0)