mirror of
https://github.com/danog/amp.git
synced 2024-12-06 05:48:59 +01:00
27 lines
533 B
PHP
27 lines
533 B
PHP
<?php
|
|
|
|
namespace Amp\Test\Loop;
|
|
|
|
use Amp\Loop\NativeDriver;
|
|
use Amp\Loop\TracingDriver;
|
|
|
|
class TracingDriverTest extends DriverTest
|
|
{
|
|
public function getFactory(): callable
|
|
{
|
|
return static function () {
|
|
return new TracingDriver(new NativeDriver);
|
|
};
|
|
}
|
|
|
|
/**
|
|
* @dataProvider provideRegistrationArgs
|
|
* @group memoryleak
|
|
*/
|
|
public function testNoMemoryLeak($type, $args)
|
|
{
|
|
// Skip, because the driver intentionally leaks
|
|
$this->assertTrue(true);
|
|
}
|
|
}
|