test-unit 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
1
  module TestUnitTestUtil
2
2
  private
3
3
  def jruby_only_test
4
- begin
4
+ if RUBY_PLATFORM == "java"
5
5
  require "java"
6
- rescue LoadError
6
+ else
7
7
  omit("test for JRuby")
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-05 00:00:00.000000000 Z
13
+ date: 2012-08-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -99,6 +99,7 @@ files:
99
99
  - lib/test/unit/assertionfailederror.rb
100
100
  - lib/test/unit/failure.rb
101
101
  - lib/test/unit/autorunner.rb
102
+ - lib/test/unit/fault-location-detector.rb
102
103
  - lib/test/unit/exceptionhandler.rb
103
104
  - lib/test/unit/assertions.rb
104
105
  - lib/test/unit/error.rb
@@ -154,6 +155,7 @@ files:
154
155
  - test/util/test-method-owner-finder.rb
155
156
  - test/util/test-output.rb
156
157
  - test/fixtures/plus.csv
158
+ - test/test-fault-location-detector.rb
157
159
  - test/test-code-snippet.rb
158
160
  - test/test_error.rb
159
161
  - test/test-diff.rb
@@ -211,6 +213,7 @@ test_files:
211
213
  - test/util/test-method-owner-finder.rb
212
214
  - test/util/test-output.rb
213
215
  - test/fixtures/plus.csv
216
+ - test/test-fault-location-detector.rb
214
217
  - test/test-code-snippet.rb
215
218
  - test/test_error.rb
216
219
  - test/test-diff.rb