1 | <?php |
||
7 | abstract class BootstrapTestSuite extends WebTestCase |
||
8 | { |
||
9 | public $client; |
||
10 | public $crawler; |
||
11 | public $response; |
||
12 | |||
13 | protected function setupTest($path) |
||
25 | |||
26 | public function setupBootstrapping($client, $crawler, $response) |
||
32 | |||
33 | public function globalTests($status = 200) |
||
49 | |||
50 | private function profileCheck($profile) |
||
70 | |||
71 | public function get($dependency) |
||
77 | |||
78 | /** |
||
79 | * Gets the value of client. |
||
80 | * |
||
81 | * @return mixed |
||
82 | */ |
||
83 | public function getClient() |
||
87 | |||
88 | /** |
||
89 | * Sets the value of client. |
||
90 | * |
||
91 | * @param mixed $client the client |
||
92 | * |
||
93 | * @return self |
||
94 | */ |
||
95 | public function setClient($client) |
||
101 | |||
102 | /** |
||
103 | * Gets the value of crawler. |
||
104 | * |
||
105 | * @return mixed |
||
106 | */ |
||
107 | public function getCrawler() |
||
111 | |||
112 | /** |
||
113 | * Sets the value of crawler. |
||
114 | * |
||
115 | * @param mixed $crawler the crawler |
||
116 | * |
||
117 | * @return self |
||
118 | */ |
||
119 | public function setCrawler($crawler) |
||
125 | |||
126 | /** |
||
127 | * Gets the value of response. |
||
128 | * |
||
129 | * @return mixed |
||
130 | */ |
||
131 | public function getResponse() |
||
135 | |||
136 | /** |
||
137 | * Sets the value of response. |
||
138 | * |
||
139 | * @param mixed $response the response |
||
140 | * |
||
141 | * @return self |
||
142 | */ |
||
143 | public function setResponse($response) |
||
149 | } |
||
150 |