Skip to content

Introducing a test framework for Java APIView processor#8115

Merged
JonathanGiles merged 2 commits intoAzure:mainfrom
JonathanGiles:main
Apr 17, 2024
Merged

Introducing a test framework for Java APIView processor#8115
JonathanGiles merged 2 commits intoAzure:mainfrom
JonathanGiles:main

Conversation

@JonathanGiles
Copy link
Copy Markdown
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
@JonathanGiles JonathanGiles added the APIView Issues related to APIView core functionality or UI label 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
Copy Markdown
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
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APIView Issues related to APIView core functionality or UI

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants