(self, expected_cmake, gn_string)
| 103 | return builder.GetResult() |
| 104 | |
| 105 | def _CompileAndCheck(self, expected_cmake, gn_string): |
| 106 | actual_cmake = self._Compile(gn_string) |
| 107 | self.assertIn(self._Canonicalize(expected_cmake), |
| 108 | self._Canonicalize(actual_cmake)) |
| 109 | pass |
| 110 | |
| 111 | def _CompileExpressionAndCheck(self, expected_cmake, gn_string): |
| 112 | gn_string = f'if ({gn_string}) {{ sources = [ "source.cc" ] }}' |
no test coverage detected