OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
aws-ses
/
vendor
/
aws
/
aws-crt-php
/
tests
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:14 AM
rwxr-xr-x
📄
CoreTest.php
709 bytes
05/19/2025 10:07:14 AM
rw-r--r--
📄
CrcTest.php
2.7 KB
05/19/2025 10:07:14 AM
rw-r--r--
📄
CredentialsTest.php
1.93 KB
05/19/2025 10:07:14 AM
rw-r--r--
📄
ErrorTest.php
594 bytes
05/19/2025 10:07:14 AM
rw-r--r--
📄
EventLoopGroupTest.php
758 bytes
05/19/2025 10:07:14 AM
rw-r--r--
📄
HttpMessageTest.php
3.06 KB
05/19/2025 10:07:14 AM
rw-r--r--
📄
LogTest.php
705 bytes
05/19/2025 10:07:14 AM
rw-r--r--
📄
SigningTest.php
7.83 KB
05/19/2025 10:07:14 AM
rw-r--r--
📄
StreamTest.php
1.45 KB
05/19/2025 10:07:14 AM
rw-r--r--
📄
common.inc
911 bytes
03/03/2025 08:32:36 AM
rw-r--r--
Editing: common.inc
Close
<?php /** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ use AWS\CRT\CRT as CRT; use Yoast\PHPUnitPolyfills\TestCases\TestCase; ini_set("memory_limit", "512M"); abstract class CrtTestCase extends TestCase { private static $crt = null; public static function set_up_before_class() { parent::set_up_before_class(); self::$crt = new CRT(); } public static function tear_down_after_class() { self::$crt = null; parent::tear_down_after_class(); } // Ensure that after every test there are no errors in the CRT itself protected function assert_post_conditions() { if (CRT::last_error()) { $this->fail("Test left an error on the stack: " . CRT::error_name(CRT::last_error())); } parent::assert_post_conditions(); } }