(kind: string)
| 907 | |
| 908 | it('keeps two headers that declare one fixture name apart', async () => { |
| 909 | const test = (kind: string): string => lines( |
| 910 | 'template <typename T> class Shared : public ::testing::Test {};', |
| 911 | 'TYPED_TEST_SUITE_P(Shared);', |
| 912 | `TYPED_TEST_P(Shared, ${kind}) { TypeParam::Go(); }`, |
| 913 | ); |
| 914 | const unit = (kind: string): string => lines( |
| 915 | `#include "${kind.toLowerCase()}_test.h"`, |
| 916 | `struct ${kind}Type { static int Go() { return 1; } };`, |
no test coverage detected