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

Method expect_nothing

test/BoostBuild.py:670–688  ·  view source on GitHub ↗
(self, names)

Source from the content-addressed store, hash-verified

668 self.ignore_touch(wildcard)
669
670 def expect_nothing(self, names):
671 for name in self.adjust_names(names):
672 if name in self.difference.added_files:
673 annotation("failure",
674 "File %s added, but no action was expected" % name)
675 self.fail_test(1)
676 if name in self.difference.removed_files:
677 annotation("failure",
678 "File %s removed, but no action was expected" % name)
679 self.fail_test(1)
680 pass
681 if name in self.difference.modified_files:
682 annotation("failure",
683 "File %s modified, but no action was expected" % name)
684 self.fail_test(1)
685 if name in self.difference.touched_files:
686 annotation("failure",
687 "File %s touched, but no action was expected" % name)
688 self.fail_test(1)
689
690 def expect_nothing_more(self):
691 # 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