(self)
| 5433 | ), error_collector.ResultList() |
| 5434 | |
| 5435 | def testPragmaOnce(self): |
| 5436 | error_collector = ErrorCollector(self.assertTrue) |
| 5437 | cpplint.ProcessFileData( |
| 5438 | "mydir/foo.h", |
| 5439 | "h", |
| 5440 | ["// Copyright 2014 Your Company.", "#pragma once", ""], |
| 5441 | error_collector, |
| 5442 | ) |
| 5443 | assert error_collector.ResultList() == [] |
| 5444 | |
| 5445 | def testBuildHeaderGuardWithRoot(self): |
| 5446 | temp_directory = os.path.realpath(tempfile.mkdtemp()) |
nothing calls this directly
no test coverage detected