Changeset 5154
- Timestamp:
- 09/16/07 17:48:04 (6 years ago)
- Files:
-
- trunk/lib/test/sfTestBrowser.class.php (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/test/sfTestBrowser.class.php
r4593 r5154 43 43 * Retrieves the lime_test instance. 44 44 * 45 * @return sfTestBrowserThe lime_test instance45 * @return lime_test The lime_test instance 46 46 */ 47 47 public function test() … … 58 58 * @param string The expected return status code 59 59 * 60 * @return sf Browser The current sfBrowser instance60 * @return sfTestBrowser The current sfTestBrowser instance 61 61 */ 62 62 public function getAndCheck($module, $action, $url = null, $code = 200) … … 73 73 * Calls a request. 74 74 * 75 * @return sf Browser The current sfBrowser instance75 * @return sfTestBrowser The current sfTestBrowser instance 76 76 */ 77 77 public function call($uri, $method = 'get', $parameters = array(), $changeStack = true) … … 87 87 * Simulates the browser back button. 88 88 * 89 * @return sf Browser The current sfBrowser instance89 * @return sfTestBrowser The current sfTestBrowser instance 90 90 */ 91 91 public function back() … … 99 99 * Simulates the browser forward button. 100 100 * 101 * @return sf Browser The current sfBrowser instance101 * @return sfTestBrowser The current sfTestBrowser instance 102 102 */ 103 103 public function forward() … … 113 113 * @param boolean Flag for redirection mode 114 114 * 115 * @return sf Browser The current sfBrowser instance115 * @return sfTestBrowser The current sfTestBrowser instance 116 116 */ 117 117 public function isRedirected($boolean = true) … … 135 135 * @param string Text in the response 136 136 * 137 * @return sf Browser The current sfBrowser instance137 * @return sfTestBrowser The current sfTestBrowser instance 138 138 */ 139 139 public function check($uri, $text = null) … … 154 154 * @param string Status code to check, default 200 155 155 * 156 * @return sf Browser The current sfBrowser instance156 * @return sfTestBrowser The current sfTestBrowser instance 157 157 */ 158 158 public function isStatusCode($statusCode = 200) … … 168 168 * @param string Text to check 169 169 * 170 * @return sf Browser The current sfBrowser instance170 * @return sfTestBrowser The current sfTestBrowser instance 171 171 */ 172 172 public function responseContains($text) … … 183 183 * @param string Value 184 184 * 185 * @return sf Browser The current sfBrowser instance185 * @return sfTestBrowser The current sfTestBrowser instance 186 186 */ 187 187 public function isRequestParameter($key, $value) … … 199 199 * @param mixed The position in the action stack (default to the last entry) 200 200 * 201 * @return object this201 * @return sfTestBrowser The current sfTestBrowser instance 202 202 */ 203 203 public function isForwardedTo($moduleName, $actionName, $position = 'last') … … 229 229 * @param string Value 230 230 * 231 * @return sf Browser The current sfBrowser instance231 * @return sfTestBrowser The current sfTestBrowser instance 232 232 */ 233 233 public function isResponseHeader($key, $value) … … 258 258 * @param array Options for the current test 259 259 * 260 * @return sf Browser The current sfBrowser instance260 * @return sfTestBrowser The current sfTestBrowser instance 261 261 */ 262 262 public function checkResponseElement($selector, $value = true, $options = array()) … … 315 315 * @param string Message name 316 316 * 317 * @return sf Browser The current sfBrowser instance317 * @return sfTestBrowser The current sfTestBrowser instance 318 318 */ 319 319 public function throwsException($class = null, $message = null) … … 358 358 * @param boolean If have or not layout 359 359 * 360 * @return sf Browser The current sfBrowser instance360 * @return sfTestBrowser The current sfTestBrowser instance 361 361 */ 362 362 public function isCached($boolean, $with_layout = false) … … 372 372 * @param boolean If have or not layout 373 373 * 374 * @ param sfTestBrowser Test browser instance374 * @return sfTestBrowser The current sfTestBrowser instance 375 375 */ 376 376 public function isUriCached($uri, $boolean, $with_layout = false)