Imported Upstream version 5.16.0.117

Former-commit-id: 44f8fd0c4b66c828855b08eefcc53d59832c25a6
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-21 08:34:26 +00:00
parent 2a01a829a1
commit 4a084bd265
44 changed files with 46 additions and 38 deletions

View File

@@ -249,6 +249,10 @@ namespace NUnitLite.Runner
if (properties.ContainsKey(PropertyNames.Category))
{
#if MONO
if (properties[PropertyNames.Category].Count == 0)
return;
#endif
xmlWriter.WriteStartElement("categories");
foreach (string category in properties[PropertyNames.Category])

View File

@@ -212,10 +212,12 @@ namespace NUnitLite.Runner
}
catch (FileNotFoundException ex)
{
Failure = true;
writer.WriteLine(ex.Message);
}
catch (Exception ex)
{
Failure = true;
writer.WriteLine(ex.ToString());
}
finally