[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. apt-listbugs/0.1.9-6-g8fa70a0

Francesco Poli (wintermute) invernomuto at paranoici.org
Mon Jul 1 21:04:01 UTC 2013


The following commit has been merged in the master branch:
commit 8fa70a051771e5a3b0b4988fccc3782149707881
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Mon Jul 1 22:58:22 2013 +0200

    update test_statmap

diff --git a/test_logic.rb b/test_logic.rb
index c2ef649..f5c1c19 100755
--- a/test_logic.rb
+++ b/test_logic.rb
@@ -3,7 +3,7 @@
 # test_logic: perform unit tests on apt-listbugs/logic
 #
 # Copyright (C) 2008       Junichi Uekawa <dancer at debian.org>
-# Copyright (C) 2011       Francesco Poli <invernomuto at paranoici.org>
+# Copyright (C) 2011-2013  Francesco Poli <invernomuto at paranoici.org>
 #
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
@@ -587,20 +587,28 @@ 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",
+    assert_equal("Outstanding",
                  @a.statmap("pending"),
                  "statmap of pending")
 
-    assert_equal("tagged as pending a fix",
+    assert_equal("Forwarded",
+                 @a.statmap("forwarded"),
+                 "statmap of forwarded")
+
+    assert_equal("Pending Upload",
                  @a.statmap("pending-fixed"),
                  "statmap of pending-fixed")
+
+    assert_equal("Fixed in NMU",
+                 @a.statmap("fixed"),
+                 "statmap of fixed")
+
+    assert_equal("From other Branch",
+                 @a.statmap("absent"),
+                 "statmap of absent")
+
+    assert_equal("Resolved in some Version",
+                 @a.statmap("done"),
+                 "statmap of done")
   end
 end

-- 
apt-listbugs development tree



More information about the Apt-listbugs-commits mailing list