mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-17 17:47:12 +00:00
* Added composer config, added IO/error tests using phpunit * Added ApiGen doc comments * Added test to ensure last_error is not set from loading up the CRT
19 lines
442 B
PHP
19 lines
442 B
PHP
<?php
|
|
|
|
require_once('tests.inc');
|
|
|
|
final class EventLoopGroupTest extends PHPUnit_Framework_TestCase {
|
|
|
|
public function testLifetime() {
|
|
$elg = new EventLoopGroup(new EventLoopGroupOptions());
|
|
$elg = null;
|
|
}
|
|
|
|
public function testConstructionWithOptions() {
|
|
$options = new EventLoopGroupOptions();
|
|
$options->num_threads = 1;
|
|
$elg = new EventLoopGroup($options);
|
|
$elg = null;
|
|
}
|
|
}
|