diff options
author | GRODNO\Anton_Sokolovskii <a.sokolovsky15@gmail.com> | 2018-06-12 16:20:47 +0300 |
---|---|---|
committer | GRODNO\Anton_Sokolovskii <a.sokolovsky15@gmail.com> | 2018-07-05 11:16:32 +0300 |
commit | 31314481ba3640c15420498c712a733f5b7efe61 (patch) | |
tree | 5a50688f48a219b4f8058fd7bc5c2651d86e81cc /mdoc/Test/html.expected | |
parent | 700b97c845aacc98f5b277695b027f184b24110d (diff) |
mdoc: Incorrect signatures generated for return types
Removed namespace when return type is generic
Added integration tests
Added unit test
Add RefType attribute to ReturnType element
Closes #230
Diffstat (limited to 'mdoc/Test/html.expected')
-rw-r--r-- | mdoc/Test/html.expected/Mono.DocTest.Generic/MyList`1.html | 14 | ||||
-rw-r--r-- | mdoc/Test/html.expected/Mono.DocTest/Widget.html | 12 | ||||
-rw-r--r-- | mdoc/Test/html.expected/System/Array.html | 16 |
3 files changed, 21 insertions, 21 deletions
diff --git a/mdoc/Test/html.expected/Mono.DocTest.Generic/MyList`1.html b/mdoc/Test/html.expected/Mono.DocTest.Generic/MyList`1.html index 8ec7050a..6e31d8a8 100644 --- a/mdoc/Test/html.expected/Mono.DocTest.Generic/MyList`1.html +++ b/mdoc/Test/html.expected/Mono.DocTest.Generic/MyList`1.html @@ -329,7 +329,7 @@ </td> <td colspan="2"> <b> - <a href="#M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@)">RefMethod<U></a> + <a href="#M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0)">RefMethod<U></a> </b>(<i>ref</i> <i title="I'm Dying Here!">T</i>, <i>ref</i> <i title="To be added.">U</i>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </tr> <tr valign="top"> @@ -557,15 +557,15 @@ <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div> <hr size="1" /> </blockquote> - <h3 id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@)">RefMethod<U> Generic Method</h3> - <blockquote id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@):member"> + <h3 id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0)">RefMethod<U> Generic Method</h3> + <blockquote id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0):member"> <div class="msummary"> <span class="NotEntered">Documentation for this section has not yet been entered.</span> </div> <h2>Syntax</h2> <div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>RefMethod<U></b> (<i>ref</i> <i title="I'm Dying Here!">T</i> t, <i>ref</i> <i title="To be added.">U</i> u)</div> <h4 class="Subsection">Type Parameters</h4> - <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@):Type Parameters"> + <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0):Type Parameters"> <dl> <dt> <i>U</i> @@ -576,7 +576,7 @@ </dl> </blockquote> <h4 class="Subsection">Parameters</h4> - <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@):Parameters"> + <blockquote class="SubsectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0):Parameters"> <dl> <dt> <i>t</i> @@ -593,11 +593,11 @@ </dl> </blockquote> <h2 class="Section">Remarks</h2> - <div class="SectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@):Remarks"> + <div class="SectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0):Remarks"> <span class="NotEntered">Documentation for this section has not yet been entered.</span> </div> <h2 class="Section">Requirements</h2> - <div class="SectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0@,``0@):Version Information"> + <div class="SectionBox" id="M:Mono.DocTest.Generic.MyList`1.RefMethod``1(`0,``0):Version Information"> <b>Namespace: </b>Mono.DocTest.Generic<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div> <hr size="1" /> </blockquote> diff --git a/mdoc/Test/html.expected/Mono.DocTest/Widget.html b/mdoc/Test/html.expected/Mono.DocTest/Widget.html index e30a7ded..c3854b47 100644 --- a/mdoc/Test/html.expected/Mono.DocTest/Widget.html +++ b/mdoc/Test/html.expected/Mono.DocTest/Widget.html @@ -647,7 +647,7 @@ </td> <td colspan="2"> <b> - <a href="#M:Mono.DocTest.Widget.M1(System.Char,System.Single@,Mono.DocTest.DocValueType@)">M1</a> + <a href="#M:Mono.DocTest.Widget.M1(System.Char,System.Single,Mono.DocTest.DocValueType)">M1</a> </b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a>, <i>out</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Single">float</a>, <i>ref</i> <a href="../Mono.DocTest/DocValueType.html">DocValueType</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </tr> <tr valign="top"> @@ -1595,15 +1595,15 @@ <b>Namespace: </b>Mono.DocTest<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div> <hr size="1" /> </blockquote> - <h3 id="M:Mono.DocTest.Widget.M1(System.Char,System.Single@,Mono.DocTest.DocValueType@)">M1 Method</h3> - <blockquote id="M:Mono.DocTest.Widget.M1(System.Char,System.Single@,Mono.DocTest.DocValueType@):member"> + <h3 id="M:Mono.DocTest.Widget.M1(System.Char,System.Single,Mono.DocTest.DocValueType)">M1 Method</h3> + <blockquote id="M:Mono.DocTest.Widget.M1(System.Char,System.Single,Mono.DocTest.DocValueType):member"> <div class="msummary"> <span class="NotEntered">Documentation for this section has not yet been entered.</span> </div> <h2>Syntax</h2> <div class="Signature">[Mono.DocTest.Doc("normal DocAttribute", Field=true)]<br />[return:Mono.DocTest.Doc("return:DocAttribute", Property=typeof(Mono.DocTest.Widget))]<br />public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>M1</b> ([Mono.DocTest.Doc("c", FlagsEnum=System.ConsoleModifiers.Alt | System.ConsoleModifiers.Control)] <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Char">char</a> c, [Mono.DocTest.Doc("f", NonFlagsEnum=Mono.DocTest.Color.Red)] <i>out</i> <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Single">float</a> f, [Mono.DocTest.Doc("v")] <i>ref</i> <a href="../Mono.DocTest/DocValueType.html">DocValueType</a> v)</div> <h4 class="Subsection">Parameters</h4> - <blockquote class="SubsectionBox" id="M:Mono.DocTest.Widget.M1(System.Char,System.Single@,Mono.DocTest.DocValueType@):Parameters"> + <blockquote class="SubsectionBox" id="M:Mono.DocTest.Widget.M1(System.Char,System.Single,Mono.DocTest.DocValueType):Parameters"> <dl> <dt> <i>c</i> @@ -1620,10 +1620,10 @@ </dl> </blockquote> <h2 class="Section">Remarks</h2> - <div class="SectionBox" id="M:Mono.DocTest.Widget.M1(System.Char,System.Single@,Mono.DocTest.DocValueType@):Remarks"> + <div class="SectionBox" id="M:Mono.DocTest.Widget.M1(System.Char,System.Single,Mono.DocTest.DocValueType):Remarks"> <tt>M:Mono.DocTest.Widget.M1(System.Char,System.Signle@,Mono.DocTest.DocValueType@)</tt>.</div> <h2 class="Section">Requirements</h2> - <div class="SectionBox" id="M:Mono.DocTest.Widget.M1(System.Char,System.Single@,Mono.DocTest.DocValueType@):Version Information"> + <div class="SectionBox" id="M:Mono.DocTest.Widget.M1(System.Char,System.Single,Mono.DocTest.DocValueType):Version Information"> <b>Namespace: </b>Mono.DocTest<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div> <hr size="1" /> </blockquote> diff --git a/mdoc/Test/html.expected/System/Array.html b/mdoc/Test/html.expected/System/Array.html index 43f9c968..718519a8 100644 --- a/mdoc/Test/html.expected/System/Array.html +++ b/mdoc/Test/html.expected/System/Array.html @@ -277,7 +277,7 @@ </td> <td colspan="2"> <b> - <a href="#M:System.Array.Resize``1(``0[]@,System.Int32)">Resize<T></a> + <a href="#M:System.Array.Resize``1(``0[],System.Int32)">Resize<T></a> </b>(<i>ref</i> <i title="To be added.">T</i>[], <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)<blockquote><span class="NotEntered">Documentation for this section has not yet been entered.</span></blockquote></td> </tr> </table> @@ -459,15 +459,15 @@ <b>Namespace: </b>System<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div> <hr size="1" /> </blockquote> - <h3 id="M:System.Array.Resize``1(``0[]@,System.Int32)">Resize<T> Generic Method</h3> - <blockquote id="M:System.Array.Resize``1(``0[]@,System.Int32):member"> + <h3 id="M:System.Array.Resize``1(``0[],System.Int32)">Resize<T> Generic Method</h3> + <blockquote id="M:System.Array.Resize``1(``0[],System.Int32):member"> <div class="msummary"> <span class="NotEntered">Documentation for this section has not yet been entered.</span> </div> <h2>Syntax</h2> <div class="Signature">public static <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Resize<T></b> (<i>ref</i> <i title="To be added.">T</i>[] array, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> newSize)</div> <h4 class="Subsection">Type Parameters</h4> - <blockquote class="SubsectionBox" id="M:System.Array.Resize``1(``0[]@,System.Int32):Type Parameters"> + <blockquote class="SubsectionBox" id="M:System.Array.Resize``1(``0[],System.Int32):Type Parameters"> <dl> <dt> <i>T</i> @@ -478,7 +478,7 @@ </dl> </blockquote> <h4 class="Subsection">Parameters</h4> - <blockquote class="SubsectionBox" id="M:System.Array.Resize``1(``0[]@,System.Int32):Parameters"> + <blockquote class="SubsectionBox" id="M:System.Array.Resize``1(``0[],System.Int32):Parameters"> <dl> <dt> <i>array</i> @@ -495,7 +495,7 @@ </dl> </blockquote> <h4 class="Subsection">Exceptions</h4> - <blockquote class="SubsectionBox" id="M:System.Array.Resize``1(``0[]@,System.Int32):Exceptions"> + <blockquote class="SubsectionBox" id="M:System.Array.Resize``1(``0[],System.Int32):Exceptions"> <table class="TypeDocumentation"> <tr> <th>Type</th> @@ -512,11 +512,11 @@ </table> </blockquote> <h2 class="Section">Remarks</h2> - <div class="SectionBox" id="M:System.Array.Resize``1(``0[]@,System.Int32):Remarks"> + <div class="SectionBox" id="M:System.Array.Resize``1(``0[],System.Int32):Remarks"> <span class="NotEntered">Documentation for this section has not yet been entered.</span> </div> <h2 class="Section">Requirements</h2> - <div class="SectionBox" id="M:System.Array.Resize``1(``0[]@,System.Int32):Version Information"> + <div class="SectionBox" id="M:System.Array.Resize``1(``0[],System.Int32):Version Information"> <b>Namespace: </b>System<br /><b>Assembly: </b>DocTest (in DocTest.dll)<br /><b>Assembly Versions: </b>0.0.0.0</div> <hr size="1" /> </blockquote> |