@@ -10,6 +10,15 begin | |||||
10 | FELIX_HEX = "Felix Sch\xC3\xA4fer" |
|
10 | FELIX_HEX = "Felix Sch\xC3\xA4fer" | |
11 | CHAR_1_HEX = "\xc3\x9c" |
|
11 | CHAR_1_HEX = "\xc3\x9c" | |
12 |
|
12 | |||
|
13 | ## Git, Mercurial and CVS path encodings are binary. | |||
|
14 | ## Subversion supports URL encoding for path. | |||
|
15 | ## Redmine Mercurial adapter and extension use URL encoding. | |||
|
16 | ## Git accepts only binary path in command line parameter. | |||
|
17 | ## So, there is no way to use binary command line parameter in JRuby. | |||
|
18 | JRUBY_SKIP = (RUBY_PLATFORM == 'java') | |||
|
19 | JRUBY_SKIP_STR = "TODO: This test fails in JRuby" | |||
|
20 | ||||
|
21 | if File.directory?(REPOSITORY_PATH) | |||
13 | ## Ruby uses ANSI api to fork a process on Windows. |
|
22 | ## Ruby uses ANSI api to fork a process on Windows. | |
14 | ## Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem |
|
23 | ## Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem | |
15 | ## and these are incompatible with ASCII. |
|
24 | ## and these are incompatible with ASCII. | |
@@ -20,15 +29,6 begin | |||||
20 |
|
|
29 | Redmine::Scm::Adapters::GitAdapter.client_version_above?([1, 7, 10])) | |
21 | WINDOWS_SKIP_STR = "TODO: This test fails in Git for Windows above 1.7.10" |
|
30 | WINDOWS_SKIP_STR = "TODO: This test fails in Git for Windows above 1.7.10" | |
22 |
|
31 | |||
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 |
|
||||
31 | if File.directory?(REPOSITORY_PATH) |
|
|||
32 | def setup |
|
32 | def setup | |
33 | adapter_class = Redmine::Scm::Adapters::GitAdapter |
|
33 | adapter_class = Redmine::Scm::Adapters::GitAdapter | |
34 | assert adapter_class |
|
34 | assert adapter_class |
General Comments 0
You need to be logged in to leave comments.
Login now