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>2018-03-19 23:50:15 +0300
committerJoel Martinez <joelmartinez@gmail.com>2018-03-20 00:17:53 +0300
commit5e2012309f32b9ab42825c24e6641fe33c73ab55 (patch)
tree340bacfa935e186ba8ad12a5e1dba06cffd0a2d3 /mdoc/mdoc.Test/FrameworkAlternateTests.cs
parent9a8af0960234d808c9e682ad26601a5979b2b062 (diff)
mdoc: parameters and member signatures now use FrameworkAlternate when different
Resolves #116
Diffstat (limited to 'mdoc/mdoc.Test/FrameworkAlternateTests.cs')
-rw-r--r--mdoc/mdoc.Test/FrameworkAlternateTests.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/mdoc/mdoc.Test/FrameworkAlternateTests.cs b/mdoc/mdoc.Test/FrameworkAlternateTests.cs
new file mode 100644
index 00000000..1727106d
--- /dev/null
+++ b/mdoc/mdoc.Test/FrameworkAlternateTests.cs
@@ -0,0 +1,27 @@
+using Mono.Documentation.Updater.Frameworks;
+using NUnit.Framework;
+using System;
+using System.Linq;
+
+namespace mdoc.Test
+{
+ [TestFixture ()]
+ public class FrameworkAlternateTests
+ {
+ [Test ()]
+ public void AddToEmptyList()
+ {
+ string newValue = FXUtils.AddFXToList ("", "One");
+
+ Assert.AreEqual ("One", newValue);
+ }
+
+
+ [Test ()]
+ public void RemoveFromList()
+ {
+ string newValue = FXUtils.RemoveFXFromList ("One", "One");
+ Assert.AreEqual ("", newValue);
+ }
+ }
+}