eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/Identifier/ParentContentTypeTest.php 1 location
|
@@ 101-109 (lines=9) @@
|
| 98 |
|
* @param \eZ\Publish\API\Repository\Repository $repository |
| 99 |
|
* @param bool $expectedResult |
| 100 |
|
*/ |
| 101 |
|
public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult) |
| 102 |
|
{ |
| 103 |
|
$this->matcher->setRepository($repository); |
| 104 |
|
$this->matcher->setMatchingConfig($matchingConfig); |
| 105 |
|
$this->assertSame( |
| 106 |
|
$expectedResult, |
| 107 |
|
$this->matcher->matchLocation($this->getLocationMock()) |
| 108 |
|
); |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
public function matchLocationProvider() |
| 112 |
|
{ |
eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/Id/ContentTypeGroupTest.php 1 location
|
@@ 36-45 (lines=10) @@
|
| 33 |
|
* @param \eZ\Publish\API\Repository\Repository $repository |
| 34 |
|
* @param bool $expectedResult |
| 35 |
|
*/ |
| 36 |
|
public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult) |
| 37 |
|
{ |
| 38 |
|
$this->matcher->setRepository($repository); |
| 39 |
|
$this->matcher->setMatchingConfig($matchingConfig); |
| 40 |
|
|
| 41 |
|
$this->assertSame( |
| 42 |
|
$expectedResult, |
| 43 |
|
$this->matcher->matchLocation($this->generateLocationMock()) |
| 44 |
|
); |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
public function matchLocationProvider() |
| 48 |
|
{ |
eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/Identifier/ContentTypeTest.php 1 location
|
@@ 35-44 (lines=10) @@
|
| 32 |
|
* @param \eZ\Publish\API\Repository\Repository $repository |
| 33 |
|
* @param bool $expectedResult |
| 34 |
|
*/ |
| 35 |
|
public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult) |
| 36 |
|
{ |
| 37 |
|
$this->matcher->setRepository($repository); |
| 38 |
|
$this->matcher->setMatchingConfig($matchingConfig); |
| 39 |
|
|
| 40 |
|
$this->assertSame( |
| 41 |
|
$expectedResult, |
| 42 |
|
$this->matcher->matchLocation($this->generateLocationMock()) |
| 43 |
|
); |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
public function matchLocationProvider() |
| 47 |
|
{ |
eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/UrlAliasTest.php 1 location
|
@@ 108-116 (lines=9) @@
|
| 105 |
|
* @param \eZ\Publish\API\Repository\Repository $repository |
| 106 |
|
* @param bool $expectedResult |
| 107 |
|
*/ |
| 108 |
|
public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult) |
| 109 |
|
{ |
| 110 |
|
$this->matcher->setRepository($repository); |
| 111 |
|
$this->matcher->setMatchingConfig($matchingConfig); |
| 112 |
|
$this->assertSame( |
| 113 |
|
$expectedResult, |
| 114 |
|
$this->matcher->matchLocation($this->getLocationMock()) |
| 115 |
|
); |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
public function matchLocationProvider() |
| 119 |
|
{ |
eZ/Publish/Core/MVC/Symfony/Matcher/Tests/ContentBased/Id/ParentContentTypeTest.php 1 location
|
@@ 79-87 (lines=9) @@
|
| 76 |
|
* @param \eZ\Publish\API\Repository\Repository $repository |
| 77 |
|
* @param bool $expectedResult |
| 78 |
|
*/ |
| 79 |
|
public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult) |
| 80 |
|
{ |
| 81 |
|
$this->matcher->setRepository($repository); |
| 82 |
|
$this->matcher->setMatchingConfig($matchingConfig); |
| 83 |
|
$this->assertSame( |
| 84 |
|
$expectedResult, |
| 85 |
|
$this->matcher->matchLocation($this->getLocationMock()) |
| 86 |
|
); |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
public function matchLocationProvider() |
| 90 |
|
{ |