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 Class ilTestExportTableGUITest
- Author
- Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de
Definition at line 25 of file ilTestExportTableGUITest.php.
◆ setUp()
ilTestExportTableGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 30 of file ilTestExportTableGUITest.php.
References ilTestBaseTestCase\setGlobalVariable().
34 $lng_mock = $this->createMock(ilLanguage::class);
35 $ctrl_mock = $this->createMock(ilCtrl::class);
36 $ctrl_mock->expects($this->any())
37 ->method(
"getFormAction")
38 ->willReturnCallback(
function () {
39 return "testFormAction";
45 $this->
setGlobalVariable(
"component.repository", $this->createMock(ilComponentRepository::class));
46 $component_factory = $this->createMock(ilComponentFactory::class);
47 $component_factory->method(
"getActivePluginsInSlot")->willReturn(
new ArrayIterator());
52 $this->parentObj_mock = $this->getMockBuilder(ilObjTestGUI::class)->disableOriginalConstructor()->onlyMethods(array(
'getObject'))->getMock();
53 $this->parentObj_mock->expects($this->any())->method(
'getObject')->willReturn($this->createMock(ilObjTest::class));
55 $this->parentObj_mock,
57 $this->createMock(ilObjTest::class)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setGlobalVariable(string $name, $value)
◆ test_instantiateObject_shouldReturnInstance()
ilTestExportTableGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testNumericOrdering()
ilTestExportTableGUITest::testNumericOrdering |
( |
| ) |
|
Definition at line 66 of file ilTestExportTableGUITest.php.
68 $this->assertTrue($this->tableGui->numericOrdering(
"size"));
69 $this->assertTrue($this->tableGui->numericOrdering(
"date"));
70 $this->assertFalse($this->tableGui->numericOrdering(
"randomString"));
◆ $parentObj_mock
◆ $tableGui
The documentation for this class was generated from the following file: