From 7235d6ec2dcbd1c94b8c34b795cbf60ba6af5744 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 28 Apr 2016 21:40:44 +0100 Subject: Add test for reading of content types --- dotnet/Mammoth.Tests/DocumentConverterTests.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dotnet/Mammoth.Tests/DocumentConverterTests.cs b/dotnet/Mammoth.Tests/DocumentConverterTests.cs index c0934d3..2abb033 100644 --- a/dotnet/Mammoth.Tests/DocumentConverterTests.cs +++ b/dotnet/Mammoth.Tests/DocumentConverterTests.cs @@ -34,7 +34,7 @@ namespace Mammoth.Tests { } [Fact] - public void simpleListIsConvertedToListElements() { + public void SimpleListIsConvertedToListElements() { AssertSuccessfulConversion( ConvertToHtml("simple-list.docx"), ""); @@ -66,6 +66,17 @@ namespace Mammoth.Tests { "

"); } + // TODO: image warnings + + + + [Fact] + public void ContentTypesAreRead() { + AssertSuccessfulConversion( + ConvertToHtml("tiny-picture-custom-content-type.docx"), + "

"); + } + [Fact] public void CanExtractRawTextFromFile() { AssertSuccessfulConversion( -- cgit v1.2.3