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