ILIAS  release_8 Revision v8.24
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 27 of file ilSoapFunctionsTest.php.

Member Function Documentation

◆ initDependencies()

ilSoapFunctionsTest::initDependencies ( )
protected

Definition at line 54 of file ilSoapFunctionsTest.php.

54 : void
55 {
56 }

Referenced by setUp().

+ Here is the caller graph for this function:

◆ setGlobalVariable()

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

Definition at line 43 of file ilSoapFunctionsTest.php.

43 : void
44 {
45 global $DIC;
46
47 $GLOBALS[$name] = $value;
48 unset($DIC[$name]);
49 $DIC[$name] = static function (\ILIAS\DI\Container $c) use ($value) {
50 return $value;
51 };
52 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:32
$c
Definition: cli.php:38
global $DIC
Definition: feed.php:28
if($format !==null) $name
Definition: metadata.php:247

References $c, $DIC, $GLOBALS, and $name.

◆ setUp()

ilSoapFunctionsTest::setUp ( )
protected

Definition at line 31 of file ilSoapFunctionsTest.php.

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

References initDependencies().

+ Here is the call graph for this function:

◆ testConstruct()

ilSoapFunctionsTest::testConstruct ( )

Definition at line 37 of file ilSoapFunctionsTest.php.

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

Field Documentation

◆ $dic

Container ilSoapFunctionsTest::$dic
protected

Definition at line 29 of file ilSoapFunctionsTest.php.


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