diff --git a/spec/gcov/gcov_test_cases_spec.rb b/spec/gcov/gcov_test_cases_spec.rb index e0618718..e9e9fce6 100644 --- a/spec/gcov/gcov_test_cases_spec.rb +++ b/spec/gcov/gcov_test_cases_spec.rb @@ -194,8 +194,9 @@ def can_create_html_report output = `bundle exec ruby -S ceedling gcov:all` expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./) + expect(output).to match(/Generating HtmlBasic coverage report in 'build\/artifacts\/gcov\/ReportGenerator'\.\.\./) expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true - expect(File.exist?('build/artifacts/gcov/reportgenerator/summary.htm')).to eq true + expect(File.exist?('build/artifacts/gcov/ReportGenerator/summary.htm')).to eq true end end end @@ -223,10 +224,10 @@ def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_and expect(output).to match(/FAILED:\s+(?:1|2)/) expect(output).to match(/IGNORED:\s+0/) expect(output).to match(/example_file.c \| Lines executed:5?0.00% of 4/) - expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./) - expect(output).to match(/Done/) + expect(output).to match(/Generating HtmlBasic coverage report in 'build\/artifacts\/gcov\/ReportGenerator'\.\.\./) expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true + expect(File.exist?('build/artifacts/gcov/ReportGenerator/summary.htm')).to eq true end end end @@ -256,8 +257,9 @@ def can_create_gcov_html_report_from_crashing_test_runner_with_enabled_debug_and expect(output).to match(/example_file.c \| Lines executed:0.00% of 4/) expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./) - expect(output).to match(/Done/) + expect(output).to match(/Generating HtmlBasic coverage report in 'build\/artifacts\/gcov\/ReportGenerator'\.\.\./) expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true + expect(File.exist?('build/artifacts/gcov/ReportGenerator/summary.htm')).to eq true end end end @@ -291,8 +293,9 @@ def can_create_gcov_html_report_from_test_runner_with_enabled_debug_and_cmd_args expect(output).to match(/example_file.c \| Lines executed:100.00% of 4/) expect(output).to match(/Generating HTML coverage report in 'build\/artifacts\/gcov\/gcovr'\.\.\./) - expect(output).to match(/Done/) + expect(output).to match(/Generating HtmlBasic coverage report in 'build\/artifacts\/gcov\/ReportGenerator'\.\.\./) expect(File.exist?('build/artifacts/gcov/gcovr/GcovCoverageResults.html')).to eq true + expect(File.exist?('build/artifacts/gcov/ReportGenerator/summary.htm')).to eq true end end end