function BigPipeTest::assertSetsEqual
Same name in other branches
- 9 core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::assertSetsEqual()
- 10 core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::assertSetsEqual()
- 11.x core/modules/big_pipe/tests/src/Functional/BigPipeTest.php \Drupal\Tests\big_pipe\Functional\BigPipeTest::assertSetsEqual()
Asserts whether arrays A and B are equal, when treated as sets.
2 calls to BigPipeTest::assertSetsEqual()
- BigPipeTest::assertBigPipeNoJsPlaceholders in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Asserts expected BigPipe no-JS placeholders are present and replaced.
- BigPipeTest::assertBigPipePlaceholders in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Asserts expected BigPipe placeholders are present and replaced.
File
-
core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php, line 438
Class
- BigPipeTest
- Tests BigPipe's no-JS detection & response delivery (with and without JS).
Namespace
Drupal\Tests\big_pipe\FunctionalCode
protected function assertSetsEqual(array $a, array $b) {
return count($a) == count($b) && !array_diff_assoc($a, $b);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.