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

Open
PhilippSalvisberg opened this issue Jun 16, 2020 · 1 comment
Open

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

PhilippSalvisberg opened this issue Jun 16, 2020 · 1 comment
Labels
Milestone

Comments

@PhilippSalvisberg
Copy link
Member

@PhilippSalvisberg PhilippSalvisberg commented Jun 16, 2020

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 PhilippSalvisberg added this to the v1.3.0 milestone Jun 16, 2020
@PhilippSalvisberg
Copy link
Member Author

@PhilippSalvisberg PhilippSalvisberg commented Jun 16, 2020

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.

@PhilippSalvisberg PhilippSalvisberg pinned this issue Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.