- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 235 for Scenario (0.31 seconds)
-
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
assertNotNull(retrieved); assertEquals(engine, retrieved); } // Test concurrent-like scenario (sequential but simulating concurrent behavior) @Test public void test_add_multipleSameNameSequential() { TestScriptEngine engine1 = new TestScriptEngine("v1");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
assertEquals("custom_field", queryContext.getDefaultField()); queryContext.setDefaultField(null); assertNull(queryContext.getDefaultField()); } // Test complex scenario with multiple operations @Test public void test_complexScenario() { getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
assertEquals(firstCall, secondCall); assertEquals(secondCall, thirdCall); } // Test with changing query string (though typically wouldn't change in real scenario) @Test public void test_getServletPath_withChangingQueryString() { final String originalPath = "/original/path"; final String customPath = "/api/v1/dynamic";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
cmd/peer-s3-server.go
// Initialize heal result info res = madmin.HealResultItem{ Type: madmin.HealItemBucket, Bucket: bucket, DiskCount: len(localDrives), SetCount: -1, // explicitly set an invalid value -1, for bucket heal scenario } // mutate only if not a dry-run if opts.DryRun { return res, nil } for i := range beforeState { res.Before.Drives = append(res.Before.Drives, madmin.HealDriveInfo{ UUID: "",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.2K bytes - Click Count (0) -
cmd/format-erasure.go
for _, format := range formats { if format == nil { continue } // NOTE: This code is specifically needed when migrating version // V1 to V2 to V3, in a scenario such as this we only need to handle // single sets since we never used to support multiple sets in releases // with V1 format version. if len(format.Erasure.Sets) > 1 { continue }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 23.1K bytes - Click Count (0) -
internal/http/headers.go
// Header indicates a Tag operation was performed on one/more peers successfully, though the // current cluster does not have the object yet. This is in a site/bucket replication scenario. MinIOTaggingProxied = "X-Minio-Tagging-Proxied" // Header indicates the actual replicated object size // In case of SSEC objects getting replicated (multipart) actual size would be needed at target
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// When request.setFileId(testFileId); // Then - verify through internal state (would need getter or reflection in real scenario) // Since we can't directly verify the internal state, we create a new request to test Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage()); // For testing purposes, continue processing other files // In a real scenario, you might want to handle this differently } } return files; } /** * Update directory cache with new listing *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
verify(request).size(); verify(request).getOverrideTimeout(); verify(request).allowChain(nextRequest); } @Test @DisplayName("Test chaining scenario with multiple requests") void testChainingScenario() { // Given CommonServerMessageBlockRequest thirdRequest = mock(CommonServerMessageBlockRequest.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
int responseCode = ntlmConnection.getResponseCode(); // Assert - Verify we got the 401 response (simplified test) assertEquals(HTTP_UNAUTHORIZED, responseCode); // In a real scenario, the connection would reconnect and send Type1/Type3 messages // This simplified test just verifies the initial handshake detection } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0)