MCPcopy Index your code
hub / github.com/cpplint/cpplint / UpdateWithLines

Method UpdateWithLines

cpplint_unittest.py:6772–6775  ·  view source on GitHub ↗
(self, lines)

Source from the content-addressed store, hash-verified

6770 assert condition, message
6771
6772 def UpdateWithLines(self, lines):
6773 clean_lines = cpplint.CleansedLines(lines)
6774 for line in range(clean_lines.NumLines()):
6775 self.nesting_state.Update("test.cc", clean_lines, line, self.error_collector)
6776
6777 def testEmpty(self):
6778 self.UpdateWithLines([])

Callers 13

testEmptyMethod · 0.95
testNamespaceMethod · 0.95
testDecoratedClassMethod · 0.95
testInnerClassMethod · 0.95
testClassMethod · 0.95
testClassAccessMethod · 0.95
testStructMethod · 0.95
testPreprocessorMethod · 0.95
testTemplateMethod · 0.95
testArgumentsMethod · 0.95

Calls 2

NumLinesMethod · 0.95
UpdateMethod · 0.80

Tested by

no test coverage detected