File tree Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 1313 "autoload" : {
1414 "psr-4" : { "Clue\\ React\\ Shell\\ " : " src/" }
1515 },
16+ "autoload-dev" : {
17+ "psr-4" : { "Clue\\ Tests\\ React\\ Shell\\ " : " tests/" }
18+ },
1619 "require" : {
1720 "php" : " >=5.3" ,
1821 "react/child-process" : " ^0.5 || ^0.4 || ^0.3" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
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" >
94 <testsuites >
105 <testsuite name =" Shell React Test Suite" >
116 <directory >./tests/</directory >
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use Clue \React \Shell \DeferredShell ;
46
57class DeferredShellTest extends TestCase
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use React \EventLoop \Factory ;
46use Clue \React \Shell \ProcessLauncher ;
57
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use Clue \React \Shell \ProcessLauncher ;
46
57class ProcessLauncherTest extends TestCase
Original file line number Diff line number Diff line change 11<?php
22
3+ namespace Clue \Tests \React \Shell ;
4+
35use React \EventLoop \LoopInterface ;
46use React \Promise \PromiseInterface ;
57
6- require_once __DIR__ . '/../vendor/autoload.php ' ;
7-
8- error_reporting (-1 );
9-
10- class TestCase extends PHPUnit \Framework \TestCase
8+ class TestCase extends \PHPUnit \Framework \TestCase
119{
1210 protected function expectCallableOnce ()
1311 {
You can’t perform that action at this time.
0 commit comments