Home | History | Annotate | Download | only in hosts

Lines Matching full:trigger

687       * Repair doesn't run unless at least one trigger fails.
698 Test a repair that doesn't trigger.
700 Construct and call a repair action with a verification trigger
702 * The `verify()` method for the trigger is called.
724 Construct and call a repair action with a verification trigger
729 * The `verify()` method for the trigger is called once.
755 Test a repair that fixes its trigger.
758 using a repair trigger that fails first, then passes after
761 * The trigger's `verify()` method is called twice.
784 Test a repair that doesn't fix a failing trigger.
786 Construct and call a repair action with a trigger that fails.
788 trigger still fails. Assert the following:
791 * The trigger's `verify()` method is called twice.
792 * The repair action's `status` field is 'failed-trigger'.
804 self.assertEqual(repair_action.status, 'failed-trigger')
817 trigger. The dependency will pass and the trigger will fail and
821 * The `verify()` method for the trigger is called twice.
825 for the successful dependency, the failed trigger, and
830 trigger = self._make_verifier(1, 'trig', [])
832 [dep], [trigger])
835 self.assertEqual(trigger.verify_count, 2)
851 trigger, both of which fail. Assert the following:
857 * The trigger and the repair action aren't invoked at all.
864 trigger = self._make_verifier(1, 'trig', [])
866 [dep], [trigger])
873 self.assertEqual(trigger.verify_count, 0)
1134 Test constructing a strategy with a single repair trigger.
1137 single trigger. Assert that the trigger graph looks like this:
1139 Repair -> Trigger
1156 triggers on the root verifier. Assert that the trigger graph
1176 single trigger. Assert that the trigger graph looks like this:
1178 Repair A -> Trigger
1179 Repair B -> Trigger
1180 Repair C -> Trigger
1226 trigger.
1250 repair actions are expected to trigger.
1272 * Both repair actions trigger and fail.
1273 * Both repair actions trigger and succeed.
1274 * Both repair actions trigger; the first one fails, but the
1276 * Both repair actions trigger; the first one succeeds, but the