Esempio n. 1
0
 def test_two_starts_cleans_up_properly(self):
     port = TestWebKitPort()
     port._server_process_constructor = MockServerProcess
     driver = Driver(port, 0, pixel_tests=True)
     driver.start(True, [])
     last_tmpdir = port._filesystem.last_tmpdir
     driver._start(True, [])
     self.assertFalse(port._filesystem.isdir(last_tmpdir))
Esempio n. 2
0
 def test_two_starts_cleans_up_properly(self):
     port = TestWebKitPort()
     port._server_process_constructor = MockServerProcess
     driver = Driver(port, 0, pixel_tests=True)
     driver.start(True, [])
     last_tmpdir = port._filesystem.last_tmpdir
     driver._start(True, [])
     self.assertFalse(port._filesystem.isdir(last_tmpdir))
Esempio n. 3
0
 def test_start_actually_starts(self):
     port = TestWebKitPort()
     port._server_process_constructor = MockServerProcess
     driver = Driver(port, 0, pixel_tests=True)
     driver.start(True, [])
     self.assertTrue(driver._server_process.started)
Esempio n. 4
0
 def test_start_actually_starts(self):
     port = TestWebKitPort()
     port._server_process_constructor = MockServerProcess
     driver = Driver(port, 0, pixel_tests=True)
     driver.start(True, [])
     self.assertTrue(driver._server_process.started)