Skip to content

Commit 7f698f5

Browse files
[Fix] test
1 parent 8d11a80 commit 7f698f5

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

ReqIFSharp.Tests/AttributeValueTests/AttributeValueXHTMLTestFixture.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -150,20 +150,5 @@ public void Verify_that_raw_text_can_be_extracted_from_xtml_value()
150150

151151
Assert.That(unformattedText, Is.EqualTo("Description of the SpecObject that includes formatted tables and/or style: Element 1 Element 2"));
152152
}
153-
154-
[Test]
155-
public void AttributeValueXhtml_ExtractsPlainTextAndDetectsExternalObjects()
156-
{
157-
var attributeValue = new AttributeValueXHTML();
158-
attributeValue.TheValue = "<div>plain <b>text</b><object data=\"file%20name.bin\" type=\"application/octet-stream\"></object></div>";
159-
160-
var plain = attributeValue.ExtractUnformattedTextFromValue();
161-
162-
Assert.That(plain, Is.EqualTo("plain text"));
163-
164-
var objects = attributeValue.ExternalObjects;
165-
Assert.That(objects, Has.Count.EqualTo(1));
166-
Assert.That(objects[0].Uri, Is.EqualTo("file name.bin"));
167-
}
168153
}
169154
}

0 commit comments

Comments
 (0)