ok

Mini Shell

Direktori : /home2/selectio/www/myclassicfit.com-1/vendor/aws/aws-crt-php/tests/
Upload File :
Current File : /home2/selectio/www/myclassicfit.com-1/vendor/aws/aws-crt-php/tests/ErrorTest.php

<?php
/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
use AWS\CRT\CRT;

final class ErrorTest extends PHPUnit_Framework_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));
    }
}

Zerion Mini Shell 1.0