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

Introducing a test framework for Java APIView processor #8115

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

JonathanGiles
Copy link
Member

Introducing a test framework for Java APIView processor to compare output for published libraries against their known-good representations, to help avoid regrettable regressions. So far there are no tests included - this is just the framework.

…tput for published libraries against their known-good representations, to help avoid regrettable regressions
@JonathanGiles JonathanGiles requested a review from a team as a code owner April 17, 2024 17:04
@JonathanGiles JonathanGiles self-assigned this Apr 17, 2024
// Write out to the filesystem, make the file if it doesn't exist
if (!outputFile.exists()) {
if (!outputFile.createNewFile()) {
System.out.printf("Failed to create output file %s%n", outputFile);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here - exit if file cannot be created.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in this case I think we keep going - just because we support multiple files, and the others might work.

@JonathanGiles JonathanGiles merged commit 5bac009 into Azure:main Apr 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants