diff options
Diffstat (limited to 't/inc/Parser.t')
-rw-r--r-- | t/inc/Parser.t | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/t/inc/Parser.t b/t/inc/Parser.t deleted file mode 100644 index 9df21d9a..00000000 --- a/t/inc/Parser.t +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env php -<?php - -require 't/Test.php'; -require 'maintenance/parserTests.inc'; - -error_reporting( E_ALL ^ E_NOTICE ); - -class ProveTestRecorder extends TestRecorder { - - function record( $name, $res ){} - function report(){} - function reportPercentage( $success, $total ){} -} - -class ProveParserTest extends ParserTest { - - function showSuccess( $desc ){ - pass( $desc ); - } - - function showFailure( $desc, $exp, $got ){ - _proclaim( false, $desc, false, $got, $exp ); - } - - function showRunFile( $path ){} -} - -$options = array( 'quick', 'quiet', 'compare' ); -$tester = new ProveParserTest(); -$tester->showProgress = false; -$tester->showFailure = false; -$tester->recorder = new ProveTestRecorder( $tester->term ); - -// Do not output the number of tests, if will be done automatically at the end - -$tester->runTestsFromFiles( $wgParserTestFiles ); - -/* vim: set filetype=php: */ |