tests/JSONTextBasicTest.php 1 location
|
@@ 34-41 (lines=8) @@
|
| 31 |
|
* |
| 32 |
|
* Modifies fixtures property to be able to run on PHP <5.6 without use of constant in class property which 5.6+ allows |
| 33 |
|
*/ |
| 34 |
|
public function __construct() |
| 35 |
|
{ |
| 36 |
|
foreach($this->fixtures as $name => $path) { |
| 37 |
|
$this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
parent::__construct(); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |
| 44 |
|
* Setup the System Under Test for this test suite. |
tests/JSONTextQueryTest.php 1 location
|
@@ 40-47 (lines=8) @@
|
| 37 |
|
* |
| 38 |
|
* Modify fixtures property to be able to run on PHP <5.6 without use of constant in class property which 5.6+ allows |
| 39 |
|
*/ |
| 40 |
|
public function __construct() |
| 41 |
|
{ |
| 42 |
|
foreach($this->fixtures as $name => $path) { |
| 43 |
|
$this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
parent::__construct(); |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
/** |
| 50 |
|
* Setup the System Under Test for this test suite. |
tests/JSONTextSetValueTest.php 1 location
|
@@ 28-35 (lines=8) @@
|
| 25 |
|
* |
| 26 |
|
* Modify fixtures property to be able to run on PHP <5.6 without use of constant in class property which 5.6+ allows |
| 27 |
|
*/ |
| 28 |
|
public function __construct() |
| 29 |
|
{ |
| 30 |
|
foreach($this->fixtures as $name => $path) { |
| 31 |
|
$this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
parent::__construct(); |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
/** |
| 38 |
|
* Tests JSONText::setValue() by means of a simple JSONPath expression operating on a JSON array |
tests/JSONTextTest.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
* |
| 29 |
|
* Modify fixtures property to be able to run on PHP <5.6 without use of constant in class property which 5.6+ allows |
| 30 |
|
*/ |
| 31 |
|
public function __construct() |
| 32 |
|
{ |
| 33 |
|
foreach($this->fixtures as $name => $path) { |
| 34 |
|
$this->fixtures[$name] = realpath(__DIR__) . '/' . $path; |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
parent::__construct(); |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |
| 41 |
|
* @todo There are a ton more permutations of a JSONPath regex |