Documentation
¶
Overview ¶
* Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved. * SPDX-License-Identifier: Apache-2.0
Index ¶
- func AssertError(t *testing.T, err error, expectedErrors ...error) bool
- func AssertErrorDescription(t *testing.T, err error, expectedErrorDescriptions ...string) bool
- func RequireError(t *testing.T, err error, expectedErrors ...error)
- func RequireErrorDescription(t *testing.T, err error, expectedErrorDescriptions ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertError ¶
AssertError asserts that the error is matching one of the `expectedErrors` This is a wrapper for commonerrors.Any.
func AssertErrorDescription ¶
AssertErrorDescription asserts that the error description corresponds to one of the `expectedErrorDescriptions` This is a wrapper for commonerrors.CorrespondTo.
func RequireError ¶
RequireError requires that the error is matching one of the `expectedErrors` This is a wrapper for commonerrors.Any.
Types ¶
This section is empty.