MediaWiki  1.33.0
AvroValidatorTest Class Reference

Tests for IP validity functions. More...

Inheritance diagram for AvroValidatorTest:
Collaboration diagram for AvroValidatorTest:

Public Member Functions

 getErrorsProvider ()
 
 setUp ()
 
 testGetErrors ( $message, $schema, $datum, $expected)
 getErrorsProvider More...
 

Detailed Description

Tests for IP validity functions.

Ported from /t/inc/IP.t by avar.

Todo:
Test methods in this call should be split into a method and a dataprovider.

IP AvroValidator

Definition at line 15 of file AvroValidatorTest.php.

Member Function Documentation

◆ getErrorsProvider()

AvroValidatorTest::getErrorsProvider ( )

Definition at line 26 of file AvroValidatorTest.php.

References null.

◆ setUp()

AvroValidatorTest::setUp ( )

Definition at line 19 of file AvroValidatorTest.php.

◆ testGetErrors()

AvroValidatorTest::testGetErrors (   $message,
  $schema,
  $datum,
  $expected 
)

getErrorsProvider

Definition at line 111 of file AvroValidatorTest.php.

References AvroValidator\getErrors().


The documentation for this class was generated from the following file: