Definition at line 25 of file IsNumericConstraintTest.php.
 
◆ setUp()
  
  
      
        
          | IsNumericConstraintTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 32 of file IsNumericConstraintTest.php.
References ILIAS\Repository\lng().
   35         $this->
lng = $this->createMock(
ILIAS\Language\Language::class);
    39         $this->c = $this->f->numeric()->isNumeric();
 Interface Observer  Contains several chained tasks and infos about them. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
 
 
 
◆ testAccepts1()
      
        
          | IsNumericConstraintTest::testAccepts1  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts2()
      
        
          | IsNumericConstraintTest::testAccepts2  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts3()
      
        
          | IsNumericConstraintTest::testAccepts3  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts4()
      
        
          | IsNumericConstraintTest::testAccepts4  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts5()
      
        
          | IsNumericConstraintTest::testAccepts5  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts6()
      
        
          | IsNumericConstraintTest::testAccepts6  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts7()
      
        
          | IsNumericConstraintTest::testAccepts7  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testAccepts8()
      
        
          | IsNumericConstraintTest::testAccepts8  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testCheckFails()
      
        
          | IsNumericConstraintTest::testCheckFails  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testCheckSucceed()
      
        
          | IsNumericConstraintTest::testCheckSucceed  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testNoProblemWith()
      
        
          | IsNumericConstraintTest::testNoProblemWith  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testNotAccepts1()
      
        
          | IsNumericConstraintTest::testNotAccepts1  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testNotAccepts2()
      
        
          | IsNumericConstraintTest::testNotAccepts2  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testProblemWith()
      
        
          | IsNumericConstraintTest::testProblemWith  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testRestrictError()
      
        
          | IsNumericConstraintTest::testRestrictError  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testRestrictNotOk()
      
        
          | IsNumericConstraintTest::testRestrictNotOk  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testRestrictOk()
      
        
          | IsNumericConstraintTest::testRestrictOk  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ testWithProblemBuilder()
      
        
          | IsNumericConstraintTest::testWithProblemBuilder  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 156 of file IsNumericConstraintTest.php.
  158         $new_c = $this->c->withProblemBuilder(
static function (): 
string {
   159             return "This was a fault";
   161         $this->assertEquals(
"This was a fault", $new_c->problemWith(
""));
  
 
 
◆ $c
  
  
      
        
          | ILIAS Refinery Constraint IsNumericConstraintTest::$c | 
         
       
   | 
  
private   | 
  
 
 
◆ $df
  
  
      
        
          | DataFactory IsNumericConstraintTest::$df | 
         
       
   | 
  
private   | 
  
 
 
◆ $f
  
  
      
        
          | Refinery IsNumericConstraintTest::$f | 
         
       
   | 
  
private   | 
  
 
 
◆ $lng
  
  
      
        
          | ILIAS Language Language IsNumericConstraintTest::$lng | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: