Sanitize identifier names before substituting them in C++ template files

This commit is contained in:
amzn-sj
2021-06-10 11:01:23 -07:00
parent 39d207095a
commit 2ee4d8ff6b
14 changed files with 114 additions and 87 deletions
@@ -14,7 +14,7 @@
#include <AzTest/AzTest.h>
class ${Name}Test
class ${SanitizedCppName}Test
: public ::testing::Test
{
protected:
@@ -29,7 +29,7 @@ protected:
}
};
TEST_F(${Name}Test, SanityTest)
TEST_F(${SanitizedCppName}Test, SanityTest)
{
ASSERT_TRUE(true);
}