-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added facades for hosts functions (#49)
* Setting up PHPUnit * Added facades for hosts functions
- Loading branch information
1 parent
0942cdd
commit bf572e4
Showing
7 changed files
with
105 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
vendor | ||
composer.lock | ||
jaeger-client-php.iml | ||
phpunit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/Jaeger</directory> | ||
<exclude> | ||
<directory suffix="Interface.php">src/</directory> | ||
<file>src/Jaeger/Constants.php</file> | ||
<file>src/Jaeger/Thrift/Agent/AgentIf.php</file> | ||
<file>src/Jaeger/Thrift/Agent/AggregationValidatorIf.php</file> | ||
<file>src/Jaeger/Thrift/Agent/BaggageRestrictionManagerIf.php</file> | ||
<file>src/Jaeger/Thrift/Agent/DependencyIf.php</file> | ||
<file>src/Jaeger/Thrift/Agent/SamplingManagerIf.php</file> | ||
<file>src/Jaeger/Thrift/CollectorIf.php</file> | ||
<file>src/Jaeger/Thrift/Crossdock/TracedServiceIf.php</file> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
|
||
<testsuites> | ||
<testsuite name="Jaeger Test Suite"> | ||
<directory suffix=".php">tests/Jaeger</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<php> | ||
<ini name="date.timezone" value="UTC"/> | ||
<ini name="display_errors" value="on"/> | ||
<ini name="display_startup_errors" value="on"/> | ||
</php> | ||
|
||
<logging> | ||
<log | ||
type="coverage-text" | ||
target="php://stdout" | ||
lowUpperBound="60" | ||
highLowerBound="90"/> | ||
|
||
<log | ||
type="coverage-clover" | ||
target="build/coverage.xml"/> | ||
</logging> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters