| 33 | namespace { |
| 34 | |
| 35 | TEST(DescriptorPoolBuilderTest, IncludesDefaults) { |
| 36 | DescriptorPoolBuilder builder; |
| 37 | |
| 38 | auto pool = std::move(builder).Build(); |
| 39 | EXPECT_THAT( |
| 40 | pool->FindMessageTypeByName("cel.expr.conformance.proto2.TestAllTypes"), |
| 41 | IsNull()); |
| 42 | |
| 43 | EXPECT_THAT(pool->FindMessageTypeByName("google.protobuf.Timestamp"), |
| 44 | NotNull()); |
| 45 | EXPECT_THAT(pool->FindMessageTypeByName("google.protobuf.Any"), NotNull()); |
| 46 | } |
| 47 | |
| 48 | TEST(DescriptorPoolBuilderTest, AddTransitiveDescriptorSet) { |
| 49 | DescriptorPoolBuilder builder; |
nothing calls this directly
no test coverage detected