File tree Expand file tree Collapse file tree
ReqIFSharp.Tests/AttributeValueTests Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments