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:
authorMikhail Melnikov <mikhail_melnikov@epam.com>2017-12-19 11:47:45 +0300
committerJoel Martinez <joelmartinez@gmail.com>2017-12-22 23:30:40 +0300
commit232c0a4f4b2a746306231dcb838a48045e6c8b7a (patch)
tree31fc72356471546e8ea85ac5d966614b9623b64a /mdoc/mdoc.Test/BasicFormatterTests.cs
parent50e702afe9795d91bf2d1b0e61918ea20bd8e37d (diff)
mdoc: Support for Javascript signatures
Added Javascript usage formatter Added unit tests Added `check-monodocer-javascript` integration test `MemberSignature` and `TypsSignature` can contain just `Usage` attribute now, fixed XSD schema
Diffstat (limited to 'mdoc/mdoc.Test/BasicFormatterTests.cs')
-rw-r--r--mdoc/mdoc.Test/BasicFormatterTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc/mdoc.Test/BasicFormatterTests.cs b/mdoc/mdoc.Test/BasicFormatterTests.cs
index 4bbefe15..3cb521e6 100644
--- a/mdoc/mdoc.Test/BasicFormatterTests.cs
+++ b/mdoc/mdoc.Test/BasicFormatterTests.cs
@@ -107,7 +107,7 @@ namespace mdoc.Test
protected void TestPropertySignature(Type type, string expected, string memberName)
{
var signature = GetPropertySignature(type, memberName);
- Assert.AreEqual(expected, signature);
+ Assert.AreEqual(FormatEndings(expected), signature);
}
private string GetPropertySignature(Type type, string memberName)
@@ -131,7 +131,7 @@ namespace mdoc.Test
protected void TestFieldSignature(Type type, string expected, string memberName)
{
var usage = GetFieldUsage(type, memberName);
- Assert.AreEqual(expected, usage);
+ Assert.AreEqual(FormatEndings(expected), usage);
}
private string GetFieldUsage(Type type, string memberName)