9 references to FormatterType
Microsoft.AspNetCore.Mvc.FunctionalTests (9)
ApiExplorerTest.cs (9)
856Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, textXml.FormatterType); 858Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, applicationXml.FormatterType); 861Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType); 863Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType); 884Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType); 887Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType); 907Assert.Null(responseFormat.FormatterType); 912Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, responseFormat.FormatterType); 960Assert.Equal(formatterType.FullName, responseFormat.FormatterType);