File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 13
13
"autoload" : {
14
14
"psr-4" : { "Clue\\ React\\ Mdns\\ " : " src/" }
15
15
},
16
+ "autoload-dev" : {
17
+ "psr-4" : { "Clue\\ Tests\\ React\\ Mdns\\ " : " tests/" }
18
+ },
16
19
"require" : {
17
20
"php" : " >=5.3" ,
18
21
"clue/multicast-react" : " ^1.0 || ^0.2" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
3
- <phpunit bootstrap =" tests/bootstrap.php"
4
- colors =" true"
5
- convertErrorsToExceptions =" true"
6
- convertNoticesToExceptions =" true"
7
- convertWarningsToExceptions =" true"
8
- >
3
+ <phpunit bootstrap =" vendor/autoload.php" colors =" true" >
9
4
<testsuites >
10
5
<testsuite name =" mDNS React Test Suite" >
11
6
<directory >./tests/</directory >
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ namespace Clue \Tests \React \Mdns ;
4
+
3
5
use Clue \React \Mdns \Factory ;
4
6
5
7
class FactoryTest extends TestCase
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ namespace Clue \Tests \React \Mdns ;
4
+
3
5
use Clue \React \Mdns \MulticastExecutor ;
4
6
use Clue \React \Mdns \Factory ;
5
7
use React \Dns \Query \Query ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- require __DIR__ . ' /../vendor/autoload.php ' ;
3
+ namespace Clue \ Tests \ React \ Mdns ;
4
4
5
- error_reporting (-1 );
6
-
7
- class TestCase extends PHPUnit \Framework \TestCase
5
+ class TestCase extends \PHPUnit \Framework \TestCase
8
6
{
9
7
protected function expectCallableOnce ()
10
8
{
You can’t perform that action at this time.
0 commit comments