[Pkg-cli-apps-commits] [SCM] monodevelop branch, master, updated. debian/2.8.6.3+dfsg-1-3-g226a326
Julian Taylor
jtaylor.debian at googlemail.com
Sun Feb 12 23:27:52 UTC 2012
The following commit has been merged in the master branch:
commit 226a326727b2db5024dfabd7061e89cf131ff12a
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: Mon Feb 13 00:22:25 2012 +0100
treat new Error TestResult as a failure to get it displayed
diff --git a/debian/patches/port_to_nunit_2.5.patch b/debian/patches/port_to_nunit_2.5.patch
index 2b16d4c..c7e1597 100644
--- a/debian/patches/port_to_nunit_2.5.patch
+++ b/debian/patches/port_to_nunit_2.5.patch
@@ -88,7 +88,7 @@
-
- if (t is TestSuiteResult) {
+
-+ if (t.IsFailure) {
++ if (t.IsFailure || t.IsError) {
+ res.Status = ResultStatus.Failure;
+ res.TotalFailures = 1;
+ }
@@ -142,7 +142,7 @@
- res.Message += GettextCatalog.GetString ("Execution time: {0:0.00}ms", t.Time);
- }
+ if (string.IsNullOrEmpty (res.Message)) {
-+ if (t.IsFailure)
++ if (t.IsFailure || t.IsError)
+ res.Message = GettextCatalog.GetString ("Test failed");
+ else if (!t.Executed)
+ res.Message = GettextCatalog.GetString ("Test ignored");
@@ -164,8 +164,9 @@
foreach (TestResult t in ts.Results) {
- if (t is TestCaseResult) {
+- if (t.IsFailure)
+ if (t is TestResult) {
- if (t.IsFailure)
++ if (t.IsFailure || t.IsError)
f++;
else if (!t.Executed)
i++;
--
monodevelop
More information about the Pkg-cli-apps-commits
mailing list