Skip to content

Commit 5b7e75f

Browse files
committed
Update the filesystem tests
1 parent b856dbe commit 5b7e75f

File tree

2 files changed

+16
-20
lines changed
  • src/PortToDocs/tests/TestData
    • Exception_ExistingCref/xml_expected/MyAssembly
    • Exceptions/xml_expected/MyAssembly

2 files changed

+16
-20
lines changed

src/PortToDocs/tests/TestData/Exception_ExistingCref/xml_expected/MyAssembly/MyType.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="MyType" FullName="MyNamespace.MyType">
1+
<Type Name="MyType" FullName="MyNamespace.MyType">
22
<TypeSignature Language="DocId" Value="T:MyNamespace.MyType" />
33
<AssemblyInfo>
44
<AssemblyName>MyAssembly</AssemblyName>
@@ -32,11 +32,11 @@
3232
<exception cref="T:System.EightyPercentCollisionException">Word1 Word2 Word3 Word4 Word5 Word6 Word7 Word8.</exception>
3333
<exception cref="T:System.SeventyPercentCollisionException">Word1 Word2 Word3 Word4 Word5 Word6 Word7.</exception>
3434
<exception cref="T:System.SixtyPercentCollisionException">Word1 Word2 Word3 Word4 Word5 Word6.</exception>
35-
<exception cref="T:System.FiftyPercentCollisionException">Word1 Word2 Word3 Word4 Word5.
36-
37-
-or-
38-
39-
Word1 Word2 Word3 Word4 Word5 Word6 Word7 Word8 Word9 Word10.</exception>
35+
<exception cref="T:System.FiftyPercentCollisionException">
36+
<para>Word1 Word2 Word3 Word4 Word5.</para>
37+
<para>-or-</para>
38+
<para>Word1 Word2 Word3 Word4 Word5 Word6 Word7 Word8 Word9 Word10.</para>
39+
</exception>
4040
</Docs>
4141
</Member>
4242
</Members>

src/PortToDocs/tests/TestData/Exceptions/xml_expected/MyAssembly/MyType.xml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="MyType" FullName="MyNamespace.MyType">
1+
<Type Name="MyType" FullName="MyNamespace.MyType">
22
<TypeSignature Language="DocId" Value="T:MyNamespace.MyType" />
33
<AssemblyInfo>
44
<AssemblyName>MyAssembly</AssemblyName>
@@ -29,19 +29,15 @@
2929
<summary>This is the method summary.</summary>
3030
<remarks>To be added.</remarks>
3131
<exception cref="T:System.ArgumentNullException">This is the original text of ArgumentNullException thrown for MyMethod.</exception>
32-
<exception cref="T:System.IndexOutOfRangeException">This is the original text of IndexOutOfRangeException thrown for MyMethod.
33-
34-
-or-
35-
36-
A proper alternative.
37-
38-
-or-
39-
40-
An improper alternative.
41-
42-
-or-
43-
44-
A somewhat proper alternative.</exception>
32+
<exception cref="T:System.IndexOutOfRangeException">
33+
<para>This is the original text of IndexOutOfRangeException thrown for MyMethod.</para>
34+
<para>-or-</para>
35+
<para>A proper alternative.</para>
36+
<para>-or-</para>
37+
<para>An improper alternative.</para>
38+
<para>-or-</para>
39+
<para>A somewhat proper alternative.</para>
40+
</exception>
4541
</Docs>
4642
</Member>
4743
</Members>

0 commit comments

Comments
 (0)