- Sort Score
- Result 10 results
- Languages All
Results 1961 - 1970 of 2,109 for collect (0.05 sec)
-
cmd/object-handlers_test.go
accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusBadRequest, wantAPICode: "XAmzContentChecksumMismatch", }, // Correct crc32 9: { bucketName: bucketName, objectName: objectName, headers: map[string]string{"x-amz-checksum-crc32": checksumData(bytesData, crc32.New(crc32.IEEETable))},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
populatedArray.s[i] = entry; } // Replace the info.e field with our populated array setDfsEnumArray(dfsRootEnum, populatedArray); // Test getEntries returns correct SmbShareInfo objects FileEntry[] entries = dfsRootEnum.getEntries(); assertNotNull(entries); assertEquals(3, entries.length); // Verify each entry for (int i = 0; i < 3; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/testing.md
================ test session starts ================ platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 rootdir: /home/user/code/superawesome-cli/app plugins: forked-1.1.3, xdist-1.31.0, cov-2.8.1 collected 6 items ---> 100% test_main.py <span style="color: green; white-space: pre;">...... [100%]</span>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 11:24:48 UTC 2024 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
String id = "test-id"; SuggestSettings settings = builder.build(client, id); assertNotNull(settings); // Verify that the settings object was created with the correct parameters // Note: We can't directly verify internal state of SuggestSettings without getters, // but we can verify it was created successfully } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
@Test public void testSuccessfulOperation() throws CIFSException { String result = circuitBreaker.executeWithCircuitBreaker(() -> "success"); assertEquals("success", result, "Operation should return correct result"); assertEquals(State.CLOSED, circuitBreaker.getState(), "State should remain CLOSED"); assertEquals(0, circuitBreaker.getFailureCount(), "Failure count should remain 0"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
cmd/object-api-putobject_test.go
continue } // Test passes as expected, but the output values are verified for correctness here. if actualErr == nil { // Asserting whether the md5 output is correct. if expectedMD5, ok := testCase.inputMeta["etag"]; ok && expectedMD5 != objInfo.ETag { t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i, instanceType, objInfo.ETag) continue } }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 25.8K bytes - Viewed (0) -
cmd/object-handlers-common.go
// and don't process the If-Modified-Since header. if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) { return false } // Check if the part number is correct. if opts.PartNumber > 1 { partFound := false for _, pi := range objInfo.Parts { if pi.Number == opts.PartNumber { partFound = true break } } if !partFound {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 23 12:36:06 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals("SERVER2", serverList.get(1).oemDomainName); } /** * Test field types match expected types */ @Test @DisplayName("Test field types are correct") public void testFieldTypes() throws NoSuchFieldException { // Verify field types assertEquals(byte.class, ServerData.class.getDeclaredField("sflags").getType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
try { int read = sis.read(buffer, 0, 10); // Should read all 5 available bytes assertEquals(5, read); // Verify correct data for (int i = 0; i < 5; i++) { assertEquals(i + 1, buffer[i]); } // Next read will try to read header and should failRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/signature-v4.go
} // Verify if sha256 payload query is same. if clntHashedPayload != "" && clntHashedPayload != query.Get(xhttp.AmzContentSha256) { return ErrContentSHA256Mismatch } // Verify if security token is correct. if token != "" && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 { return ErrInvalidToken } // Verify finally if signature is same. // Get canonical request.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0)