1 | <?php |
||
9 | class FunctionalTest extends SeleniumTestCase |
||
10 | { |
||
11 | /** |
||
12 | * @expectedException \RuntimeException |
||
13 | * @expectedExceptionMessage Not enough permissions |
||
14 | */ |
||
15 | public function test_Get_Without_Permissions() |
||
22 | |||
23 | /** |
||
24 | * @expectedException \RuntimeException |
||
25 | * @expectedExceptionMessage File already exists. ./bin/selenium-server-standalone.jar |
||
26 | */ |
||
27 | public function test_Get_Will_Download_a_File() |
||
40 | |||
41 | /** |
||
42 | * @expectedException \RuntimeException |
||
43 | * @expectedExceptionMessage Selenium jar is not a file |
||
44 | * @depends test_Get_Will_Download_a_File |
||
45 | */ |
||
46 | public function test_Start_Does_Not_Exists() |
||
50 | |||
51 | /** |
||
52 | * @expectedException \RuntimeException |
||
53 | * @expectedExceptionMessage Timeout |
||
54 | * @depends test_Get_Will_Download_a_File |
||
55 | */ |
||
56 | public function test_Start_Cmd_With_Short_Timeout() |
||
60 | |||
61 | private function exeGetCmd() |
||
71 | |||
72 | /** |
||
73 | * @depends test_Get_Will_Download_a_File |
||
74 | */ |
||
75 | public function test_Start_Works() |
||
81 | |||
82 | /** |
||
83 | * @depends test_Get_Will_Download_a_File |
||
84 | */ |
||
85 | public function test_Start_Cmd_XVFB() |
||
91 | } |
||
92 |