mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-17 17:47:12 +00:00
* Added test-ffi target, use it in CI * Added clang-format config, fixed RETURN_STRING API mismatch * Skip installing php and packages on the PHP docker images * Removed al2 job that was never going to work, and compiler tests * Fixed basic test for extension loading * Cleaned up lib structure, fixed tests * use test-ci target to conditionally test in GitHub * Use v0.8.1 of builder
17 lines
388 B
PHP
17 lines
388 B
PHP
<?php
|
|
|
|
final class EventLoopGroupTest extends PHPUnit_Framework_TestCase {
|
|
|
|
public function testLifetime() {
|
|
$elg = new EventLoopGroup();
|
|
$elg = null;
|
|
}
|
|
|
|
public function testConstructionWithOptions() {
|
|
$options = EventLoopGroup::defaults();
|
|
$options['num_threads'] = 1;
|
|
$elg = new EventLoopGroup($options);
|
|
$elg = null;
|
|
}
|
|
}
|