Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,190 for expectEq (0.13 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

                assertNotEquals(v2, v1, "expected " + v2 + " != " + v1);
            } else if (expected < 0) {
                assertEquals(-1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " < " + v2);
                assertEquals(1, Integer.signum(v2.compareTo(v1)), "expected " + v2 + " > " + v1);
                assertNotEquals(v1, v2, "expected " + v1 + " != " + v2);
                assertNotEquals(v2, v1, "expected " + v2 + " != " + v1);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    			},
    		},
    	}
    
    	entRes.Timestamp = time.Time{}
    	if !reflect.DeepEqual(expected, entRes) {
    		c.Fatalf("policy entities mismatch: expected: %v, got: %v", expected, entRes)
    	}
    
    	dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    	res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    		if err != testCase.expectedErr {
    			t.Errorf("TestXLStorage case %d: Expected: \"%s\", got: \"%s\"", i+1, testCase.expectedErr, err)
    		}
    		if err == nil {
    			for _, expected := range testCase.expectedListDir {
    				if !strings.Contains(strings.Join(dirList, ","), expected) {
    					t.Errorf("TestXLStorage case %d: Expected the directory listing to be \"%v\", but got \"%v\"", i+1, testCase.expectedListDir, dirList)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock_test.go

    			},
    			expected: ObjectLegalHold{Status: LegalHoldOff},
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold": "X",
    			},
    			expected: ObjectLegalHold{Status: ""},
    		},
    	}
    
    	for i, tt := range tests {
    		o := GetObjectLegalHoldMeta(tt.metadata)
    		if o.Status != tt.expected.Status {
    			t.Fatalf("Case %d expected %v, got %v", i, tt.expected.Status, o.Status)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/behind-a-proxy.md

    ### Check the docs UI
    
    But here's the fun part. ✨
    
    The "official" way to access the app would be through the proxy with the path prefix that we defined. So, as we would expect, if you try the docs UI served by Uvicorn directly, without the path prefix in the URL, it won't work, because it expects to be accessed through the proxy.
    
    You can check it at <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:49:49 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. cmd/api-resources_test.go

    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix)
    		}
    		if token != testCase.token {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token)
    		}
    		if startAfter != testCase.startAfter {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	}
    
    	if tableType.Schema() != tblSchema {
    		t.Fatalf("expected tblSchema to be %s but got %s", tblSchema, tableType.Schema())
    	}
    
    	if tableType.Name() != tblName {
    		t.Fatalf("expected table name to be %s but got %s", tblName, tableType.Name())
    	}
    
    	if tableType.Type() != tblType {
    		t.Fatalf("expected table type to be %s but got %s", tblType, tableType.Type())
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashSet.java

     * elements, including {@code null}, are permitted.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 00:15:47 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. cmd/signature-v4_test.go

    				},
    				"Policy": []string{"policy"},
    			},
    			expected: ErrNone,
    		},
    	}
    
    	// Run each test case individually.
    	for i, testCase := range testCases {
    		_, code := doesPolicySignatureMatch(testCase.form)
    		if code != testCase.expected {
    			t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code))
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun buildEmptyForm() {
        val body = FormBody.Builder().build()
        val expected = ""
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val buffer = Buffer()
        body.writeTo(buffer)
        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun characterEncoding() {
        // Browsers convert '\u0000' to '%EF%BF%BD'.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top