Lines Matching refs:uri
121 * @param string $uri end URL to simulate, needs to be one of the testable scripts
124 public function execute($uri = '/doku.php') { argument
136 $this->setUri($uri);
191 * @param string $uri end URL to simulate
194 protected function setUri($uri) { argument
195 if(!preg_match('#^(' . join('|', $this->valid_scripts) . ')#', $uri)) {
196 …throw new Exception("$uri \n--- only " . join(', ', $this->valid_scripts) . " are supported curren…
200 list($uri, $query) = sexplode('?', $uri, 2);
203 $this->script = substr($uri, 1);
212 $uri = $uri . $query;
216 $this->setServer('REQUEST_URI', $uri);
223 * @param string $uri end URL to simulate
226 public function post($post = array(), $uri = '/doku.php') { argument
229 return $this->execute($uri);
236 * @param string $uri end URL to simulate
239 public function get($get = array(), $uri = '/doku.php') { argument
242 return $this->execute($uri);