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
test-unit-2.4.7 test/testunit-test-util.rb
test-unit-2.4.6 test/testunit-test-util.rb
test-unit-2.4.5 test/testunit-test-util.rb
test-unit-2.4.4 test/testunit-test-util.rb
test-unit-2.4.3 test/testunit-test-util.rb
test-unit-2.4.2 test/testunit-test-util.rb
test-unit-2.4.1 test/testunit-test-util.rb
test-unit-2.4.0 test/testunit-test-util.rb
test-unit-2.3.2 test/testunit-test-util.rb
test-unit-2.3.1 test/testunit-test-util.rb
test-unit-2.3.0 test/testunit-test-util.rb
activegroonga-1.0.4 test-unit/test/testunit-test-util.rb
rroonga-1.2.0 test-unit/test/testunit-test-util.rb
glib2-0.90.8-x86-mingw32 test-unit/test/testunit-test-util.rb
glib2-0.90.8 test-unit/test/testunit-test-util.rb
test-unit-2.2.0 test/testunit-test-util.rb
rroonga-1.1.0 test-unit/test/testunit-test-util.rb
glib2-0.90.7-x86-mingw32 test-unit/test/testunit-test-util.rb
glib2-0.90.7 test-unit/test/testunit-test-util.rb
glib2-0.90.6 test-unit/test/testunit-test-util.rb