| 90 | } |
| 91 | |
| 92 | void AuthFails(const string& name, SecureAuthProvider* sa) { |
| 93 | EXPECT_EQ(SASL_BADAUTH, |
| 94 | SaslAuthorizeInternal(NULL, (void*)sa, name.c_str(), name.size(), NULL, 0, NULL, 0, |
| 95 | NULL)); |
| 96 | } |
| 97 | |
| 98 | TEST(Auth, AuthorizeInternalPrincipals) { |
| 99 | SecureAuthProvider sa(true); // false means it's external |
no test coverage detected