##// END OF EJS Templates
scm: filesystem: add test for UTF-16 file displaying (#6256)....
Toshi MARUYAMA -
r5086:fb0d24d37e71
parent child
Show More
@@ -76,6 +76,17 class RepositoriesFilesystemControllerTest < ActionController::TestCase
76 76 :sibling => { :tag => 'td', :content => /japanese/ }
77 77 end
78 78 end
79
80 def test_show_utf16
81 with_settings :repositories_encodings => 'UTF-16' do
82 get :entry, :id => PRJ_ID, :path => ['japanese', 'utf-16.txt']
83 assert_response :success
84 assert_tag :tag => 'th',
85 :content => '2',
86 :attributes => { :class => 'line-num' },
87 :sibling => { :tag => 'td', :content => /japanese/ }
88 end
89 end
79 90 else
80 91 puts "Filesystem test repository NOT FOUND. Skipping functional tests !!!"
81 92 def test_fake; assert true end
General Comments 0
You need to be logged in to leave comments. Login now