This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
More...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file ilTestNoNextRequestableHintExistsExceptionTest.php.
◆ constructDataProvider()
static ilTestNoNextRequestableHintExistsExceptionTest::constructDataProvider |
( |
| ) |
|
|
static |
Definition at line 35 of file ilTestNoNextRequestableHintExistsExceptionTest.php.
38 [[
'msg' =>
'',
'code' => -1], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => -1]],
39 [[
'msg' =>
'',
'code' => 0], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => 0]],
40 [[
'msg' =>
'',
'code' => 1], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => 1]],
41 [[
'msg' =>
''], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => 0]],
42 [[
'msg' =>
'test',
'code' => -1], [
'msg' =>
'test',
'code' => -1]],
43 [[
'msg' =>
'test',
'code' => 0], [
'msg' =>
'test',
'code' => 0]],
44 [[
'msg' =>
'test',
'code' => 1], [
'msg' =>
'test',
'code' => 1]],
45 [[
'msg' =>
'test'], [
'msg' =>
'test',
'code' => 0]]
◆ exceptionDataProvider()
static ilTestNoNextRequestableHintExistsExceptionTest::exceptionDataProvider |
( |
| ) |
|
|
static |
Definition at line 63 of file ilTestNoNextRequestableHintExistsExceptionTest.php.
66 [[
'msg' =>
'',
'code' => -1], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => -1]],
67 [[
'msg' =>
'',
'code' => 0], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => 0]],
68 [[
'msg' =>
'',
'code' => 1], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => 1]],
69 [[
'msg' =>
''], [
'msg' => ilTestNoNextRequestableHintExistsException::class,
'code' => 0]],
70 [[
'msg' =>
'test',
'code' => -1], [
'msg' =>
'test',
'code' => -1]],
71 [[
'msg' =>
'test',
'code' => 0], [
'msg' =>
'test',
'code' => 0]],
72 [[
'msg' =>
'test',
'code' => 1], [
'msg' =>
'test',
'code' => 1]],
73 [[
'msg' =>
'test'], [
'msg' =>
'test',
'code' => 0]]
◆ testConstruct()
ilTestNoNextRequestableHintExistsExceptionTest::testConstruct |
( |
array |
$input, |
|
|
array |
$output |
|
) |
| |
constructDataProvider
Definition at line 24 of file ilTestNoNextRequestableHintExistsExceptionTest.php.
26 $ilTestNoNextRequestableHintExistsException = isset($input[
'code'])
30 $this->assertInstanceOf(ilTestNoNextRequestableHintExistsException::class, $ilTestNoNextRequestableHintExistsException);
31 $this->assertEquals($output[
'msg'], $ilTestNoNextRequestableHintExistsException->getMessage());
32 $this->assertEquals($output[
'code'], $ilTestNoNextRequestableHintExistsException->getCode());
◆ testException()
ilTestNoNextRequestableHintExistsExceptionTest::testException |
( |
array |
$input, |
|
|
array |
$output |
|
) |
| |
exceptionDataProvider
Definition at line 52 of file ilTestNoNextRequestableHintExistsExceptionTest.php.
54 $this->expectException(ilTestNoNextRequestableHintExistsException::class);
55 $this->expectExceptionMessage($output[
'msg']);
56 $this->expectExceptionCode($output[
'code']);
57 throw isset($input[
'code'])
The documentation for this class was generated from the following file: