Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCK failure messages use toString() on the message object array #1145

Closed
jamezp opened this issue Apr 7, 2023 · 1 comment
Closed

TCK failure messages use toString() on the message object array #1145

jamezp opened this issue Apr 7, 2023 · 1 comment

Comments

@jamezp
Copy link
Contributor

jamezp commented Apr 7, 2023

In the TCK assertion methods the final argument for the method is Object... message. In most cases it seems the message isn't processed and toString() is invoked on the object array resulting in a message that is not useful.

Example output:

org.opentest4j.AssertionFailedError: [Ljava.lang.Object;@221c097f ==> expected: <true> but was: <false>

There is already a method within the JAXRSCommonClient which converts the object array into a string message.

@jamezp
Copy link
Contributor Author

jamezp commented Feb 21, 2024

This PR has been merged. I'm closing this issue for that reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant