forked from thoughtworks/cruisecontrol.rb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
e7fa1ec
commit 0a4694b
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
require File.dirname(__FILE__) + '/../../test_helper' | ||
require 'stringio' | ||
|
||
class SourceControl::AbstractAdapterTest < Test::Unit::TestCase | ||
|
||
include FileSandbox | ||
|
||
def test_execute_with_error_log__handles_exceptions | ||
@adapter = SourceControl::AbstractAdapter.new | ||
in_total_sandbox do | ||
assert_raise(BuilderError) do | ||
@adapter.execute_with_error_log("xaswedf", @stderr) | ||
end | ||
end | ||
end | ||
end |