File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
test/DocumentFormat.OpenXml.Tests/ofapiTest Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 88using DocumentFormat . OpenXml . Wordprocessing ;
99using System ;
1010using System . IO ;
11- using System . Xml ;
1211using Xunit ;
1312
1413namespace DocumentFormat . OpenXml . Tests
@@ -198,21 +197,6 @@ public void CanSetNullValue()
198197 Assert . Null ( cell . Child ) ;
199198 }
200199
201- /// <summary>
202- /// A test for OpenXmlElement.GetOrAddFirstChild.
203- /// </summary>
204- [ Fact ]
205- public void GetOrAddFirstChildTest ( )
206- {
207- Paragraph p = new ( ) ;
208- Run r = p . GetOrAddFirstChild < Run > ( ) ;
209- Assert . NotNull ( r ) ;
210- Assert . Same ( r , p . GetFirstChild < Run > ( ) ) ;
211-
212- var r2 = p . GetOrAddFirstChild < Run > ( ) ;
213- Assert . Same ( r , r2 ) ;
214- }
215-
216200 private class WithChildElement : OpenXmlCompositeElement
217201 {
218202 public ChildElement Child
You can’t perform that action at this time.
0 commit comments