ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilSoapFunctionsTest Class Reference

Unit tests for class ilRPCServerSettings. More...

+ Inheritance diagram for ilSoapFunctionsTest:
+ Collaboration diagram for ilSoapFunctionsTest:

Public Member Functions

 testConstruct ()
 

Protected Member Functions

 setUp ()
 
 setGlobalVariable (string $name, $value)
 
 initDependencies ()
 

Protected Attributes

Container $dic
 

Detailed Description

Unit tests for class ilRPCServerSettings.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 29 of file ilSoapFunctionsTest.php.

Member Function Documentation

◆ initDependencies()

ilSoapFunctionsTest::initDependencies ( )
protected

Definition at line 56 of file ilSoapFunctionsTest.php.

56 : void
57 {
58 }

Referenced by setUp().

+ Here is the caller graph for this function:

◆ setGlobalVariable()

ilSoapFunctionsTest::setGlobalVariable ( string  $name,
  $value 
)
protected

Definition at line 45 of file ilSoapFunctionsTest.php.

45 : void
46 {
47 global $DIC;
48
49 $GLOBALS[$name] = $value;
50 unset($DIC[$name]);
51 $DIC[$name] = static function (\ILIAS\DI\Container $c) use ($value) {
52 return $value;
53 };
54 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
$c
Definition: deliver.php:25
global $DIC
Definition: shib_login.php:26
$GLOBALS["DIC"]
Definition: wac.php:54

References $c, $DIC, and $GLOBALS.

◆ setUp()

ilSoapFunctionsTest::setUp ( )
protected

Definition at line 33 of file ilSoapFunctionsTest.php.

33 : void
34 {
35 $this->initDependencies();
36 parent::setUp();
37 }

References initDependencies().

+ Here is the call graph for this function:

◆ testConstruct()

ilSoapFunctionsTest::testConstruct ( )

Definition at line 39 of file ilSoapFunctionsTest.php.

39 : void
40 {
41 $soap_functions = new ilSoapFunctions();
42 $this->assertInstanceOf(ilSoapFunctions::class, $soap_functions);
43 }

Field Documentation

◆ $dic

Container ilSoapFunctionsTest::$dic
protected

Definition at line 31 of file ilSoapFunctionsTest.php.


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