Uses of Class
org.junit.jupiter.api.extension.MediaType
-
Packages that use MediaType Package Description org.junit.jupiter.api JUnit Jupiter API for writing tests.org.junit.jupiter.api.extension JUnit Jupiter API for writing extensions. -
-
Uses of MediaType in org.junit.jupiter.api
Methods in org.junit.jupiter.api with parameters of type MediaType Modifier and Type Method Description default voidTestReporter. publishFile(java.lang.String name, MediaType mediaType, ThrowingConsumer<java.nio.file.Path> action)Deprecated.default voidTestReporter. publishFile(java.nio.file.Path file, MediaType mediaType)Deprecated.UseTestReporter.publishFile(Path, MediaType)instead. -
Uses of MediaType in org.junit.jupiter.api.extension
Fields in org.junit.jupiter.api.extension declared as MediaType Modifier and Type Field Description static MediaTypeMediaType. APPLICATION_JSONDeprecated.Theapplication/jsonmedia type.static MediaTypeMediaType. APPLICATION_JSON_UTF_8Deprecated.UseAPPLICATION_JSONinstead.static MediaTypeMediaType. APPLICATION_OCTET_STREAMDeprecated.Theapplication/octet-streammedia type.static MediaTypeMediaType. IMAGE_JPEGDeprecated.Theimage/jpegmedia type.static MediaTypeMediaType. IMAGE_PNGDeprecated.Theimage/pngmedia type.static MediaTypeMediaType. TEXT_PLAINDeprecated.Thetext/plainmedia type.static MediaTypeMediaType. TEXT_PLAIN_UTF_8Deprecated.Thetext/plain; charset=UTF-8media type.Methods in org.junit.jupiter.api.extension that return MediaType Modifier and Type Method Description static MediaTypeMediaType. create(java.lang.String type, java.lang.String subtype)Deprecated.Create a media type with the given type and subtype.static MediaTypeMediaType. create(java.lang.String type, java.lang.String subtype, java.nio.charset.Charset charset)Deprecated.Create a media type with the given type, subtype, and charset.static MediaTypeMediaType. parse(java.lang.String value)Deprecated.Parse the given media type value.Methods in org.junit.jupiter.api.extension with parameters of type MediaType Modifier and Type Method Description default voidExtensionContext. publishFile(java.lang.String name, MediaType mediaType, ThrowingConsumer<java.nio.file.Path> action)Deprecated.
-