5 require_once(__DIR__ .
"/../../../../../libs/composer/vendor/autoload.php");
6 require_once(__DIR__ .
"/../../../Base.php");
8 use \ILIAS\UI\Component\Listing\Workflow;
23 $step = $this->f->step(
'',
'');
32 $this->assertEquals($label,
$step->getLabel());
34 $this->assertEquals(
Workflow\Step::NOT_STARTED,
$step->getStatus());
39 $status = Workflow\Step::SUCCESSFULLY;
40 $step = $this->f->step(
'',
'')->withStatus($status);
41 $this->assertEquals($status,
$step->getStatus());
49 $step = $this->f->step(
'',
'')->withStatus($status);
53 $this->assertTrue($raised);
test_implements_factory_interface()
test_withStatus_wrong_args()
test_constructor_params()
This describes a Workflow.
Provides common functionality for UI tests.
foreach( $_REQUEST as $var) foreach(array('_POST'=> 'HTTP_POST_VARS', '_GET'=> 'HTTP_GET_VARS', '_COOKIE'=> 'HTTP_COOKIE_VARS', '_SERVER'=> 'HTTP_SERVER_VARS', '_ENV'=> 'HTTP_ENV_VARS', '_FILES'=> 'HTTP_POST_FILES') as $array=> $other) $step