(self)
| 372 | ) |
| 373 | |
| 374 | def testNestingInNamespace(self): |
| 375 | lines = [ |
| 376 | "namespace Test {", |
| 377 | "struct OuterClass {", |
| 378 | " struct NoFalsePositivesHere;", |
| 379 | " struct NoFalsePositivesHere member_variable;", |
| 380 | "};", |
| 381 | "void foo() {", |
| 382 | " const int no_positives_eh = 418;", |
| 383 | "}", |
| 384 | "} // namespace Test", |
| 385 | ] |
| 386 | |
| 387 | results = self.GetNamespaceResults(lines) |
| 388 | assert results == "" |
| 389 | |
| 390 | # Test get line width. |
| 391 | def testGetLineWidth(self): |
nothing calls this directly
no test coverage detected