[Groonga-commit] ranguba/rroonga at bd7893b [master] test: add a test for Groonga::Thread

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 8 17:14:13 JST 2015


Kouhei Sutou	2015-09-08 17:14:13 +0900 (Tue, 08 Sep 2015)

  New Revision: bd7893bb40270ac897f955e11b46093d59e0bdf4
  https://github.com/ranguba/rroonga/commit/bd7893bb40270ac897f955e11b46093d59e0bdf4

  Message:
    test: add a test for Groonga::Thread

  Added files:
    test/test-thread.rb

  Added: test/test-thread.rb (+23 -0) 100644
===================================================================
--- /dev/null
+++ test/test-thread.rb    2015-09-08 17:14:13 +0900 (ccb85ad)
@@ -0,0 +1,23 @@
+# Copyright (C) 2015  Kouhei Sutou <kou �� clear-code.com>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1 as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+class ThreadTest < Test::Unit::TestCase
+  include GroongaTestUtils
+
+  def test_limit
+    Groonga::Thread.limit = 10
+    assert_equal(0, Groonga::Thread.limit)
+  end
+end
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index