Home | History | Annotate | Download | only in port

Lines Matching refs:driver

51         self.driver = chromium.ChromiumDriver(mock_port, worker_number=0)
55 self.assertEqual(self.driver._test_shell_command("test.html", 2, "checksum"), expected_command)
64 self.driver._proc.stdin = StringIO.StringIO()
65 line, did_crash = self.driver._write_command_and_read_line(input)
66 self.assertEqual(self.driver._proc.stdin.getvalue(), expected_stdin)
71 self.driver._proc = Mock()
73 self.driver._proc.stdout = StringIO.StringIO("first\nsecond\nthird\n")
87 self.driver._proc.stdout.readline = mock_readline
93 self.driver._proc = Mock()
94 self.driver._proc.pid = 1
95 self.driver._proc.stdin = StringIO.StringIO()
96 self.driver._proc.stdout = StringIO.StringIO()
97 self.driver._proc.stderr = StringIO.StringIO()
98 self.driver._proc.poll = lambda: None
104 self.driver._proc.wait = fake_wait
109 self.driver._proc.poll = lambda: 2
111 self.driver._port._executive = FakeExecutive()
112 self.driver.KILL_TIMEOUT = 0.01
113 self.driver.stop()