Skip to content

Introduce TestGenerationContext #28877

Closed
Closed
@snicoll

Description

@snicoll

Looking at #28684, it became apparent that Closeable wasn't really an option but that we could make writeGeneratedContent more prominent and let it throws an IOException. This had a knock-off effect on the tests which was easily handled using our internal TestGenerationContext.

This impacts obviously tests outside of the Spring Framework so a public variant of it is needed.

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletheme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions