Class ilTestInfoScreenToolbarGUITest.  
 More...
◆ setUp()
  
  
      
        
          | ilTestInfoScreenToolbarGUITest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 29 of file ilTestInfoScreenToolbarGUITest.php.
References $DIC.
   34         $this->addGlobal_ilToolbar();
    37             $this->getTestObjMock(),
    38             $this->createMock(ilTestPlayerFixedQuestionSetGUI::class),
    39             $this->createMock(ilTestQuestionSetConfig::class),
    40             $this->createMock(ilTestSession::class),
 
 
 
 
◆ test_instantiateObject_shouldReturnInstance()
      
        
          | ilTestInfoScreenToolbarGUITest::test_instantiateObject_shouldReturnInstance  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testFailureMessages()
      
        
          | ilTestInfoScreenToolbarGUITest::testFailureMessages  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 79 of file ilTestInfoScreenToolbarGUITest.php.
   81         $this->assertIsArray($this->testInfoScreenToolbarGUI->getFailureMessages());
    83         $expected = [
"test1", 
"test2", 
"3test", 
"4test"];
    85         foreach ($expected as $value) {
    86             $this->testInfoScreenToolbarGUI->addFailureMessage($value);
    89         $this->assertEquals($expected, $this->testInfoScreenToolbarGUI->getFailureMessages());
  
 
 
◆ testInfoMessages()
      
        
          | ilTestInfoScreenToolbarGUITest::testInfoMessages  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 66 of file ilTestInfoScreenToolbarGUITest.php.
   68         $this->assertIsArray($this->testInfoScreenToolbarGUI->getInfoMessages());
    70         $expected = [
"test1", 
"test2", 
"3test", 
"4test"];
    72         foreach ($expected as $value) {
    73             $this->testInfoScreenToolbarGUI->addInfoMessage($value);
    76         $this->assertEquals($expected, $this->testInfoScreenToolbarGUI->getInfoMessages());
  
 
 
◆ testSessionLockString()
      
        
          | ilTestInfoScreenToolbarGUITest::testSessionLockString  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 57 of file ilTestInfoScreenToolbarGUITest.php.
   59         $this->assertEquals(
'', $this->testInfoScreenToolbarGUI->getSessionLockString());
    61         $this->testInfoScreenToolbarGUI->setSessionLockString(
"testString");
    63         $this->assertEquals(
"testString", $this->testInfoScreenToolbarGUI->getSessionLockString());
  
 
 
◆ $testInfoScreenToolbarGUI
The documentation for this class was generated from the following file: