Skip to content

Commit ec7005b

Browse files
committedJan 6, 2022
tests: Rename benchmarks providers.
(cherry picked from commit bb81a71)
1 parent d80150d commit ec7005b

9 files changed

+9
-9
lines changed
 

‎tests/benchmarks/ClosureIteratorAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function provideGenerators(): Generator
3636
{
3737
$items = 5000;
3838

39-
yield ClosureIteratorAggregate::class => [
39+
yield 'ClosureIteratorAggregate' => [
4040
'class' => ClosureIteratorAggregate::class,
4141
'size' => $items,
4242
];

‎tests/benchmarks/ClosureIteratorBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function provideGenerators(): Generator
3636
{
3737
$items = 5000;
3838

39-
yield ClosureIterator::class => [
39+
yield 'ClosureIterator' => [
4040
'class' => ClosureIterator::class,
4141
'size' => $items,
4242
];

‎tests/benchmarks/IterableIteratorAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provideGenerators(): Generator
3434
{
3535
$items = 5000;
3636

37-
yield IterableIteratorAggregate::class => [
37+
yield 'IterableIteratorAggregate' => [
3838
'class' => IterableIteratorAggregate::class,
3939
'size' => $items,
4040
];

‎tests/benchmarks/IterableIteratorBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provideGenerators(): Generator
3434
{
3535
$items = 5000;
3636

37-
yield IterableIterator::class => [
37+
yield 'IterableIterator' => [
3838
'class' => IterableIterator::class,
3939
'size' => $items,
4040
];

‎tests/benchmarks/PackIterableAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provideGenerators(): Generator
3434
{
3535
$items = 5000;
3636

37-
yield PackIterableAggregate::class => [
37+
yield 'PackIterableAggregate' => [
3838
'class' => PackIterableAggregate::class,
3939
'size' => $items,
4040
];

‎tests/benchmarks/PausableIteratorAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function provideGenerators(): Generator
3535
{
3636
$items = 5000;
3737

38-
yield PausableIteratorAggregate::class => [
38+
yield 'PausableIteratorAggregate' => [
3939
'class' => PausableIteratorAggregate::class,
4040
'size' => $items,
4141
];

‎tests/benchmarks/RandomIterableAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provideGenerators(): Generator
3434
{
3535
$items = 5000;
3636

37-
yield RandomIterableAggregate::class => [
37+
yield 'RandomIterableAggregate' => [
3838
'class' => RandomIterableAggregate::class,
3939
'size' => $items,
4040
];

‎tests/benchmarks/SimpleCachingIteratorsAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provideGenerators(): Generator
3434
{
3535
$items = 5000;
3636

37-
yield SimpleCachingIteratorAggregate::class => [
37+
yield 'SimpleCachingIteratorAggregate' => [
3838
'class' => SimpleCachingIteratorAggregate::class,
3939
'size' => $items,
4040
];

‎tests/benchmarks/UnpackIterableAggregateBench.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provideGenerators(): Generator
3434
{
3535
$items = 5000;
3636

37-
yield UnpackIterableAggregate::class => [
37+
yield 'UnpackIterableAggregate' => [
3838
'class' => UnpackIterableAggregate::class,
3939
'size' => $items,
4040
];

0 commit comments

Comments
 (0)