Package org.gradle.api.tasks.testing
Interface TestFileAttachmentDataEvent
- All Superinterfaces:
TestMetadataEvent
File attachment data published by a test.
- Since:
- 9.4.0
-
Method Summary
Methods inherited from interface org.gradle.api.tasks.testing.TestMetadataEvent
getLogTime
-
Method Details
-
getPath
Path getPath()Returns the path to the attached file.- Returns:
- path to the attached file
- Since:
- 9.4.0
-
getMediaType
@Nullable String getMediaType()Returns the media type of the attached file, or null if not specified.- Returns:
- media type of the attached file, or null if not specified
- Since:
- 9.4.0
-