Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local assets for code coverage report for offline usage #110

Closed
PhilippSalvisberg opened this issue Jun 16, 2020 · 1 comment · Fixed by #120
Closed

Use local assets for code coverage report for offline usage #110

PhilippSalvisberg opened this issue Jun 16, 2020 · 1 comment · Fixed by #120
Assignees
Milestone

Comments

@PhilippSalvisberg
Copy link
Member

The ut_coverage_html_reporter has an optional parameter a_html_report_assets_path to pass the URL prefix for the following assets required by the code coverage report:

  • application.js
  • application.css
  • favicon_green.png
  • favicon_yellow.png
  • favicon_red.png
  • loading.gif
  • magnify.png
  • colorbox/border.png
  • colorbox/controls.png
  • colorbox/loading.gif
  • colorbox/loading_background.png
  • images/ui-bg_flat_0_aaaaaa_40x100.png
  • images/ui-bg_flat_75_ffffff_40x100.png
  • images/ui-bg_glass_55_fbf9ee_1x400.png
  • images/ui-bg_glass_65_ffffff_1x400.png
  • images/ui-bg_glass_75_dadada_1x400.png
  • images/ui-bg_glass_75_e6e6e6_1x400.png
  • images/ui-bg_glass_95_fef1ec_1x400.png
  • images/ui-bg_highlight-soft_75_cccccc_1x100.png
  • images/ui-icons_222222_256x240.png
  • images/ui-icons_2e83ff_256x240.png
  • images/ui-icons_454545_256x240.png
  • images/ui-icons_888888_256x240.png
  • images/ui-icons_cd0a0a_256x240.png

The default value for the report asset path is https://utplsql.github.io/utPLSQL-coverage-html/assets. This means that the code coverage report works only, if the default browser has access to the internet.

Instead of downloading the assets from the internet, they should be included in the SQL Developer extension. The resources (assets) are stored in this repo. These assets can be copied into the same temporary directory as the HTML file.

@PhilippSalvisberg
Copy link
Member Author

The parameter a_html_report_assets_path has been added on March, 6 2017. So the first version with this parameter was v3.0.0-beta. Hence, no version specific handling is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant