| 10 | class ErrorCodeDefineTest : public ::testing::TestWithParam<std::pair<AGenUIExeCode, std::string>> {}; |
| 11 | |
| 12 | TEST_P(ErrorCodeDefineTest, CodeReturnsExpectedString) { |
| 13 | auto [code, expected] = GetParam(); |
| 14 | EXPECT_EQ(getExeCodeString(code), expected); |
| 15 | } |
| 16 | |
| 17 | INSTANTIATE_TEST_SUITE_P(AllCodes, ErrorCodeDefineTest, ::testing::Values( |
| 18 | std::make_pair(Execute_Success, "execute success"), |
nothing calls this directly
no test coverage detected