Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
06826902
Commit
06826902
authored
May 11, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⚙
codecept build
parent
b7e69d01
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
3 deletions
+111
-3
CliTesterActions.php
tests/codeception/_support/_generated/CliTesterActions.php
+26
-1
FunctionalTesterActions.php
...deception/_support/_generated/FunctionalTesterActions.php
+84
-1
UnitTesterActions.php
tests/codeception/_support/_generated/UnitTesterActions.php
+1
-1
No files found.
tests/codeception/_support/_generated/CliTesterActions.php
View file @
06826902
<?php
//[STAMP]
b35113c0522f84cd06288b0e30937db
c
<?php
//[STAMP]
a72aacb6d58974b27e25777c7ec5199
c
namespace
_generated
;
// This class was automatically generated by build task
...
...
@@ -196,6 +196,31 @@ trait CliTesterActions
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that contents of currently opened file matches $regex
*
* @param $regex
* Conditional Assertion: Test won't be stopped on fail
* @see \Codeception\Module\Filesystem::seeThisFileMatches()
*/
public
function
canSeeThisFileMatches
(
$regex
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\ConditionalAssertion
(
'seeThisFileMatches'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that contents of currently opened file matches $regex
*
* @param $regex
* @see \Codeception\Module\Filesystem::seeThisFileMatches()
*/
public
function
seeThisFileMatches
(
$regex
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\Assertion
(
'seeThisFileMatches'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
...
...
tests/codeception/_support/_generated/FunctionalTesterActions.php
View file @
06826902
<?php
//[STAMP]
4f2eb2df3b8bb8166772abb190d013af
<?php
//[STAMP]
32c878ad76b0576fabacdc591c71c840
namespace
_generated
;
// This class was automatically generated by build task
...
...
@@ -196,6 +196,31 @@ trait FunctionalTesterActions
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that contents of currently opened file matches $regex
*
* @param $regex
* Conditional Assertion: Test won't be stopped on fail
* @see \Codeception\Module\Filesystem::seeThisFileMatches()
*/
public
function
canSeeThisFileMatches
(
$regex
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\ConditionalAssertion
(
'seeThisFileMatches'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Checks that contents of currently opened file matches $regex
*
* @param $regex
* @see \Codeception\Module\Filesystem::seeThisFileMatches()
*/
public
function
seeThisFileMatches
(
$regex
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\Assertion
(
'seeThisFileMatches'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
...
...
@@ -556,6 +581,55 @@ trait FunctionalTesterActions
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Sets the HTTP header to the passed value - which is used on
* subsequent HTTP requests through PhpBrowser.
*
* Example:
* ```php
* <?php
* $I->setHeader('X-Requested-With', 'Codeception');
* $I->amOnPage('test-headers.php');
* ?>
* ```
*
* @param string $name the name of the request header
* @param string $value the value to set it to for subsequent
* requests
* @see \Codeception\Lib\InnerBrowser::haveHttpHeader()
*/
public
function
haveHttpHeader
(
$name
,
$value
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\Action
(
'haveHttpHeader'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
* Deletes the header with the passed name. Subsequent requests
* will not have the deleted header in its request.
*
* Example:
* ```php
* <?php
* $I->haveHttpHeader('X-Requested-With', 'Codeception');
* $I->amOnPage('test-headers.php');
* // ...
* $I->deleteHeader('X-Requested-With');
* $I->amOnPage('some-other-page.php');
* ?>
* ```
*
* @param string $name the name of the header to delete.
* @see \Codeception\Lib\InnerBrowser::deleteHeader()
*/
public
function
deleteHeader
(
$name
)
{
return
$this
->
getScenario
()
->
runStep
(
new
\Codeception\Step\Action
(
'deleteHeader'
,
func_get_args
()));
}
/**
* [!] Method is generated. Documentation taken from corresponding module.
*
...
...
@@ -1801,6 +1875,15 @@ trait FunctionalTesterActions
* ?>
* ```
*
* Or provide an associative array for the second argument to specifically define which selection method should be used:
*
* ``` php
* <?php
* $I->selectOption('Which OS do you use?', array('text' => 'Windows')); // Only search by text 'Windows'
* $I->selectOption('Which OS do you use?', array('value' => 'windows')); // Only search by value 'windows'
* ?>
+ ```
*
* @param $select
* @param $option
* @see \Codeception\Lib\InnerBrowser::selectOption()
...
...
tests/codeception/_support/_generated/UnitTesterActions.php
View file @
06826902
<?php
//[STAMP]
5492c33b7accb7ec295964c80c532c61
<?php
//[STAMP]
3df33d2f7a080198a864542b773a025c
namespace
_generated
;
// This class was automatically generated by build task
...
...
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