Feature #4455 » unit-test-by-nodeid.diff
| test/unit/repository_mercurial_test.rb 火 7月 27 17:05:14 2010 +0900 → test/unit/repository_mercurial_test.rb 火 7月 27 17:07:59 2010 +0900 | ||
|---|---|---|
|
assert_nil @repository.scm.cat("sources/welcome_controller.rb")
|
||
|
end
|
||
|
def test_entries_by_nodeid
|
||
|
assert_equal 2, @repository.entries("sources", '400bb8672109').size
|
||
|
assert_equal 1, @repository.entries("sources", 'b3a615152df8').size
|
||
|
end
|
||
|
def test_cat_by_nodeid
|
||
|
assert @repository.scm.cat("sources/welcome_controller.rb", '400bb8672109')
|
||
|
end
|
||
|
else
|
||
|
puts "Mercurial test repository NOT FOUND. Skipping unit tests !!!"
|
||
|
def test_fake; assert true end
|
||