Replace puts and !!! messages with pending tests when the test SCMs are missing
This commit is contained in:
parent
7bce7f7b07
commit
3df729e47d
|
@ -131,7 +131,6 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase
|
||||||
:sibling => { :tag => 'td', :content => /Main purpose/ }
|
:sibling => { :tag => 'td', :content => /Main purpose/ }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Bazaar test repository NOT FOUND. Skipping functional tests !!!"
|
should "Bazaar test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -189,7 +189,6 @@ class RepositoriesCvsControllerTest < ActionController::TestCase
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "CVS test repository NOT FOUND. Skipping functional tests !!!"
|
should "CVS test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -98,7 +98,6 @@ class RepositoriesDarcsControllerTest < ActionController::TestCase
|
||||||
:content => /def remove/ }
|
:content => /def remove/ }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Darcs test repository NOT FOUND. Skipping functional tests !!!"
|
should "Darcs test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -102,7 +102,6 @@ class RepositoriesFilesystemControllerTest < ActionController::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Filesystem test repository NOT FOUND. Skipping functional tests !!!"
|
should "Filesystem test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -231,7 +231,6 @@ class RepositoriesGitControllerTest < ActionController::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Git test repository NOT FOUND. Skipping functional tests !!!"
|
should "Git test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -362,7 +362,6 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Mercurial test repository NOT FOUND. Skipping functional tests !!!"
|
should "Mercurial test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -285,7 +285,7 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
|
||||||
assert_tag :tag => 'h2', :content => /@ 8/
|
assert_tag :tag => 'h2', :content => /@ 8/
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Subversion test repository NOT FOUND. Skipping functional tests !!!"
|
should "Subversion test repository not found."
|
||||||
def test_fake; assert true end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -55,7 +55,7 @@ begin
|
||||||
assert_equal version, @adapter.class.scm_command_version
|
assert_equal version, @adapter.class.scm_command_version
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Bazaar test repository NOT FOUND. Skipping unit tests !!!"
|
should "Bazaar test repository NOT FOUND."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -68,7 +68,7 @@ begin
|
||||||
assert_equal version, @adapter.class.scm_command_version
|
assert_equal version, @adapter.class.scm_command_version
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Cvs test repository NOT FOUND. Skipping unit tests !!!"
|
should "CVS test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -54,7 +54,7 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
puts "Darcs test repository NOT FOUND. Skipping unit tests !!!"
|
should "Darcs test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -46,7 +46,7 @@ class FilesystemAdapterTest < ActiveSupport::TestCase
|
||||||
assert_equal "TEST CAT\n", @adapter.cat("/test", 1)
|
assert_equal "TEST CAT\n", @adapter.cat("/test", 1)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS."
|
should "Filesystem test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -239,7 +239,7 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
puts "Git test repository NOT FOUND. Skipping unit tests !!!"
|
should "Git test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -353,7 +353,7 @@ begin
|
||||||
assert File.exist?(@adapter.class.template_path_for(version))
|
assert File.exist?(@adapter.class.template_path_for(version))
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Mercurial test repository NOT FOUND. Skipping unit tests !!!"
|
should "Mercurial test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -47,7 +47,7 @@ begin
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
puts "Subversion test repository NOT FOUND. Skipping unit tests !!!"
|
should "Subversion test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -96,7 +96,7 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
|
||||||
assert_nil changeset.next
|
assert_nil changeset.next
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Bazaar test repository NOT FOUND. Skipping unit tests !!!"
|
should "Bazaar test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -98,7 +98,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
|
||||||
assert_equal entries[2].lastrev.author, 'LANG'
|
assert_equal entries[2].lastrev.author, 'LANG'
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "CVS test repository NOT FOUND. Skipping unit tests !!!"
|
should "CVS test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -65,7 +65,7 @@ class RepositoryDarcsTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Darcs test repository NOT FOUND. Skipping unit tests !!!"
|
should "Darcs test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -45,7 +45,7 @@ class RepositoryFilesystemTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
puts "Filesystem test repository NOT FOUND. Skipping unit tests !!! See doc/RUNNING_TESTS."
|
should "Filesystem test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -305,7 +305,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Git test repository NOT FOUND. Skipping unit tests !!!"
|
should "Git test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -273,7 +273,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Mercurial test repository NOT FOUND. Skipping unit tests !!!"
|
should "Mercurial test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -183,7 +183,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase
|
||||||
assert_nil changeset.next
|
assert_nil changeset.next
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
puts "Subversion test repository NOT FOUND. Skipping unit tests !!!"
|
should "Subversion test repository not found."
|
||||||
def test_fake; assert true end
|
def test_fake; assert true end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue