Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EcomDev_PHPUnit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open
EcomDev_PHPUnit
Commits
320f9c87
Commit
320f9c87
authored
Jan 04, 2013
by
Ivan Chepurnyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
! Fix doc comments for controller test case
parent
91624ff7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
app/code/community/EcomDev/PHPUnit/Test/Case/Controller.php
app/code/community/EcomDev/PHPUnit/Test/Case/Controller.php
+13
-15
No files found.
app/code/community/EcomDev/PHPUnit/Test/Case/Controller.php
View file @
320f9c87
...
@@ -149,7 +149,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -149,7 +149,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
*
*
* @param string $type
* @param string $type
* @param string|null $expectedValue
* @param string|null $expectedValue
* @return
string
* @return
EcomDev_PHPUnit_Constraint_Controller_Request
*/
*/
public
static
function
request
(
$type
,
$expectedValue
=
null
)
public
static
function
request
(
$type
,
$expectedValue
=
null
)
{
{
...
@@ -162,7 +162,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -162,7 +162,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
* @param string $type
* @param string $type
* @param string $headerName
* @param string $headerName
* @param PHPUnit_Framework_Constraint|null $constraint
* @param PHPUnit_Framework_Constraint|null $constraint
* @return
string
* @return
EcomDev_PHPUnit_Constraint_Controller_Response_Header
*/
*/
public
static
function
responseHeader
(
$headerName
,
$type
,
PHPUnit_Framework_Constraint
$constraint
=
null
)
public
static
function
responseHeader
(
$headerName
,
$type
,
PHPUnit_Framework_Constraint
$constraint
=
null
)
{
{
...
@@ -173,7 +173,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -173,7 +173,7 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
* Controller response body constraint creation
* Controller response body constraint creation
*
*
* @param PHPUnit_Framework_Constraint $constraint
* @param PHPUnit_Framework_Constraint $constraint
* @return
string
* @return
EcomDev_PHPUnit_Constraint_Controller_Response_Body
*/
*/
public
static
function
responseBody
(
PHPUnit_Framework_Constraint
$constraint
)
public
static
function
responseBody
(
PHPUnit_Framework_Constraint
$constraint
)
{
{
...
@@ -525,10 +525,10 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -525,10 +525,10 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
* @param string $headerName
* @param string $headerName
* @param mixed $expectedValue
* @param mixed $expectedValue
* @param string $message
* @param string $message
* @param
float
$delta
* @param
int
$delta
* @param int
eger
$maxDepth
* @param int
$maxDepth
* @param bool
ean
$canonicalize
* @param bool
$canonicalize
* @param bool
ean
$ignoreCase
* @param bool
$ignoreCase
*/
*/
public
static
function
assertResponseHeaderEquals
(
$headerName
,
$expectedValue
,
$message
=
''
,
public
static
function
assertResponseHeaderEquals
(
$headerName
,
$expectedValue
,
$message
=
''
,
$delta
=
0
,
$maxDepth
=
10
,
$canonicalize
=
false
,
$ignoreCase
=
false
)
$delta
=
0
,
$maxDepth
=
10
,
$canonicalize
=
false
,
$ignoreCase
=
false
)
...
@@ -546,10 +546,10 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -546,10 +546,10 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
* @param string $headerName
* @param string $headerName
* @param mixed $expectedValue
* @param mixed $expectedValue
* @param string $message
* @param string $message
* @param
float
$delta
* @param
int
$delta
* @param int
eger
$maxDepth
* @param int
$maxDepth
* @param bool
ean
$canonicalize
* @param bool
$canonicalize
* @param bool
ean
$ignoreCase
* @param bool
$ignoreCase
*/
*/
public
static
function
assertResponseHeaderNotEquals
(
$headerName
,
$expectedValue
,
$message
=
''
,
public
static
function
assertResponseHeaderNotEquals
(
$headerName
,
$expectedValue
,
$message
=
''
,
$delta
=
0
,
$maxDepth
=
10
,
$canonicalize
=
false
,
$ignoreCase
=
false
)
$delta
=
0
,
$maxDepth
=
10
,
$canonicalize
=
false
,
$ignoreCase
=
false
)
...
@@ -633,7 +633,6 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -633,7 +633,6 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
* @param string $headerName
* @param string $headerName
* @param string $pcrePattern
* @param string $pcrePattern
* @param string $message
* @param string $message
* @param boolean $ignoreCase
*/
*/
public
static
function
assertResponseHeaderRegExp
(
$headerName
,
$pcrePattern
,
$message
=
''
)
public
static
function
assertResponseHeaderRegExp
(
$headerName
,
$pcrePattern
,
$message
=
''
)
{
{
...
@@ -650,7 +649,6 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
...
@@ -650,7 +649,6 @@ abstract class EcomDev_PHPUnit_Test_Case_Controller extends EcomDev_PHPUnit_Test
* @param string $headerName
* @param string $headerName
* @param string $pcrePattern
* @param string $pcrePattern
* @param string $message
* @param string $message
* @param boolean $ignoreCase
*/
*/
public
static
function
assertResponseHeaderNotRegExp
(
$headerName
,
$pcrePattern
,
$message
=
''
)
public
static
function
assertResponseHeaderNotRegExp
(
$headerName
,
$pcrePattern
,
$message
=
''
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment