◆ setUp()
  
  
      
        
          | ilSystemStyleStyleScssFileTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testAddAndWriteItems()
      
        
          | ilSystemStyleStyleScssFileTest::testAddAndWriteItems  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 133 of file ilSystemStyleStyleScssFileTest.php.
  135         $empty_path = $this->container->getSkinDirectory() . 
'scss-test/empty-file/';
   144             'comment variable 11',
   151             'comment variable 12',
   158             'comment variable 13',
   170             'comment variable 21',
   177             'comment variable 22',
   184             'comment variable 23',
   189         $expected_items = [$expected_category1,
   192                            $expected_variable11,
   193                            $expected_variable12,
   194                            $expected_variable13,
   200                            $expected_variable21,
   201                            $expected_variable22,
   205         foreach ($expected_items as $item) {
   206             $file->addItem($item);
   211         $this->assertEquals($expected_items, $new_file->getItems());
 Capsules data of a Scss category in the variables to Scss file. 
 
 
 
 
◆ testConstructAndRead()
      
        
          | ilSystemStyleStyleScssFileTest::testConstructAndRead  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testGetCategory()
      
        
          | ilSystemStyleStyleScssFileTest::testGetCategory  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 44 of file ilSystemStyleStyleScssFileTest.php.
   46         $expected_categories = [];
    51         $this->assertEquals($expected_categories, $this->file->getCategories());
 Capsules data of a Scss category in the variables to Scss file. 
 
 
 
 
◆ testGetContent()
      
        
          | ilSystemStyleStyleScssFileTest::testGetContent  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 127 of file ilSystemStyleStyleScssFileTest.php.
  129         $expected_content = file_get_contents($this->file->getScssVariablesSettingsPath().
"/variables1.scss");
   130         $this->assertEquals($expected_content, $this->file->getContent());
  
 
 
◆ testGetItems()
      
        
          | ilSystemStyleStyleScssFileTest::testGetItems  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 54 of file ilSystemStyleStyleScssFileTest.php.
   62             'comment variable 111',
    69             'comment variable 112',
    76             'comment variable 113',
    88             'comment variable 121',
    95             'comment variable 122',
   102             'comment variable 123',
   108             $expected_category11,
   111             $expected_variable111,
   112             $expected_variable112,
   113             $expected_variable113,
   115             $expected_category12,
   119             $expected_variable121,
   120             $expected_variable122,
   121             $expected_variable123,
   124         $this->assertEquals($expected_items, $this->file->getItems());
 Capsules data of a Scss category in the variables to Scss file. 
 
 
 
 
◆ testReadCorrectTypes()
      
        
          | ilSystemStyleStyleScssFileTest::testReadCorrectTypes  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 37 of file ilSystemStyleStyleScssFileTest.php.
   39         $this->assertCount(2, $this->file->getCategories());
    40         $this->assertCount(6, $this->file->getVariables());
    41         $this->assertCount(14, $this->file->getItems());
  
 
 
The documentation for this class was generated from the following file: