(self)
| 6801 | assert len(self.nesting_state.stack) == 0 |
| 6802 | |
| 6803 | def testDecoratedClass(self): |
| 6804 | self.UpdateWithLines(["class Decorated_123 API A {"]) |
| 6805 | assert len(self.nesting_state.stack) == 1 |
| 6806 | assert isinstance(self.nesting_state.stack[0], cpplint._ClassInfo) |
| 6807 | assert self.nesting_state.stack[0].name == "A" |
| 6808 | assert not self.nesting_state.stack[0].is_derived |
| 6809 | assert self.nesting_state.stack[0].class_indent == 0 |
| 6810 | self.UpdateWithLines(["}"]) |
| 6811 | assert len(self.nesting_state.stack) == 0 |
| 6812 | |
| 6813 | def testInnerClass(self): |
| 6814 | self.UpdateWithLines(["class A::B::C {"]) |
nothing calls this directly
no test coverage detected