Lines Matching refs:FindMethodByName
1098 TEST_F(ServiceDescriptorTest, FindMethodByName) {
1099 EXPECT_EQ(foo_ , service_ ->FindMethodByName("Foo"));
1100 EXPECT_EQ(bar_ , service_ ->FindMethodByName("Bar"));
1101 EXPECT_EQ(foo2_, service2_->FindMethodByName("Foo"));
1102 EXPECT_EQ(baz2_, service2_->FindMethodByName("Baz"));
1104 EXPECT_TRUE(service_ ->FindMethodByName("NoSuchMethod") == NULL);
1105 EXPECT_TRUE(service_ ->FindMethodByName("Baz" ) == NULL);
1106 EXPECT_TRUE(service2_->FindMethodByName("Bar" ) == NULL);
2140 const MethodDescriptor* method = service->FindMethodByName("Foo");
2402 const MethodDescriptor* method = service->FindMethodByName("Method");
4358 EXPECT_TRUE(test_service->FindMethodByName("NoSuchMethod") == NULL);
4373 EXPECT_TRUE(pool.FindMethodByName("TestService.NoSuchMethod") == NULL);
4433 EXPECT_TRUE(pool.FindMethodByName("Foo") == NULL);
4547 const MethodDescriptor *m_desc = s_desc->FindMethodByName("Method");