ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilDerivedTaskTest Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilDerivedTaskTest:
+ Collaboration diagram for ilDerivedTaskTest:

Public Member Functions

 testTitle ()
 
 testRefId ()
 
 testDeadline ()
 
 testStartingTime ()
 
 testWspId ()
 
- Public Member Functions inherited from ilTasksTestBase
 getTaskServiceMock ()
 

Additional Inherited Members

- Protected Member Functions inherited from ilTasksTestBase
 setUp ()
 
- Protected Attributes inherited from ilTasksTestBase
 $backupGlobals = false
 
 $_mock_user
 
 $_mock_lng
 
 $_mock_ui
 
 $_mock_access
 
 $_mock_task_service
 
 $_mock_dic
 

Detailed Description

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

Author
killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 23 of file ilDerivedTaskTest.php.

Member Function Documentation

◆ testDeadline()

ilDerivedTaskTest::testDeadline ( )

Definition at line 39 of file ilDerivedTaskTest.php.

39  : void
40  {
41  $task = new ilDerivedTask("title", 99, 1234, 1000, 0);
42 
43  $this->assertEquals(1234, $task->getDeadline());
44  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ testRefId()

ilDerivedTaskTest::testRefId ( )

Definition at line 32 of file ilDerivedTaskTest.php.

32  : void
33  {
34  $task = new ilDerivedTask("title", 99, 1234, 1000, 0);
35 
36  $this->assertEquals(99, $task->getRefId());
37  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ testStartingTime()

ilDerivedTaskTest::testStartingTime ( )

Definition at line 46 of file ilDerivedTaskTest.php.

46  : void
47  {
48  $task = new ilDerivedTask("title", 99, 1234, 1000, 0);
49 
50  $this->assertEquals(1000, $task->getStartingTime());
51  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ testTitle()

ilDerivedTaskTest::testTitle ( )

Definition at line 25 of file ilDerivedTaskTest.php.

25  : void
26  {
27  $task = new ilDerivedTask("title", 99, 1234, 1000, 0);
28 
29  $this->assertEquals('title', $task->getTitle());
30  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ testWspId()

ilDerivedTaskTest::testWspId ( )

Definition at line 53 of file ilDerivedTaskTest.php.

53  : void
54  {
55  $task = new ilDerivedTask("title", 99, 1234, 1000, 0);
56 
57  $this->assertEquals(0, $task->getWspId());
58  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

The documentation for this class was generated from the following file: