Sha256: ae12c1166a435f66ce875955af49d1e948bb381bef706791642ae584ed6b42fb

Contents?: true

Size: 335 Bytes

Versions: 93

Compression:

Stored size: 335 Bytes

Contents

module TestUnitTestUtil
  private
  def assert_fault_messages(expected, faults)
    assert_equal(expected, faults.collect {|fault| fault.message})
  end

  def _run_test(test_case, name)
    result = Test::Unit::TestResult.new
    test = test_case.new(name)
    yield(test) if block_given?
    test.run(result) {}
    result
  end
end

Version data entries

93 entries across 93 versions & 9 rubygems

Version Path
rroonga-1.0.0 test-unit/test/testunit-test-util.rb
cairo-1.8.5-x86-mingw32 test-unit/test/testunit_test_util.rb
cairo-1.8.5 test-unit/test/testunit_test_util.rb
cairo-1.8.4 test-unit/test/testunit_test_util.rb
cairo-1.8.4-x86-mingw32 test-unit/test/testunit_test_util.rb
cairo-1.8.3-x86-mingw32 test-unit/test/testunit_test_util.rb
cairo-1.8.3 test-unit/test/testunit_test_util.rb
rroonga-0.9.5-x86-mingw32 test-unit/test/testunit-test-util.rb
rroonga-0.9.5 test-unit/test/testunit-test-util.rb
test-unit-2.1.1 test/testunit-test-util.rb
test-unit-2.1.0 test/testunit-test-util.rb
activeldap-1.2.2 test-unit/test/testunit-test-util.rb
test-unit-2.0.9 test/testunit-test-util.rb
test-unit-2.0.8 test/testunit-test-util.rb
rroonga-0.9.3-x86-mingw32 test-unit/test/testunit-test-util.rb
rroonga-0.9.3 test-unit/test/testunit-test-util.rb
rroonga-0.9.2-x86-mingw32 test-unit/test/testunit-test-util.rb
rroonga-0.9.2-mswin32 test-unit/test/testunit-test-util.rb
rroonga-0.9.2 test-unit/test/testunit-test-util.rb
test-unit-2.0.7 test/testunit-test-util.rb