Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Fixed test class for Zepto\Router
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan committed Feb 20, 2014
1 parent c2e9c76 commit d499e64
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tests/Zepto/RouterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected function tearDown()
}

/**
* @covers Zepto\Router::get
* @covers Zepto\Router::get()
* @covers Zepto\Router::route()
*/
public function testGet()
Expand All @@ -76,7 +76,7 @@ public function testGet()
}

/**
* @covers Zepto\Router::post
* @covers Zepto\Router::post()
* @covers Zepto\Router::route()
*/
public function testPost()
Expand All @@ -93,7 +93,7 @@ public function testPost()
}

/**
* @covers Zepto\Router::get
* @covers Zepto\Router::get()
* @covers Zepto\Router::route()
* @expectedException LogicException
*/
Expand Down Expand Up @@ -140,7 +140,7 @@ public function testRouteWithInvalidHttpMethod()
}

/**
* @covers Zepto\Router::match
* @covers Zepto\Router::match()
*/
public function testMatch()
{
Expand All @@ -152,7 +152,7 @@ public function testMatch()
}

/**
* @covers Zepto\Router::match
* @covers Zepto\Router::match()
*/
public function testMatchFail()
{
Expand All @@ -164,11 +164,11 @@ public function testMatchFail()
}

/**
* @covers Zepto\Router::run
* @covers Zepto\Router::match
* @covers Zepto\Router::parse_parameters
* @covers Zepto\Router::current_route
* @covers Zepto\Router::current_http_status
* @covers Zepto\Router::run()
* @covers Zepto\Router::match()
* @covers Zepto\Router::parse_parameters()
* @covers Zepto\Router::current_route()
* @covers Zepto\Router::current_http_status()
*/
public function testRun()
{
Expand All @@ -190,11 +190,11 @@ public function testRun()
}

/**
* @covers Zepto\Router::run
* @covers Zepto\Router::match
* @covers Zepto\Router::parse_parameters
* @covers Zepto\Router::current_route
* @covers Zepto\Router::current_http_status
* @covers Zepto\Router::run()
* @covers Zepto\Router::match()
* @covers Zepto\Router::parse_parameters()
* @covers Zepto\Router::current_route()
* @covers Zepto\Router::current_http_status()
*/
public function testRunWithParameters()
{
Expand All @@ -216,7 +216,7 @@ public function testRunWithParameters()
}

/**
* @covers Zepto\Router::run
* @covers Zepto\Router::run()
*/
public function testRunBeforeAddingRoutes()
{
Expand All @@ -225,9 +225,9 @@ public function testRunBeforeAddingRoutes()
}

/**
* @covers Zepto\Router::run
* @covers Zepto\Router::match
* @covers Zepto\Router::not_found
* @covers Zepto\Router::run()
* @covers Zepto\Router::match()
* @covers Zepto\Router::not_found()
*/
public function testRunWithNotFoundError()
{
Expand All @@ -247,9 +247,9 @@ public function testRunWithNotFoundError()
}

/**
* @covers Zepto\Router::run
* @covers Zepto\Router::match
* @covers Zepto\Router::error
* @covers Zepto\Router::run()
* @covers Zepto\Router::match()
* @covers Zepto\Router::error()
*/
public function testRunWithError()
{
Expand Down Expand Up @@ -289,7 +289,7 @@ public function testRedirectWithoutUrl()
}

/**
* @covers Zepto\Router::routes
* @covers Zepto\Router::routes()
*/
public function testRoutes()
{
Expand All @@ -313,7 +313,7 @@ public function testRoutes()
}

/**
* @covers Zepto\Router::error
* @covers Zepto\Router::error()
*/
public function testError()
{
Expand All @@ -327,7 +327,7 @@ public function testError()
}

/**
* @covers Zepto\Router::not_found
* @covers Zepto\Router::not_found()
*/
public function testNotFound()
{
Expand Down

0 comments on commit d499e64

Please sign in to comment.