Imported Upstream version 5.0.0.42

Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-04-10 11:41:01 +00:00
parent 1190d13a04
commit 6bdd276d05
19939 changed files with 3099680 additions and 93811 deletions

View File

@@ -2,5 +2,5 @@ using System.Reflection;
using System.Runtime.CompilerServices;
[assembly:AssemblyVersion("1.0.0.0")]
[assembly:AssemblyDelaySign(false)]
[assembly:AssemblyDelaySign(true)]
[assembly:AssemblyKeyFile("../../class/mono.snk")]

View File

@@ -6,7 +6,7 @@ LIBRARY = monodoc.dll
LIBRARY_PACKAGE = monodoc
# Remove a bunch of "obsolete"-type warning for Lucene.NET
# also activate legacy mode to compile old monodoc.dll api
LOCAL_MCS_FLAGS = /nowarn:618,612,672,809 /define:LEGACY_MODE
LOCAL_MCS_FLAGS = /nowarn:618,612,672,809,414,649 /define:LEGACY_MODE
JAY_FLAGS = -ct
@@ -110,8 +110,7 @@ LIB_MCS_FLAGS = \
/resource:Resources/mono-ecma.css,mono-ecma.css \
/resource:Resources/mono-ecma.xsl,mono-ecma.xsl \
/resource:Resources/toc-html.xsl,toc-html.xsl \
$(IMAGE_RESOURCE_COMMAND) \
/publicsign
$(IMAGE_RESOURCE_COMMAND)
CLEAN_FILES += $(the_lib).config

View File

@@ -47,7 +47,7 @@ namespace MonoTests.Monodoc.Generators
{
var xml = rootTree.RenderUrl ("T:System.String", generator);
Assert.IsNotNull (xml);
Assert.IsNotEmpty (xml);
AssertHelper.IsNotEmpty (xml);
AssertValidXml (xml);
AssertEcmaFullTypeName (xml, "System.String");
}
@@ -57,7 +57,7 @@ namespace MonoTests.Monodoc.Generators
{
var xml = rootTree.RenderUrl ("T:System.Int32", generator);
Assert.IsNotNull (xml);
Assert.IsNotEmpty (xml);
AssertHelper.IsNotEmpty (xml);
AssertValidXml (xml);
AssertEcmaFullTypeName (xml, "System.Int32");
}

View File

@@ -85,7 +85,7 @@ namespace MonoTests.Monodoc
// HACK: in reality we have currently 4 known issues which are due to duplicated namespaces across
// doc sources, something that was never supported and that we need to improve/fix at some stage
Assert.LessOrEqual (4, errorCount, errorCount + " / " + testCount.ToString ());
AssertHelper.LessOrEqual (4, errorCount, errorCount + " / " + testCount.ToString ());
}
IEnumerable<Node> GetLeaves (Node node)

View File

@@ -17,7 +17,7 @@ namespace MonoTests.Monodoc
{
// the docPath variable is the only one we know for sure should exist
Assert.IsNotNull (Config.Get ("docPath"));
Assert.IsNotEmpty (Config.Get ("docPath"));
AssertHelper.IsNotEmpty (Config.Get ("docPath"));
}
}
}

View File

@@ -1,3 +1,4 @@
../../test-helpers/NunitHelpers.cs
Monodoc/HelpSourceTests.cs
Monodoc/EcmaDocTests.cs
Monodoc/TreeTest.cs