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

Method TestLanguageRulesCheck

cpplint_unittest.py:259–260  ·  view source on GitHub ↗
(self, file_name, code, expected_message)

Source from the content-addressed store, hash-verified

257 assert re.search(expected_message_re, message)
258
259 def TestLanguageRulesCheck(self, file_name, code, expected_message):
260 assert expected_message == self.PerformLanguageRulesCheck(file_name, code)
261
262 def TestIncludeWhatYouUse(self, code, expected_message):
263 assert expected_message == self.PerformIncludeWhatYouUse(code)

Callers 5

testCheckDeprecatedMethod · 0.80
testHppIncludeMethod · 0.80
testRegressionMethod · 0.80

Calls 1

Tested by

no test coverage detected