mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-01 10:46:36 +00:00
0be18dc97d
Also fix the name of one test file to match the file name Change-Id: If622e925645cf21bf726f4db0f779182d78bbd73
31 lines
478 B
PHP
31 lines
478 B
PHP
<?php
|
|
|
|
/**
|
|
* Helper class for testing
|
|
* @author physikerwelt
|
|
* @see Status
|
|
*/
|
|
class MathMLTestStatus {
|
|
|
|
public static function isGood() {
|
|
return MathMathMLTest::$good;
|
|
}
|
|
|
|
public static function hasMessage( $s ) {
|
|
if ( $s == 'http-timed-out' ) {
|
|
return MathMathMLTest::$timeout;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public static function getHtml() {
|
|
return MathMathMLTest::$html;
|
|
}
|
|
|
|
public static function getWikiText() {
|
|
return MathMathMLTest::$html;
|
|
}
|
|
|
|
}
|