Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testApp (0.15 sec)

  1. cmd/sts-handlers_test.go

    func (s *TestSuiteIAM) SetUpOpenIDs(c *check, testApps []OpenIDClientAppParams, rolePolicies []string) error {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    			UserDefined: udMap(false),
    		}
    	}
    
    	testSP := []struct {
    		decSz int64
    		oi    ObjectInfo
    	}{
    		{0, mkSPObj(0)},
    		{1, mkSPObj(1)},
    		{pkgSz - 1, mkSPObj(pkgSz - 1)},
    		{pkgSz, mkSPObj(pkgSz)},
    		{2*pkgSz - 1, mkSPObj(2*pkgSz - 1)},
    		{minPartSz, mkSPObj(minPartSz)},
    		{maxPartSz, mkSPObj(maxPartSz)},
    	}
    
    	for i, test := range testSP {
    		{
    			// nil range
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    				t.Fatalf("test %d: keyvalues[%d] does not match", i+1, j)
    			}
    		}
    	}
    }
    
    func TestLCP(t *testing.T) {
    	testCases := []struct {
    		prefixes     []string
    		commonPrefix string
    	}{
    		{[]string{"", ""}, ""},
    		{[]string{"a", "b"}, ""},
    		{[]string{"a", "a"}, "a"},
    		{[]string{"a/", "a/"}, "a/"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top