Lines Matching refs:criterion
39 - criterion
399 "Includes" : lambda criterion, value: criterion.stateIncludes(value),
400 "Excludes" : lambda criterion, value: not criterion.stateIncludes(value),
401 "Is" : lambda criterion, value: criterion.stateIs(value),
402 "IsNot" : lambda criterion, value: not criterion.stateIs(value)
412 self.isApplicableOperation = lambda criterion: applicableOperationWithoutValue(criterion, self.value)
463 """Root of configuration application criterion state"""
530 # Propagate to criterion coverage
606 class Criterion(Element):
607 tag = "Criterion"
643 "An exclusive criterion must have a non empty state")
665 return Criterion(self.name, self.isInclusif, subStateNames, subStateNames,
724 def __init__(self, criterion):
725 self.criterion = criterion
728 return ("Change request on an unknown criterion %s." %
729 self.criterion)
741 r""".*Criterion name: (.*)""",
748 changingCriterionRegext = r""".*Selection criterion changed event: Criterion name: (.*), current state: ([^\n\r]*)"""
781 logger.info("Creating criterion: " + criterionName +
787 self.criteria.addChild(Criterion(
795 logger.warning("Reseting criterion %s. Did you reset the PFW ?" % criterionName)
798 lambda criterion: criterion.reset()
809 logger.info("Changing criterion %s to %s" % (criterionName , newCriterionState))
812 changeCriterionOperation = lambda criterion : criterion.changeState(newCriterionState)
822 # Check that at least one criterion exist
828 # Change criterion state
884 # Create criterion list
982 '--ignore-unknown-criterion',
985 help="ignore unknown criterion"
989 '--ignore-incoherent-criterion-state',
992 criterion transition to incoherent state"
1024 errorToIgnore.append(Criterion.ChangeRequestToNonAccessibleState)