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

Method testInitEmpty

cpplint_unittest.py:5980–5983  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5978 assert clean_lines.elided == ["Line 1", "Line 2", "Line 3", "Line 4", 'Line 5 ""']
5979
5980 def testInitEmpty(self):
5981 clean_lines = cpplint.CleansedLines([])
5982 assert clean_lines.raw_lines == []
5983 assert clean_lines.NumLines() == 0
5984
5985 def testCollapseStrings(self):
5986 collapse = cpplint.CleansedLines._CollapseStrings

Callers

nothing calls this directly

Calls 1

NumLinesMethod · 0.95

Tested by

no test coverage detected