1 | <?php |
||
7 | abstract class BootstrapTestSuite extends WebTestCase |
||
8 | { |
||
9 | public $client; |
||
10 | public $crawler; |
||
11 | public $response; |
||
12 | |||
13 | protected function setupTest($path) |
||
26 | |||
27 | public function setupBootstrapping($client, $crawler, $response) |
||
33 | |||
34 | public function globalTests($status = 200) |
||
52 | |||
53 | private function profileCheck($profile) |
||
73 | |||
74 | public function get($dependency) |
||
80 | |||
81 | /** |
||
82 | * Gets the value of client. |
||
83 | * |
||
84 | * @return mixed |
||
85 | */ |
||
86 | public function getClient() |
||
90 | |||
91 | /** |
||
92 | * Sets the value of client. |
||
93 | * |
||
94 | * @param mixed $client the client |
||
95 | * |
||
96 | * @return self |
||
97 | */ |
||
98 | public function setClient($client) |
||
104 | |||
105 | /** |
||
106 | * Gets the value of crawler. |
||
107 | * |
||
108 | * @return mixed |
||
109 | */ |
||
110 | public function getCrawler() |
||
114 | |||
115 | /** |
||
116 | * Sets the value of crawler. |
||
117 | * |
||
118 | * @param mixed $crawler the crawler |
||
119 | * |
||
120 | * @return self |
||
121 | */ |
||
122 | public function setCrawler($crawler) |
||
128 | |||
129 | /** |
||
130 | * Gets the value of response. |
||
131 | * |
||
132 | * @return mixed |
||
133 | */ |
||
134 | public function getResponse() |
||
138 | |||
139 | /** |
||
140 | * Sets the value of response. |
||
141 | * |
||
142 | * @param mixed $response the response |
||
143 | * |
||
144 | * @return self |
||
145 | */ |
||
146 | public function setResponse($response) |
||
152 | } |
||
153 |