# Revision number is ignored
assert_equal "TEST CAT\n", @adapter.cat("/test", 1)
end
+
+ def test_path_encoding_default_utf8
+ adpt1 = Redmine::Scm::Adapters::FilesystemAdapter.new(
+ REPOSITORY_PATH
+ )
+ assert_equal "UTF-8", adpt1.path_encoding
+ adpt2 = Redmine::Scm::Adapters::FilesystemAdapter.new(
+ REPOSITORY_PATH,
+ nil,
+ nil,
+ nil,
+ ""
+ )
+ assert_equal "UTF-8", adpt2.path_encoding
+ end
else
puts "Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS."
def test_fake; assert true end