Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,190 for expectEq (0.13 sec)

  1. docs/bucket/replication/setup_2site_existing_replication.sh

    sitea_out=$(cat /tmp/sitea_dirs.txt)
    siteb_out=$(cat /tmp/siteb_dirs.txt)
    
    if [ $sitea_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${sitea_out}"
    	exit 1
    fi
    
    if [ $siteb_count -ne 0 ]; then
    	echo "BUG: expected no 'directory objects' left after deletion: ${siteb_out}"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/distributed/iam-import-with-missing-entities.sh

    if [ "${USER_COUNT}" -ne 2 ]; then
    	echo "BUG: Expected no of users: 2 Found: ${USER_COUNT}"
    	exit 1
    fi
    ./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json
    SVCACCT_COUNT_1=$(./mc admin user svcacct list myminio "uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io" --json | jq '.accessKey' | wc -l)
    if [ "${SVCACCT_COUNT_1}" -ne 2 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. internal/event/rulesmap_test.go

    		result := testCase.rulesMap.Clone()
    
    		if !reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rulesMap, result)
    		}
    
    		result.Add(testCase.rulesMapToAdd)
    		if reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesMapAdd(t *testing.T) {
    	rulesMapCase1 := make(RulesMap)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jan 05 18:43:06 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        encoding: Encoding,
        component: Component,
      ) {
        val expected = component.canonicalize(encoding.encode(codePoint))
        val urlString = component.urlString(expected)
        val url = urlString.toHttpUrl()
        val actual = component.encodedValue(url)
        if (actual != expected) {
          fail("Encoding $component $codePoint using $encoding: '$actual' != '$expected'")
        }
      }
    
      private fun testEncodeAndDecode(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    			t.Errorf("Test %d: %s: Expected to pass, but failed with: error %s.", i, instanceType, actualErr.Error())
    			continue
    		}
    		if actualErr == nil && testCase.expectedError != nil {
    			t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but passed instead.", i, instanceType, testCase.expectedError.Error())
    			continue
    		}
    		// Failed as expected, but does it fail for the expected reason.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. internal/event/config_test.go

    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(result, testCase.expectedResult) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    			}
    		}
    	}
    }
    
    func TestFilterRuleListUnmarshalXML(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
                .add(Range.open(6, 7))
                .add(Range.singleton(8))
                .build();
    
        assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testDifference() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers_test.go

    		if recV2.Code != testPolicy.expectedRespStatus {
    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testPolicy.expectedRespStatus, recV2.Code)
    		}
    	}
    
    	// test cases with inputs and expected result for GetBucketPolicyHandler.
    	testCases := []struct {
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected output.
    		expectedBucketPolicy string
    		expectedRespStatus   int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        assertEquals(
            "put(present, value) should return the associated value",
            getValueForNullKey(),
            put(newEntry));
    
        Entry<K, V>[] expected = createArrayWithNullKey();
        expected[getNullLocation()] = newEntry;
        expectContents(expected);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
      public void testPut_nullKeyUnsupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt_test.go

    			claims["exp"] = testCase.exp
    			err := updateClaimsExpiry(testCase.dsecs, claims)
    			if err != nil && !testCase.expectedFailure {
    				t.Errorf("Expected success, got failure %s", err)
    			}
    			if err == nil && testCase.expectedFailure {
    				t.Error("Expected failure, got success")
    			}
    		})
    	}
    }
    
    func initJWKSServer() *httptest.Server {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top