Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,292 for testname (0.04 sec)

  1. cmd/erasure-server-pool-decom_test.go

    		},
    	}
    
    	t.Parallel()
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			update, err := testCase.meta.validate(testCase.pools)
    			if testCase.expectedErr {
    				t.Log(err)
    			}
    			if err != nil && !testCase.expectedErr {
    				t.Errorf("Expected success, but found %s", err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error("Expected error, but got `nil`")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    		},
    	}
    
    	for i, testCase := range testCasesV4BadData {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    
    		testCase.policy = fmt.Sprintf(testCase.policy, testCase.dates...)
    
    		req, perr := newPostRequestV4Generic("", bucketName, testCase.objectName, testCase.data, testCase.accessKey,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. cmd/api-response_test.go

    			expectedLocation: "https://mybucket.mys3.bucket.org/test/1.txt",
    		},
    	}
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			gotLocation := getObjectLocation(testCase.request, testCase.domains, testCase.bucket, testCase.object)
    			if testCase.expectedLocation != gotLocation {
    				t.Errorf("expected %s, got %s", testCase.expectedLocation, gotLocation)
    			}
    		})
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses_test.go

    			gotIndexes, err := getSetIndexes(testCase.args, testCase.totalSizes, testCase.envOverride, argPatterns)
    			if err != nil && testCase.success {
    				t.Errorf("Expected success but failed instead %s", err)
    			}
    			if err == nil && !testCase.success {
    				t.Errorf("Expected failure but passed instead")
    			}
    			if !reflect.DeepEqual(testCase.indexes, gotIndexes) {
    				t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes)
    			}
    		})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. cmd/update-notifier_test.go

    	for i, testCase := range testCases {
    		output := prepareUpdateMessage(testCase.dlURL, testCase.older)
    		line1 := fmt.Sprintf("%s %s", plainMsg, color.YellowBold(testCase.expectedSubStr))
    		line2 := fmt.Sprintf("Update: %s", color.CyanBold(testCase.dlURL))
    		// Uncomment below to see message appearance:
    		// fmt.Println(output)
    		switch {
    		case testCase.dlURL == "" && output != "":
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. docs/orchestration/docker-compose/docker-compose.yaml

    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
          - data1-1:/data1
          - data1-2:/data2
    
      minio2:
        <<: *minio-common
        hostname: minio2
        volumes:
          - data2-1:/data1
          - data2-2:/data2
    
      minio3:
        <<: *minio-common
        hostname: minio3
        volumes:
          - data3-1:/data1
          - data3-2:/data2
    
      minio4:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 05:14:10 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        @DisplayName("Test reset method with lastName")
        void testReset() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
            String lastName = "LASTSERVER";
            netServerEnum2.reset(1, lastName);
    
            assertEquals(lastName, getFieldValue(netServerEnum2, "lastName"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. cmd/common-main_test.go

    				t.Error(errors.New("expected error, found success"))
    			}
    
    			if len(ekvs) != len(testCase.expectedEkvs) {
    				t.Errorf("expected %v keys, got %v keys", len(testCase.expectedEkvs), len(ekvs))
    			}
    
    			if !reflect.DeepEqual(ekvs, testCase.expectedEkvs) {
    				t.Errorf("expected %v, got %v", testCase.expectedEkvs, ekvs)
    			}
    		})
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      fun check(
        hostname: String,
        vararg peerCertificates: Certificate,
      ) {
        check(hostname, peerCertificates.toList())
      }
    
      /**
       * Returns list of matching certificates' pins for the hostname. Returns an empty list if the
       * hostname does not have pinned certificates.
       */
      fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFileAuthenticationCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setHostname_SpanTerm(String hostname) {
            setHostname_SpanTerm("hostname", null);
        }
    
        public void setHostname_SpanTerm(String hostname, ConditionOptionCall<SpanTermQueryBuilder> opLambda) {
            SpanTermQueryBuilder builder = regSpanTermQ("hostname", hostname);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 88.1K bytes
    - Viewed (0)
Back to top