Skip to content

Commit 3a4b896

Browse files
committed
Remove quicktester
This is barely used and more of a hinderence than anything else Closes GH-6712
1 parent 8c206ba commit 3a4b896

File tree

9 files changed

+408
-319
lines changed

9 files changed

+408
-319
lines changed

ext/bz2/tests/with_strings.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ BZ2 with strings
55
--FILE--
66
<?php
77

8-
error_reporting(E_ALL);
9-
108
# This FAILS
119
$blaat = <<<HEREDOC
1210
This is some random data
@@ -17,11 +15,8 @@ HEREDOC;
1715

1816
$blaat2 = bzdecompress(bzcompress($blaat));
1917

20-
$tests = <<<TESTS
21-
\$blaat === \$blaat2
22-
TESTS;
18+
var_dump($blaat === $blaat2);
2319

24-
include(__DIR__ . '/../../../tests/quicktester.inc');
2520
?>
2621
--EXPECT--
27-
OK
22+
bool(true)

ext/standard/tests/math/abs.phpt

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ define('LONG_MIN', -LONG_MAX - 1);
88
printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ),
99
is_int(LONG_MIN-1),is_int(LONG_MAX+1));
1010

11-
$tests = <<<TESTS
12-
1 === abs(-1)
13-
1.5 === abs(-1.5)
14-
1 === abs("-1")
15-
1.5 === abs("-1.5")
16-
-LONG_MIN+1 === abs(LONG_MIN-1)
17-
-LONG_MIN === abs(LONG_MIN)
18-
-(LONG_MIN+1) === abs(LONG_MIN+1)
19-
TESTS;
11+
var_dump(1 === abs(-1));
12+
var_dump(1.5 === abs(-1.5));
13+
var_dump(1 === abs("-1"));
14+
var_dump(1.5 === abs("-1.5"));
15+
var_dump(-LONG_MIN+1 === abs(LONG_MIN-1));
16+
var_dump(-LONG_MIN === abs(LONG_MIN));
17+
var_dump(-(LONG_MIN+1) === abs(LONG_MIN+1));
2018

21-
include(__DIR__ . '/../../../../tests/quicktester.inc');
2219
?>
2320
--EXPECT--
2421
1,1,0,0
25-
OK
22+
bool(true)
23+
bool(true)
24+
bool(true)
25+
bool(true)
26+
bool(true)
27+
bool(true)
28+
bool(true)

ext/standard/tests/math/pow-operator.phpt

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ Various pow() tests
66
$x = 2;
77
$x **= 3;
88

9-
$tests = <<<TESTS
10-
-3 ** 2 === -9
11-
(-3) **2 === 9
12-
2 ** 3 ** 2 === 512
13-
(2 ** 3) ** 2 === 64
14-
$x === 8
15-
TESTS;
9+
var_dump( -3 ** 2 === -9);
10+
var_dump( (-3) **2 === 9);
11+
var_dump( 2 ** 3 ** 2 === 512);
12+
var_dump( (2 ** 3) ** 2 === 64);
13+
var_dump( $x === 8);
1614

17-
echo "On failure, please mail result to [email protected]\n";
18-
include(__DIR__ . '/../../../../tests/quicktester.inc');
1915
?>
2016
--EXPECT--
21-
On failure, please mail result to [email protected]
22-
OK
17+
bool(true)
18+
bool(true)
19+
bool(true)
20+
bool(true)
21+
bool(true)

0 commit comments

Comments
 (0)