def setUp(self):
     UsesQCoreApplication.setUp(self)
     self._timer_tick = 0
     self._timer = QTimer()
     self._timer.setInterval(20)
     self._timer.timeout.connect(self._control_test)
     self._worker_thread = TestThread()
Ejemplo n.º 2
0
 def tearDown(self):
     UsesQCoreApplication.tearDown(self)
Ejemplo n.º 3
0
 def setUp(self):
     UsesQCoreApplication.setUp(self)
 def tearDown(self):
     #Release resources
     del self.obj_filter
     UsesQCoreApplication.tearDown(self)
 def setUp(self):
     #Acquire resources
     UsesQCoreApplication.setUp(self)
     self.obj_filter = FilterObject(event_type=QTimerEvent)
Ejemplo n.º 6
0
 def tearDown(self):
     del self.watchdog
     del self.called
     UsesQCoreApplication.tearDown(self)
Ejemplo n.º 7
0
 def setUp(self):
     UsesQCoreApplication.setUp(self)
     self.watchdog = WatchDog(self)
     self.called = False
Ejemplo n.º 8
0
 def tearDown(self):
     #Release resources
     del self.watchdog
     del self.called
     UsesQCoreApplication.tearDown(self)
Ejemplo n.º 9
0
 def setUp(self):
     #Acquire resources
     UsesQCoreApplication.setUp(self)
     self.watchdog = WatchDog(self)
     self.called = False
Ejemplo n.º 10
0
 def tearDown(self):
     del self.timeline
     del self.receiver
     UsesQCoreApplication.tearDown(self)
Ejemplo n.º 11
0
 def setUp(self):
     UsesQCoreApplication.setUp(self)
     self.receiver = ExtQObject()
     self.timeline = QTimeLine(100)
Ejemplo n.º 12
0
 def tearDown(self):
     #Release resources
     del self.duck_childEvent_called
     UsesQCoreApplication.tearDown(self)
Ejemplo n.º 13
0
 def setUp(self):
     #Acquire resources
     self.duck_childEvent_called = False
     UsesQCoreApplication.setUp(self)
 def setUp(self):
     UsesQCoreApplication.setUp(self)
     self.called = False