Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2019-05-21 08:32:05 +0300
committerJoel Martinez <joelmartinez@gmail.com>2019-09-03 18:32:24 +0300
commitad28e0f04698d0d34e1d19f37a8c2f268d5c7e77 (patch)
treee3f5ea2c75c59cde1b17c17d0f75374f5a7198c2 /mdoc/mdoc.Test/XmlUpdateTests.cs
parentebae5cd4567a4ee25f55edf721819ba8a98d2b08 (diff)
Improved member sig update again.
Now is more discerning on when a member is on the first or last framework. Related to #346
Diffstat (limited to 'mdoc/mdoc.Test/XmlUpdateTests.cs')
-rw-r--r--mdoc/mdoc.Test/XmlUpdateTests.cs36
1 files changed, 0 insertions, 36 deletions
diff --git a/mdoc/mdoc.Test/XmlUpdateTests.cs b/mdoc/mdoc.Test/XmlUpdateTests.cs
index f92e5fa0..c3bcaa6d 100644
--- a/mdoc/mdoc.Test/XmlUpdateTests.cs
+++ b/mdoc/mdoc.Test/XmlUpdateTests.cs
@@ -339,42 +339,6 @@ namespace mdoc.Test
#endregion
[Test ()]
- public void MemberSignature_Updating_Existing_NoChange ()
- {
- var context = InitContext <MyClass>(SigmultiFrameworkXml, 2, forceAlignment: false);
-
- FrameworkTypeEntry typeEntry = context.fx.Frameworks[2].Types.First ();
-
-
- var sig = new CSharpMemberFormatter ();
- MDocUpdater.UpdateSignature (sig, context.method, context.doc.FirstChild as XmlElement, typeEntry);
-
- var afterXML = context.doc.OuterXml;
-
- Assert.AreEqual (Normalize (SigmultiFrameworkXml), Normalize (afterXML));
-
- }
-
- [Test ()]
- public void MemberSignature_Updating_Existing_NameChanged_SingleFX()
- {
- // handles the case
- var context = InitContext<MyClass> (SigRegular, 2, forceAlignment: false);
-
- FrameworkTypeEntry typeEntry = context.fx.Frameworks[0].Types.First ();
- context.fx.Frameworks.RemoveAt (2);
- context.fx.Frameworks.RemoveAt (1);
-
- var sig = new CSharpMemberFormatter ();
- MDocUpdater.UpdateSignature (sig, context.method, context.doc.FirstChild as XmlElement, typeEntry);
-
- var afterXML = context.doc.OuterXml;
-
- Assert.AreEqual (Normalize (SigRegularChanged), Normalize (afterXML));
-
- }
-
- [Test ()]
public void DocMemberEnumerator()
{
var context = InitContext <MyClass>(string.Format (typeFrameXml, multiFrameworkXml), 1, forceAlignment: true);