File tree Expand file tree Collapse file tree 5 files changed +85
-0
lines changed Expand file tree Collapse file tree 5 files changed +85
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : php
2
+ sudo : false
3
+
4
+ php :
5
+ - 5.5
6
+ - 5.6
7
+ - 7
8
+
9
+ env :
10
+
11
+ before_script :
12
+ - composer install
Original file line number Diff line number Diff line change
1
+ Core components
2
+ =========
3
+ [ ![ Build Status] ( https://travis-ci.org/phpflo/phpflo-core.svg?branch=master )] ( https://travis-ci.org/phpflo/phpflo-core )
4
+ [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/phpflo/phpflo-core/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/phpflo/phpflo-core/?branch=master )
5
+ [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/phpflo/phpflo-core/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/phpflo/phpflo-core/?branch=master )
6
+ [ ![ License] ( http://img.shields.io/:license-mit-blue.svg )] ( http://doge.mit-license.org )
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" http://schema.phpunit.de/4.8/phpunit.xsd"
4
+ backupGlobals =" false"
5
+ backupStaticAttributes =" false"
6
+ colors =" true"
7
+ convertErrorsToExceptions =" true"
8
+ convertNoticesToExceptions =" true"
9
+ convertWarningsToExceptions =" true"
10
+ processIsolation =" false"
11
+ stopOnFailure =" false"
12
+ syntaxCheck =" false"
13
+ bootstrap =" tests/bootstrap.php"
14
+ >
15
+ <testsuites >
16
+ <testsuite name =" PhpFlo Test Suite" >
17
+ <directory >tests</directory >
18
+ </testsuite >
19
+ </testsuites >
20
+ </phpunit >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Tests \PhpFlo \Component ;
4
+
5
+ use PhpFlo \Network ;
6
+
7
+ class QueueTest extends \PHPUnit_Framework_TestCase
8
+ {
9
+ public function testNoMessageIsForwardedWhileQueueSizeIsNotReached ()
10
+ {
11
+ $ this ->markTestIncomplete ();
12
+ }
13
+
14
+ public function testAllMessagesAreForwardedWhenQueueSizeIsReached ()
15
+ {
16
+ $ this ->markTestIncomplete ();
17
+ }
18
+
19
+ public function testQueueResize ()
20
+ {
21
+ $ this ->markTestIncomplete ();
22
+ }
23
+
24
+ public function testErrorIsSendWhenIncorrectResizeMessageIsReceived ()
25
+ {
26
+ $ this ->markTestIncomplete ();
27
+ }
28
+
29
+ public function testMessagesAreForwardeWhenQueueIsResizedBelowCurrentMessageCount ()
30
+ {
31
+ $ this ->markTestIncomplete ();
32
+ }
33
+
34
+ public function testMessagesAreForwaredWhenIncomingStreamIsDetached ()
35
+ {
36
+ $ this ->markTestIncomplete ();
37
+ }
38
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ $ autoloadFile = __DIR__ .'/../vendor/autoload.php ' ;
4
+
5
+ if (!is_file ($ autoloadFile )) {
6
+ throw new RuntimeException ('Could not find autoloader. Did you run "composer install --dev"? ' );
7
+ }
8
+
9
+ $ loader = require_once $ autoloadFile ;
You can’t perform that action at this time.
0 commit comments