- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,064 for EXPECTED (0.12 sec)
-
cmd/policy_test.go
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) { t.Fatalf("case %v: result: expected: %+v, got: %+v\n", i+1, testCase.expectedResult, result) } } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
} @Test void testToStringWithoutOptionsAndEndpoint() { String expected = PROTO + ":" + SERVER + "[null]"; assertEquals(expected, dcerpcBinding.toString(), "toString should correctly represent the binding without options or endpoint."); } @Test void testToStringWithEndpoint() throws DcerpcException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/resiliency/resiliency-verify-script.sh
OBJ_COUNT_AFTER_STOP=$(./mc ls "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ | wc -l) # Count should match the initial count of 10 if [ "${OBJ_COUNT_AFTER_STOP}" -ne 10 ]; then echo "Expected 10 objects; received ${OBJ_COUNT_AFTER_STOP}" exit 1 fi ./mc ready "${ALIAS_NAME}" --json OUT=$(./mc cp --quiet "${SRC_DIR}"/* "${ALIAS_NAME}"/"${BUCKET}"/new-data/) RET=${?} if [ ${RET} -ne 0 ]; then
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/erasure-healing_test.go
gotMeta, dangling := isObjectDangling(testCase.metaArr, testCase.errs, testCase.dataErrs) if !gotMeta.Equals(testCase.expectedMeta) { t.Errorf("Expected %#v, got %#v", testCase.expectedMeta, gotMeta) } if dangling != testCase.expectedDangling { t.Errorf("Expected dangling %t, got %t", testCase.expectedDangling, dangling) } }) } } // Tests both object and bucket healing.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 48.5K bytes - Viewed (0) -
docs/resiliency/resiliency-verify-failure-script.sh
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 509 bytes - Viewed (0) -
cmd/object-api-deleteobject_test.go
if err != nil && !isErrObjectNotFound(err) { t.Log(oi) t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err) continue } result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000) if err != nil { t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error()) continue }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 4.1K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
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`") } if update != testCase.expectedUpdate { t.Errorf("Expected %t, got %t", testCase.expectedUpdate, update) } }) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java
public <T> void testCaptureTypeParameter() throws Exception { TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; TypeVariable<?> expected = TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") .getTypeParameters()[0]; assertEquals(expected, variable); } public void testConcreteTypeRejected() { assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/tier_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
* be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a * {@code com.google.common.base.Predicate} is expected, use the method reference {@code * predicate::test}. * * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 15:22:00 UTC 2025 - 3.3K bytes - Viewed (0)