[test-unit-commit:00056] test-unit/test-unit [master] split priority test.

null+test-unit @ clear-code.com null+test-unit @ clear-code.com
2011年 7月 20日 (水) 08:35:56 EDT


Kouhei Sutou	2011-07-20 12:35:56 +0000 (Wed, 20 Jul 2011)

  New Revision: 750ed3978fbe9c45ada0eeca7cc0c4052c3683d7

  Log:
    split priority test.

  Modified files:
    test/test-priority.rb

  Modified: test/test-priority.rb (+16 -1)
===================================================================
--- test/test-priority.rb    2011-07-20 12:33:16 +0000 (54dc04f)
+++ test/test-priority.rb    2011-07-20 12:35:56 +0000 (4df7772)
@@ -63,12 +63,27 @@ class TestUnitPriority < Test::Unit::TestCase
     end
   end
 
-  def test_priority
+  def test_priority_must
     assert_priority("must", 1.0, 0.0001)
+  end
+
+  def test_priority_important
     assert_priority("important", 0.9, 0.09)
+  end
+
+  def test_priority_high
     assert_priority("high", 0.70, 0.1)
+  end
+
+  def test_priority_normal
     assert_priority("normal", 0.5, 0.1)
+  end
+
+  def test_priority_low
     assert_priority("low", 0.25, 0.1)
+  end
+
+  def test_priority_never
     assert_priority("never", 0.0, 0.0001)
   end
 



test-unit-commit メーリングリストの案内