- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 425 for testHash (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import java.util.Locale; import junit.framework.TestCase; /** * Since annotations have some reusability issues that force copy and paste all over the place, it's * worth having a test to ensure that all our Feature enums have their annotations correctly set up. * * @author George van den Driessche */ public class FeatureEnumTest extends TestCase {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
cmd/policy_test.go
{case3Policy, nil, true}, } for i, testCase := range testCases { result, err := PolicyToBucketAccessPolicy(testCase.bucketPolicy) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("case %v: error: expected: %v, got: %v\n", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(result, testCase.expectedResult) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 8.9K bytes - Click Count (0) -
cmd/endpoint_test.go
}, DistErasureSetupType, nil}, } for i, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { var srvCtxt serverCtxt err := mergeDisksLayoutFromArgs(testCase.args, &srvCtxt) if err != nil && testCase.expectedErr == nil { t.Errorf("Test %d: unexpected error: %v", i+1, err) } pools, setupType, err := CreatePoolEndpoints(testCase.serverAddr, srvCtxt.Layout.pools...)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.9K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
}, ) { for i, testCase := range testCases { // initialize httptest Recorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName), int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0) -
cmd/auth-handler_test.go
} // Validates all testcases. for i, testCase := range testCases { s3Error := isReqAuthenticated(ctx, testCase.req, globalSite.Region(), serviceS3) if s3Error != testCase.s3Error { if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error { t.Fatalf("Test %d: Unexpected S3 error: want %d - got %d (got after reading request %s)", i, testCase.s3Error, s3Error, toAPIError(ctx, err).Code) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (0) -
internal/config/compress/compress_test.go
} for _, testCase := range testCases { t.Run(testCase.str, func(t *testing.T) { gotPatterns, err := parseCompressIncludes(testCase.str) if !testCase.success && err == nil { t.Error("expected failure but success instead") } if testCase.success && err != nil { t.Errorf("expected success but failed instead %s", err) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
cmd/erasure-sets_test.go
{string([]byte{0xff, 0xfe, 0xfd}), 147}, } // Tests hashing order to be consistent. for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
import com.google.common.escape.testing.EscaperAsserts; import java.io.IOException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * @author David Beaumont */ @GwtCompatible @NullMarked public class ArrayBasedUnicodeEscaperTest extends TestCase { private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.Arrays; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.mockito.InOrder; /** * Tests for HashExtractors. * * @author Dimitris Andreou */ @NullUnmarked public class FunnelsTest extends TestCase { public void testForBytes() { PrimitiveSink primitiveSink = mock(PrimitiveSink.class);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6K bytes - Click Count (0) -
cmd/xl-storage_test.go
expectedErr: errFileNameTooLong, }, } for i, testCase := range testCases { if err := xlStorage.RenameFile(t.Context(), testCase.srcVol, testCase.srcPath, testCase.destVol, testCase.destPath); err != testCase.expectedErr { t.Fatalf("TestXLStorage %d: Expected the error to be : \"%v\", got: \"%v\".", i+1, testCase.expectedErr, err) } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0)