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