| 36 | using ::testing::UnorderedElementsAre; |
| 37 | |
| 38 | TEST(VariableDecl, Name) { |
| 39 | VariableDecl variable_decl; |
| 40 | EXPECT_THAT(variable_decl.name(), IsEmpty()); |
| 41 | variable_decl.set_name("foo"); |
| 42 | EXPECT_EQ(variable_decl.name(), "foo"); |
| 43 | EXPECT_EQ(variable_decl.release_name(), "foo"); |
| 44 | EXPECT_THAT(variable_decl.name(), IsEmpty()); |
| 45 | } |
| 46 | |
| 47 | TEST(VariableDecl, Type) { |
| 48 | VariableDecl variable_decl; |
nothing calls this directly
no test coverage detected