(self)
| 5443 | assert error_collector.ResultList() == [] |
| 5444 | |
| 5445 | def testBuildHeaderGuardWithRoot(self): |
| 5446 | temp_directory = os.path.realpath(tempfile.mkdtemp()) |
| 5447 | try: |
| 5448 | test_directory = os.path.join(temp_directory, "test") |
| 5449 | os.makedirs(test_directory) |
| 5450 | os.makedirs(os.path.join(test_directory, ".svn")) |
| 5451 | header_directory = os.path.join(test_directory, "cpplint") |
| 5452 | os.makedirs(header_directory) |
| 5453 | self.doTestBuildHeaderGuardWithRoot(header_directory) |
| 5454 | finally: |
| 5455 | shutil.rmtree(temp_directory) |
| 5456 | |
| 5457 | def doTestBuildHeaderGuardWithRoot(self, header_directory): |
| 5458 | # note: Tested file paths must be real, otherwise |
nothing calls this directly
no test coverage detected