MCPcopy Create free account
hub / github.com/apache/impala / AuthOk

Function AuthOk

be/src/rpc/authentication-test.cc:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void AuthOk(const string& name, SecureAuthProvider* sa) {
87 EXPECT_EQ(SASL_OK,
88 SaslAuthorizeInternal(NULL, (void*)sa, name.c_str(), name.size(), NULL, 0, NULL, 0,
89 NULL));
90}
91
92void AuthFails(const string& name, SecureAuthProvider* sa) {
93 EXPECT_EQ(SASL_BADAUTH,

Callers 1

TESTFunction · 0.85

Calls 2

SaslAuthorizeInternalFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected