@@ -22,7 +22,7 @@ def test_single_mode
2222 PmdReportBuilder . any_instance . stubs ( :build )
2323 . returns ( PmdBranchDetail . new ( 'test_branch' ) ) . once
2424 FileUtils . expects ( :cp ) . with ( project_list_path , target_project_list_path ) . once
25- Runner . any_instance . stubs ( :build_report_diff ) . twice
25+ Project . any_instance . stubs ( :build_report_diff ) . twice
2626 SummaryReportBuilder . any_instance . stubs ( :write_all_projects ) . once
2727
2828 argv = %w[ -r target/repositories/pmd -p pmd_releases/6.1.0
@@ -40,7 +40,7 @@ def test_single_mode_multithreading
4040 . once
4141 report_builder_mock . stubs ( :build ) . returns ( PmdBranchDetail . new ( 'test_branch' ) ) . once
4242 FileUtils . expects ( :cp ) . with ( anything , anything ) . once
43- Runner . any_instance . stubs ( :build_report_diff ) . twice
43+ Project . any_instance . stubs ( :build_report_diff ) . twice
4444 SummaryReportBuilder . any_instance . stubs ( :write_all_projects ) . once
4545
4646 argv = %w[ -r target/repositories/pmd -p pmd_releases/6.1.0
@@ -50,7 +50,7 @@ def test_single_mode_multithreading
5050
5151 def test_local_mode
5252 PmdReportBuilder . any_instance . stubs ( :build ) . returns ( PmdBranchDetail . new ( 'some_branch' ) ) . twice
53- Runner . any_instance . stubs ( :build_report_diff ) . twice
53+ Project . any_instance . stubs ( :build_report_diff ) . twice
5454 SummaryReportBuilder . any_instance . stubs ( :write_all_projects ) . once
5555
5656 argv = %w[ -r target/repositories/pmd -b master -bc config/design.xml -p pmd_releases/6.1.0
@@ -67,7 +67,7 @@ def test_local_mode_multithreading
6767 . returns ( report_builder_mock )
6868 . twice
6969 report_builder_mock . stubs ( :build ) . returns ( PmdBranchDetail . new ( 'some_branch' ) ) . twice
70- Runner . any_instance . stubs ( :build_report_diff ) . twice
70+ Project . any_instance . stubs ( :build_report_diff ) . twice
7171 SummaryReportBuilder . any_instance . stubs ( :write_all_projects ) . once
7272
7373 argv = %w[ -r target/repositories/pmd -b master -bc config/design.xml -p pmd_releases/6.1.0
0 commit comments