- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 1,917 for EMPTY (0.02 seconds)
-
tests/test_empty_router.py
response = client.get("/prefix/") assert response.status_code == 200, response.text assert response.json() == ["OK"] def test_include_empty(): # if both include and router.path are empty - it should raise exception with pytest.raises(FastAPIError):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Jun 11 22:37:34 GMT 2023 - 805 bytes - Click Count (1) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
assertNotNull(deserialized, "Deserialized object should not be null"); assertEquals("Deserialized empty string should match", original, deserialized); } /** * Test serialization of empty collection */ @Test public void test_serializeDeserialize_emptyList() { List<String> original = new ArrayList<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
assertEquals(rangeMap.asMapOfRanges(), copy.asMapOfRanges()); } // Overriding testEquals because it seems that we get spurious failures when it things empty // should be unequal to empty. public void testEquals() { TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create(); TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create(); nonEmpty.put(Range.all(), 1);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 30.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
} }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job String result = aggregateLogJob.execute(); // Verify result is empty string on success assertNotNull(result); assertEquals("", result); } @Test public void test_execute_withException() { // Setup mock SearchLogHelper that throws exceptionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
// 20 bytes fixed + 2 * length assertEquals(20 + 2 * longFileName.length(), info.size()); } @Test @DisplayName("Test size calculation with empty filename") void testSizeWithEmptyFilename() { FileRenameInformation2 info = new FileRenameInformation2("", false); assertEquals(20, info.size()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
* consider using {@code collection.getFirst()} instead. Note that if the collection is empty, * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the * default value. * * @param defaultValue the default value to return if the iterable is empty * @return the first element of {@code iterable} or the default value * @since 7.0 */ @ParametricNullnessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
* * @param template the Groovy script to evaluate (null-safe, returns null if empty) * @param paramMap the parameters to bind to the script (null-safe, treated as empty map if null) * @return the result of script evaluation, or null if the template is empty or evaluation fails * @throws JobProcessingException if the script explicitly throws this exceptionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
secretKey string // Sent body body []byte // Expected response expectedRespStatus int lifecycleResponse []byte errorResponse APIErrorResponse shouldPass bool }{ // GET empty credentials { method: http.MethodGet, bucketName: bucketName, accessKey: "", secretKey: "", expectedRespStatus: http.StatusForbidden, lifecycleResponse: []byte(""),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertNotNull(context); assertNull(context.getCiphers()); } @Test @DisplayName("Should create instance with empty ciphers array") void testConstructorWithEmptyCiphers() { int[] ciphers = {}; EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0)