ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

Referenced by setUp().

56  : void
57  {
58  }
+ Here is the caller graph for this function:

◆ setGlobalVariable()

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

Definition at line 45 of file ilSoapFunctionsTest.php.

References $c, $DIC, and $GLOBALS.

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  }
$c
Definition: deliver.php:25
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
$GLOBALS["DIC"]
Definition: wac.php:53
global $DIC
Definition: shib_login.php:22

◆ setUp()

ilSoapFunctionsTest::setUp ( )
protected

Definition at line 33 of file ilSoapFunctionsTest.php.

References initDependencies().

33  : void
34  {
35  $this->initDependencies();
36  parent::setUp();
37  }
+ 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: