(self)
| 292 | return error_collector.Results() |
| 293 | |
| 294 | def testForwardDeclarationNamespaceIndentation(self): |
| 295 | lines = ["namespace Test {", " class ForwardDeclaration;", "} // namespace Test"] |
| 296 | |
| 297 | results = self.GetNamespaceResults(lines) |
| 298 | assert results == "Do not indent within a namespace. [whitespace/indent_namespace] [4]" |
| 299 | |
| 300 | def testNamespaceIndentationForClass(self): |
| 301 | lines = [ |
nothing calls this directly
no test coverage detected