@@ -171,7 +171,7 begin | |||
|
171 | 171 | assert_equal Time.gm(2009, 6, 19, 4, 37, 23), readme.lastrev.time |
|
172 | 172 | end |
|
173 | 173 | |
|
174 |
def test_entries_latin_1_ |
|
|
174 | def test_entries_latin_1_files | |
|
175 | 175 | entries1 = @adapter.entries('latin-1-dir', '64f1f3e8') |
|
176 | 176 | assert entries1 |
|
177 | 177 | assert_equal 3, entries1.size |
@@ -181,6 +181,20 begin | |||
|
181 | 181 | assert_equal 'file', f1.kind |
|
182 | 182 | end |
|
183 | 183 | |
|
184 | def test_entries_latin_1_dir | |
|
185 | if Redmine::Platform.mswin? | |
|
186 | # TODO | |
|
187 | else | |
|
188 | entries1 = @adapter.entries("latin-1-dir/test-#{@char_1}-subdir", '1ca7f5ed') | |
|
189 | assert entries1 | |
|
190 | assert_equal 3, entries1.size | |
|
191 | f1 = entries1[1] | |
|
192 | assert_equal "test-#{@char_1}-2.txt", f1.name | |
|
193 | assert_equal "latin-1-dir/test-#{@char_1}-subdir/test-#{@char_1}-2.txt", f1.path | |
|
194 | assert_equal 'file', f1.kind | |
|
195 | end | |
|
196 | end | |
|
197 | ||
|
184 | 198 | private |
|
185 | 199 | |
|
186 | 200 | def test_scm_version_for(scm_command_version, version) |
General Comments 0
You need to be logged in to leave comments.
Login now