Completed
Push — master ( fb74d7...880981 )
by Jeroen De
01:57
created

JsonTestCaseScriptRunnerTest::doRunParserHtmlTests()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 11
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
cc 3
eloc 5
nc 3
nop 1
1
<?php
2
3
namespace SRF\Tests\Integration\JSONScript;
4
5
use SMW\Tests\Integration\JSONScript\JsonTestCaseScriptRunnerTest as SMWJsonTestCaseScriptRunnerTest;
6
7
/**
8
 * @see https://github.com/SemanticMediaWiki/SemanticMediaWiki/tree/master/tests#write-integration-tests-using-json-script
9
 *
10
 * `JsonTestCaseScriptRunner` provisioned by SMW is a base class allowing to use a JSON
11
 * format to create test definitions with the objective to compose "real" content
12
 * and test integration with MediaWiki, Semantic MediaWiki, and Scribunto.
13
 *
14
 * @group SRF
15
 * @group SMWExtension
16
 *
17
 * @license GNU GPL v2+
18
 * @since 2.5
19
 *
20
 * @author Stephan Gambke
21
 */
22
class JsonTestCaseScriptRunnerTest extends SMWJsonTestCaseScriptRunnerTest {
23
24
	/**
25
	 * @see \SMW\Tests\JsonTestCaseScriptRunner::getTestCaseLocation
26
	 * @return string
27
	 */
28
	protected function getTestCaseLocation() {
29
		return __DIR__ . '/TestCases';
30
	}
31
32
}
33