MediaWiki  1.29.2
ParserIntegrationTest Class Reference

This is the TestCase subclass for running a single parser test via the ParserTestRunner integration test system. More...

Inheritance diagram for ParserIntegrationTest:
Collaboration diagram for ParserIntegrationTest:

Public Member Functions

 __construct ( $runner, $fileName, $test)
 
 setUp ()
 
 tearDown ()
 
 testParse ()
 

Private Attributes

ParserTestRunner $ptRunner
 
ScopedCallback $ptTeardownScope
 
array $ptTest
 

Detailed Description

This is the TestCase subclass for running a single parser test via the ParserTestRunner integration test system.

Note: the following groups are not used by PHPUnit. The list in ParserTestFileSuite::__construct() is used instead.

Database Parser ParserTests

Todo:
covers tags

Definition at line 17 of file ParserIntegrationTest.php.

Constructor & Destructor Documentation

◆ __construct()

ParserIntegrationTest::__construct (   $runner,
  $fileName,
  $test 
)

Definition at line 27 of file ParserIntegrationTest.php.

Member Function Documentation

◆ setUp()

ParserIntegrationTest::setUp ( )

Definition at line 40 of file ParserIntegrationTest.php.

◆ tearDown()

ParserIntegrationTest::tearDown ( )

Definition at line 44 of file ParserIntegrationTest.php.

◆ testParse()

ParserIntegrationTest::testParse ( )

Definition at line 34 of file ParserIntegrationTest.php.

Member Data Documentation

◆ $ptRunner

ParserTestRunner ParserIntegrationTest::$ptRunner
private

Definition at line 22 of file ParserIntegrationTest.php.

◆ $ptTeardownScope

ScopedCallback ParserIntegrationTest::$ptTeardownScope
private

Definition at line 25 of file ParserIntegrationTest.php.

◆ $ptTest

array ParserIntegrationTest::$ptTest
private

Definition at line 19 of file ParserIntegrationTest.php.


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