1
0
mirror of https://github.com/danog/amp.git synced 2024-12-03 09:57:51 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Bob Weinand
b0a122ef29 Fixed #3 (Moved signal handling check before handler call) 2016-12-29 18:16:36 +01:00
Bob Weinand
fcba4ad0c5 Add test for weak types 2016-12-29 17:45:12 +01:00
Aaron Piotrowski
f7f5a9a2d9 Fix typo. 2016-12-28 12:56:19 -06:00
Aaron Piotrowski
66bceb811b info() → getInfo() 2016-12-28 12:48:34 -06:00
Bob Weinand
2c0d6064af Update for setErrorHandler() & getWatcherId + new test with stop() 2016-12-23 01:43:09 +01:00
Bob Weinand
e8fb7169d4 Fix #1 (onSignal handlers are unordered) 2016-10-26 15:39:11 +02:00
Bob Weinand
eee5d58a89 Disabling invalid watchers must not throw now 2016-08-30 22:39:47 +02:00
Bob Weinand
0f5460fd0f Do not run memory leak testing test with code coverage active 2016-08-15 15:08:09 +02:00
Bob Weinand
83ceb7f5f8 Fix PHP_INT_MIN not defined in 5.5 2016-08-14 22:44:49 +02:00
Bob Weinand
f82999bb1b Update according to most recent spec changes 2016-08-14 22:27:52 +02:00
Bob Weinand
d6c299a448 Update according to latest spec changes + better signal tests 2016-06-26 17:12:33 +02:00
Aaron Piotrowski
d50de887a2 Fix onSignal porition of testNoMemoryLeak 2016-06-07 13:21:10 -05:00
Bob Weinand
e912117f8d Reduce number of runs for memory test 2016-06-07 19:47:08 +02:00
Aaron Piotrowski
6fd7fe5b11 Call posix_kill() in defer for better consistency
Using a short delay was sometimes not long enough to ensure that $sig2 was actually enabled before the signal was sent. Using a defer after enabling pushes the call to posix_kill() to the next tick.
2016-06-07 12:31:49 -05:00
Aaron Piotrowski
8c2063157b Fix testEventsNotExecutedInSameTickAsEnabled 2016-06-07 12:25:59 -05:00
Aaron Piotrowski
cd0a03c0b2 Fix exception name / warning 2016-06-07 00:08:55 -05:00
Bob Weinand
085afe050e Add registry, execution order tests and InvalidWatcherException handling 2016-06-07 01:53:28 +02:00
Bob Weinand
cca8008cba Fix memory leak test
Add check for signal test
2016-06-04 00:07:16 +02:00
Aaron Piotrowski
6a9ec4ea9f PSR-2: tabs -> spaces 2016-06-03 10:01:21 -05:00
Aaron Piotrowski
ffe714f1ef Fix some tests; PSR-2 function definitions 2016-06-03 00:49:47 -05:00
Bob Weinand
de3c259557 Turns out it is better to not fail for invalid watcher ids 2016-05-27 15:20:39 +02:00
Bob Weinand
e74f09a741 Fix incomplete/skipped marking 2016-05-27 04:17:30 +02:00
Bob Weinand
e2f11010c0 Fix loop->stop() test and incomplete/skipped marking 2016-05-27 04:08:34 +02:00
Bob Weinand
572c99bb85 Initial commit 2016-05-27 03:25:55 +02:00