9 references to FormatterType
Microsoft.AspNetCore.Mvc.FunctionalTests (9)
ApiExplorerTest.cs (9)
861Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, textXml.FormatterType); 863Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, applicationXml.FormatterType); 866Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType); 868Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType); 889Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType); 892Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType); 912Assert.Null(responseFormat.FormatterType); 917Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, responseFormat.FormatterType); 965Assert.Equal(formatterType.FullName, responseFormat.FormatterType);