MCPcopy Create free account
hub / github.com/boostorg/build / expect_nothing

Method expect_nothing

v2/test/BoostBuild.py:668–686  ·  view source on GitHub ↗
(self, names)

Source from the content-addressed store, hash-verified

666 self.ignore_touch(wildcard)
667
668 def expect_nothing(self, names):
669 for name in self.adjust_names(names):
670 if name in self.difference.added_files:
671 annotation("failure",
672 "File %s added, but no action was expected" % name)
673 self.fail_test(1)
674 if name in self.difference.removed_files:
675 annotation("failure",
676 "File %s removed, but no action was expected" % name)
677 self.fail_test(1)
678 pass
679 if name in self.difference.modified_files:
680 annotation("failure",
681 "File %s modified, but no action was expected" % name)
682 self.fail_test(1)
683 if name in self.difference.touched_files:
684 annotation("failure",
685 "File %s touched, but no action was expected" % name)
686 self.fail_test(1)
687
688 def expect_nothing_more(self):
689 # Not totally sure about this change, but I do not see a good

Callers 3

stage.pyFile · 0.80
clean.pyFile · 0.80

Calls 3

adjust_namesMethod · 0.95
fail_testMethod · 0.95
annotationFunction · 0.85

Tested by

no test coverage detected