9 references to FormatterType
Microsoft.AspNetCore.Mvc.FunctionalTests (9)
ApiExplorerTest.cs (9)
844
Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, textXml.
FormatterType
);
846
Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, applicationXml.
FormatterType
);
849
Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.
FormatterType
);
851
Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.
FormatterType
);
872
Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.
FormatterType
);
875
Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.
FormatterType
);
895
Assert.Null(responseFormat.
FormatterType
);
900
Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, responseFormat.
FormatterType
);
948
Assert.Equal(formatterType.FullName, responseFormat.
FormatterType
);