CloudPolicyValidatorTest 37 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc CloudPolicyValidatorTest() CloudPolicyValidatorTest 66 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc base::Bind(&CloudPolicyValidatorTest::ValidationCompletion, CloudPolicyValidatorTest 134 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc DISALLOW_COPY_AND_ASSIGN(CloudPolicyValidatorTest); CloudPolicyValidatorTest 137 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, SuccessfulValidation) { CloudPolicyValidatorTest 138 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc Validate(Invoke(this, &CloudPolicyValidatorTest::CheckSuccessfulValidation)); CloudPolicyValidatorTest 141 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, SuccessfulRunValidation) { CloudPolicyValidatorTest 150 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, SuccessfulRunValidationWithNoExistingDMToken) { CloudPolicyValidatorTest 152 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc Validate(Invoke(this, &CloudPolicyValidatorTest::CheckSuccessfulValidation)); CloudPolicyValidatorTest 155 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, SuccessfulRunValidationWithNoDMTokens) { CloudPolicyValidatorTest 159 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc Validate(Invoke(this, &CloudPolicyValidatorTest::CheckSuccessfulValidation)); CloudPolicyValidatorTest 162 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, UsernameCanonicalization) { CloudPolicyValidatorTest 168 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoPolicyType) { CloudPolicyValidatorTest 173 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorWrongPolicyType) { CloudPolicyValidatorTest 178 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoTimestamp) { CloudPolicyValidatorTest 183 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, IgnoreMissingTimestamp) { CloudPolicyValidatorTest 189 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorOldTimestamp) { CloudPolicyValidatorTest 196 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorTimestampFromTheFuture) { CloudPolicyValidatorTest 203 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, IgnoreErrorTimestampFromTheFuture) { CloudPolicyValidatorTest 212 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoRequestToken) { CloudPolicyValidatorTest 217 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoRequestTokenNotRequired) { CloudPolicyValidatorTest 225 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoRequestTokenNoTokenPassed) { CloudPolicyValidatorTest 233 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidRequestToken) { CloudPolicyValidatorTest 238 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoPolicyValue) { CloudPolicyValidatorTest 244 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidPolicyValue) { CloudPolicyValidatorTest 251 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoUsername) { CloudPolicyValidatorTest 256 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidUsername) { CloudPolicyValidatorTest 261 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorErrorMessage) { CloudPolicyValidatorTest 267 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorErrorCode) { CloudPolicyValidatorTest 273 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoSignature) { CloudPolicyValidatorTest 280 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidSignature) { CloudPolicyValidatorTest 287 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoPublicKey) { CloudPolicyValidatorTest 294 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidPublicKey) { CloudPolicyValidatorTest 301 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoPublicKeySignature) { CloudPolicyValidatorTest 308 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidPublicKeySignature) { CloudPolicyValidatorTest 318 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidPublicKeyVerificationSignature) { CloudPolicyValidatorTest 326 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorDomainMismatchForKeyVerification) { CloudPolicyValidatorTest 336 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorDomainExtractedFromUsernameMismatch) { CloudPolicyValidatorTest 349 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoCachedKeySignature) { CloudPolicyValidatorTest 357 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorInvalidCachedKeySignature) { CloudPolicyValidatorTest 367 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, SuccessfulNoDomainValidation) { CloudPolicyValidatorTest 371 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc Validate(Invoke(this, &CloudPolicyValidatorTest::CheckSuccessfulValidation)); CloudPolicyValidatorTest 374 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, ErrorNoRotationAllowed) { CloudPolicyValidatorTest 379 components/policy/core/common/cloud/cloud_policy_validator_unittest.cc TEST_F(CloudPolicyValidatorTest, NoRotation) {