##// END OF EJS Templates
scm: git: skip non UTF-8 path encoding test of unit adapter test in JRuby (#5251)....
Toshi MARUYAMA -
r5884:048bc3b50ba6
parent child
Show More
@@ -20,6 +20,14 begin
20 20 # WINDOWS_PASS = Redmine::Platform.mswin?
21 21 WINDOWS_PASS = false
22 22
23 ## Git, Mercurial and CVS path encodings are binary.
24 ## Subversion supports URL encoding for path.
25 ## Redmine Mercurial adapter and extension use URL encoding.
26 ## Git accepts only binary path in command line parameter.
27 ## So, there is no way to use binary command line parameter in JRuby.
28 JRUBY_SKIP = (RUBY_PLATFORM == 'java')
29 JRUBY_SKIP_STR = "TODO: This test fails in JRuby"
30
23 31 if File.directory?(REPOSITORY_PATH)
24 32 def setup
25 33 adapter_class = Redmine::Scm::Adapters::GitAdapter
@@ -262,6 +270,8 begin
262 270 def test_latin_1_path
263 271 if WINDOWS_PASS
264 272 #
273 elsif JRUBY_SKIP
274 puts JRUBY_SKIP_STR
265 275 else
266 276 p2 = "latin-1-dir/test-#{@char_1}-2.txt"
267 277 ['4fc55c43bf3d3dc2efb66145365ddc17639ce81e', '4fc55c43bf3'].each do |r1|
@@ -322,6 +332,8 begin
322 332 def test_entries_latin_1_dir
323 333 if WINDOWS_PASS
324 334 #
335 elsif JRUBY_SKIP
336 puts JRUBY_SKIP_STR
325 337 else
326 338 entries1 = @adapter.entries("latin-1-dir/test-#{@char_1}-subdir",
327 339 '1ca7f5ed')
General Comments 0
You need to be logged in to leave comments. Login now