OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress
/
vendor
/
aws
/
aws-crt-php
/
tests
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
CoreTest.php
709 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
CrcTest.php
2.7 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
CredentialsTest.php
1.93 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
ErrorTest.php
594 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
EventLoopGroupTest.php
758 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
HttpMessageTest.php
3.06 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
LogTest.php
705 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
SigningTest.php
7.83 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
StreamTest.php
1.45 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
common.inc
911 bytes
03/05/2025 10:52:29 AM
rw-r--r--
Editing: ErrorTest.php
Close
<?php /** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ use AWS\CRT\CRT; use Yoast\PHPUnitPolyfills\TestCases\TestCase; final class ErrorTest extends TestCase { public function testNoInitialError() { $this->assertEquals(0, CRT::last_error()); } public function testCanResolveErrorName() { $this->assertEquals("AWS_ERROR_SUCCESS", CRT::error_name(0)); } public function testCanResolveErrorStr() { $this->assertEquals("Success.", CRT::error_str(0)); } }