For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

TestFileAttachmentMetadataEvent

An event emitted by tests that contains file attachment data.

Since

9.4.0

Functions

Link copied to clipboard
Returns the description of the operation for which progress is reported.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human consumable short description of the event.
Link copied to clipboard
abstract fun getEventTime(): Long
Returns the time this event was triggered.
Link copied to clipboard
abstract fun getFile(): File
The published file attachment.
Link copied to clipboard
@Nullable
abstract fun getMediaType(): @Nullable String
Media type of the file, if known.