- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 843 for success (0.05 seconds)
-
internal/config/compress/compress_test.go
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) } if testCase.success && !reflect.DeepEqual(testCase.expectedPatterns, gotPatterns) {
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/config-encrypted_test.go
edata []byte cred auth.Credentials success bool }{ {edata1, cred1, true}, {edata2, cred2, true}, {data, cred1, false}, } for _, test := range tests { t.Run("", func(t *testing.T) { ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata)) if err != nil && test.success { t.Errorf("Expected success, saw failure %v", err) } if err == nil && !test.success {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
var success = false // Tell the call about the connecting call so async cancels work. call.plansToCancel += this try { call.eventListener.connectStart(call, route.socketAddress, route.proxy) connectionPool.connectionListener.connectStart(route, call) connectSocket() success = true return ConnectResult(plan = this)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 19.3K bytes - Click Count (2) -
cmd/bucket-listobjects-handlers.go
var nodeIndex int if subToken, nodeIndex = parseRequestToken(token); nodeIndex >= 0 { proxied, success = proxyRequestByNodeIndex(ctx, w, r, nodeIndex, returnErr) } return subToken, proxied, success } func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int, returnErr bool) (proxied, success bool) { if len(globalProxyEndpoints) == 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.6K bytes - Click Count (0) -
cmd/kms-handlers_test.go
name: "create key as user with no resources specified want success", method: http.MethodPost, path: kmsKeyCreatePath, query: map[string]string{"key-id": "new-test-key"}, asRoot: false, policy: `{"Effect": "Allow", "Action": ["kms:CreateKey"] }`, wantStatusCode: http.StatusOK, }, { name: "create key as user set policy to allow want success", method: http.MethodPost,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 22.3K bytes - Click Count (0) -
cmd/xl-storage_test.go
if err = xlStorage.MakeVol(t.Context(), "success-vol"); err != nil { t.Fatalf("Unable to create volume, %s", err) } if err = xlStorage.AppendFile(t.Context(), "success-vol", "abc/def/ghi/success-file", []byte("Hello, world")); err != nil { t.Fatalf("Unable to create file, %s", err) } if err = xlStorage.AppendFile(t.Context(), "success-vol", "abc/xyz/ghi/success-file", []byte("Hello, world")); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
@Test @DisplayName("should create empty result") void shouldCreateEmptyResult() { UpgradeResult result = UpgradeResult.empty(); assertTrue(result.success(), "Empty result should be successful"); assertEquals(0, result.processedCount(), "Empty result should have no processed POMs");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
cmd/postpolicyform_test.go
t.Run("", func(t *testing.T) { _, err := parsePostPolicyForm(strings.NewReader(testCase.policy)) if testCase.success && err != nil { t.Errorf("Expected success but failed with %s", err) } if !testCase.success && err == nil { t.Errorf("Expected failed but succeeded") } }) } } type formValues struct { http.Header } func newFormValues() formValues {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/config/config_test.go
func TestValidRegion(t *testing.T) { tests := []struct { name string success bool }{ {name: "us-east-1", success: true}, {name: "us_east", success: true}, {name: "helloWorld", success: true}, {name: "-fdslka", success: false}, {name: "^00[", success: false}, {name: "my region", success: false}, {name: "%%$#!", success: false}, } for _, test := range tests {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.2K bytes - Click Count (0) -
internal/hash/reader_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.2K bytes - Click Count (0)