Home | History | Annotate | Download | only in cros

Lines Matching refs:Event

27         event = threading.Event()
29 event.set()
36 self.assertTrue(event.is_set(), 'The stress event did not run')
43 event = threading.Event()
45 event.set()
50 self.assertTrue(event.is_set())
57 event = threading.Event()
59 event.set()
64 self.assertTrue(event.is_set())
68 event = threading.Event()
71 if event.is_set():
73 event.set()
82 self.assertTrue(event.is_set(),
83 'Stress event ran despite a False start condition')
87 start_event = threading.Event()
88 ran_event = threading.Event()
105 'Stress event ran despite a False start condition')
119 self.assertEqual(10, count[0], 'Stress event did not run the expected '