(self)
| 6811 | assert len(self.nesting_state.stack) == 0 |
| 6812 | |
| 6813 | def testInnerClass(self): |
| 6814 | self.UpdateWithLines(["class A::B::C {"]) |
| 6815 | assert len(self.nesting_state.stack) == 1 |
| 6816 | assert isinstance(self.nesting_state.stack[0], cpplint._ClassInfo) |
| 6817 | assert self.nesting_state.stack[0].name == "A::B::C" |
| 6818 | assert not self.nesting_state.stack[0].is_derived |
| 6819 | assert self.nesting_state.stack[0].class_indent == 0 |
| 6820 | self.UpdateWithLines(["}"]) |
| 6821 | assert len(self.nesting_state.stack) == 0 |
| 6822 | |
| 6823 | def testClass(self): |
| 6824 | self.UpdateWithLines(["class A {"]) |
nothing calls this directly
no test coverage detected