(self)
| 7008 | assert self.nesting_state.stack[0].name == "K" |
| 7009 | |
| 7010 | def testTemplateDefaultArg(self): |
| 7011 | self.UpdateWithLines(["template <class T, class D = default_delete<T>> class unique_ptr {"]) |
| 7012 | assert len(self.nesting_state.stack) == 1 |
| 7013 | assert self.nesting_state.stack[0], isinstance( |
| 7014 | self.nesting_state.stack[0], cpplint._ClassInfo |
| 7015 | ) |
| 7016 | |
| 7017 | def testTemplateInnerClass(self): |
| 7018 | self.UpdateWithLines(["class A {", " public:"]) |
nothing calls this directly
no test coverage detected