Skip to content

Commit 1559069

Browse files
committed
chore: ./scripts/dev/bless_tests.php tests/
1 parent 320db3b commit 1559069

File tree

85 files changed

+183
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+183
-0
lines changed

tests/basic/timeout_variation_0.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ while ($x) {
1919
never reached here
2020
--EXPECTF--
2121
Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
22+
Stack trace:
23+
#0 {main}

tests/basic/timeout_variation_7.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ for ($i = 0; $i < INF; $i++) {
1818
never reached here
1919
--EXPECTF--
2020
Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
21+
Stack trace:
22+
#0 {main}

tests/basic/timeout_variation_8.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ foreach (new InfiniteIterator(new ArrayIterator([1])) as $i) {
1616
never reached here
1717
--EXPECTF--
1818
Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
19+
Stack trace:
20+
#0 {main}

tests/classes/__call_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ class Test {
1111
?>
1212
--EXPECTF--
1313
Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d
14+
Stack trace:
15+
#0 {main}

tests/classes/__set__get_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ class Test {
1010
?>
1111
--EXPECTF--
1212
Fatal error: Method Test::__get() must take exactly 1 argument in %s__set__get_002.php on line %d
13+
Stack trace:
14+
#0 {main}

tests/classes/__set__get_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ class Test {
1010
?>
1111
--EXPECTF--
1212
Fatal error: Method Test::__set() must take exactly 2 arguments in %s__set__get_003.php on line %d
13+
Stack trace:
14+
#0 {main}

tests/classes/abstract_by_interface_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ object(Leaf)#%d (0) {
3131
}
3232

3333
Fatal error: Class Fails contains 1 abstract method and must therefore be declared abstract or implement the remaining method (MyInterface::MyInterfaceFunc) in %sabstract_by_interface_001.php on line %d
34+
Stack trace:
35+
#0 {main}

tests/classes/abstract_by_interface_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ object(Leaf)#%d (0) {
3131
}
3232

3333
Fatal error: Class Fails contains 1 abstract method and must therefore be declared abstract or implement the remaining method (MyInterface::MyInterfaceFunc) in %sabstract_by_interface_002.php on line %d
34+
Stack trace:
35+
#0 {main}

tests/classes/abstract_derived.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class derived extends base {
1414
===DONE===
1515
--EXPECTF--
1616
Fatal error: Class derived declares abstract method show() and must therefore be declared abstract in %sabstract_derived.php on line %d
17+
Stack trace:
18+
#0 {main}

tests/classes/abstract_not_declared.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ echo "Done\n"; // shouldn't be displayed
1111
?>
1212
--EXPECTF--
1313
Fatal error: Class fail declares abstract method show() and must therefore be declared abstract in %s on line %d
14+
Stack trace:
15+
#0 {main}

0 commit comments

Comments
 (0)