ILIAS  trunk Revision v11.0_alpha-1851-ga8564da6fed
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NewsContextTest Class Reference
+ Inheritance diagram for NewsContextTest:
+ Collaboration diagram for NewsContextTest:

Public Member Functions

 testContextProperties ()
 Test admin view. More...
 

Protected Member Functions

 tearDown ()
 

Detailed Description

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

Definition at line 24 of file NewsContextTest.php.

Member Function Documentation

◆ tearDown()

NewsContextTest::tearDown ( )
protected

Definition at line 26 of file NewsContextTest.php.

26  : void
27  {
28  }

◆ testContextProperties()

NewsContextTest::testContextProperties ( )

Test admin view.

Definition at line 33 of file NewsContextTest.php.

References $context.

33  : void
34  {
35  $context = new ilNewsContext(
36  1,
37  "otype",
38  2,
39  "osubtype"
40  );
41 
42  $this->assertEquals(
43  1,
44  $context->getObjId()
45  );
46  $this->assertEquals(
47  "otype",
48  $context->getObjType()
49  );
50  $this->assertEquals(
51  2,
52  $context->getSubId()
53  );
54  $this->assertEquals(
55  "osubtype",
56  $context->getSubType()
57  );
58  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$context
Definition: webdav.php:31

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