Class ilTestParticipantDataTest.  
 More...
◆ setUp()
  
  
      
        
          | ilTestParticipantDataTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ test_instantiateObject_shouldReturnInstance()
      
        
          | ilTestParticipantDataTest::test_instantiateObject_shouldReturnInstance  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testActiveIdsFilter()
      
        
          | ilTestParticipantDataTest::testActiveIdsFilter  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 74 of file ilTestParticipantDataTest.php.
   76         $expected = [1, 125, 1290];
    77         $this->testObj->setActiveIdsFilter($expected);
    78         $this->assertEquals($expected, $this->testObj->getActiveIdsFilter());
  
 
 
◆ testAnonymousIdsFilter()
      
        
          | ilTestParticipantDataTest::testAnonymousIdsFilter  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 88 of file ilTestParticipantDataTest.php.
   90         $expected = [1, 125, 1290];
    91         $this->testObj->setAnonymousIdsFilter($expected);
    92         $this->assertEquals($expected, $this->testObj->getAnonymousIdsFilter());
  
 
 
◆ testGetScoredParticipantsFilterExpression()
      
        
          | ilTestParticipantDataTest::testGetScoredParticipantsFilterExpression  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 63 of file ilTestParticipantDataTest.php.
   65         $this->assertEquals(
"1 = 1", $this->testObj->getScoredParticipantsFilterExpression());
    67         $this->testObj->setScoredParticipantsFilterEnabled(
true);
    69             "ta.last_finished_pass = ta.last_started_pass",
    70             $this->testObj->getScoredParticipantsFilterExpression()
  
 
 
◆ testParticipantAccessFilter()
      
        
          | ilTestParticipantDataTest::testParticipantAccessFilter  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 44 of file ilTestParticipantDataTest.php.
   46         $callback = 
static function () {
    50         $this->testObj->setParticipantAccessFilter($callback);
    51         $this->assertEquals($callback, $this->testObj->getParticipantAccessFilter());
  
 
 
◆ testScoredParticipantsFilterEnabled()
      
        
          | ilTestParticipantDataTest::testScoredParticipantsFilterEnabled  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 54 of file ilTestParticipantDataTest.php.
   56         $this->testObj->setScoredParticipantsFilterEnabled(
false);
    57         $this->assertFalse($this->testObj->isScoredParticipantsFilterEnabled());
    59         $this->testObj->setScoredParticipantsFilterEnabled(
true);
    60         $this->assertTrue($this->testObj->isScoredParticipantsFilterEnabled());
  
 
 
◆ testUserIdsFilter()
      
        
          | ilTestParticipantDataTest::testUserIdsFilter  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 81 of file ilTestParticipantDataTest.php.
   83         $expected = [1, 125, 1290];
    84         $this->testObj->setUserIdsFilter($expected);
    85         $this->assertEquals($expected, $this->testObj->getUserIdsFilter());
  
 
 
◆ $testObj
The documentation for this class was generated from the following file: