[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. apt-listbugs/0.1.5-21-gca683b2
Francesco Poli (wintermute)
invernomuto at paranoici.org
Sat Dec 10 17:02:50 UTC 2011
The following commit has been merged in the master branch:
commit ca683b2fe71e417b2b70ca1ce2357fecb792772f
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date: Sat Dec 10 16:27:35 2011 +0100
enhance test_statmap
More assertions have been added to the test_statmap unit test.
diff --git a/debian/changelog b/debian/changelog
index 7ac891a..04a6b2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,7 +18,7 @@ apt-listbugs (0.1.6) UNRELEASED; urgency=low
* enhanced the (theoretical) correctness of the code to check whether a
bug is present in a package version
- -- Francesco Poli (wintermute) <invernomuto at paranoici.org> Sat, 10 Dec 2011 16:10:33 +0100
+ -- Francesco Poli (wintermute) <invernomuto at paranoici.org> Sat, 10 Dec 2011 16:24:57 +0100
apt-listbugs (0.1.5) unstable; urgency=low
diff --git a/test_logic.rb b/test_logic.rb
index d85d4bd..843fa2a 100755
--- a/test_logic.rb
+++ b/test_logic.rb
@@ -563,8 +563,20 @@ class TC_AppConfig < Test::Unit::TestCase
@a.statmap("my_undefined"),
"statmap of an undefined value")
+ assert_equal("forwarded",
+ @a.statmap("forwarded"),
+ "statmap of forwarded")
+
+ assert_equal("marked as done in some version",
+ @a.statmap("done"),
+ "statmap of done")
+
assert_equal("unfixed",
@a.statmap("pending"),
"statmap of pending")
+
+ assert_equal("tagged as pending a fix",
+ @a.statmap("pending-fixed"),
+ "statmap of pending-fixed")
end
end
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list