19 #include <gtest/gtest.h>
33 class TestAuthPropertyIterator :
public AuthPropertyIterator {
35 TestAuthPropertyIterator() {}
38 : AuthPropertyIterator(property,
iter) {}
43 void SetUp()
override {
44 ctx_ = grpc_core::MakeRefCounted<grpc_auth_context>(
nullptr);
54 TEST_F(AuthPropertyIteratorTest, DefaultCtor) {
55 TestAuthPropertyIterator iter1;
56 TestAuthPropertyIterator iter2;
60 TEST_F(AuthPropertyIteratorTest, GeneralTest) {
65 TestAuthPropertyIterator
iter(property, &c_iter);
66 TestAuthPropertyIterator empty_iter;
86 int main(
int argc,
char** argv) {