diff options
Diffstat (limited to 'tests/gold/html/other')
-rw-r--r-- | tests/gold/html/other/blah_blah_other_py.html | 91 | ||||
-rw-r--r-- | tests/gold/html/other/here_py.html | 89 | ||||
-rw-r--r-- | tests/gold/html/other/index.html | 75 |
3 files changed, 121 insertions, 134 deletions
diff --git a/tests/gold/html/other/blah_blah_other_py.html b/tests/gold/html/other/blah_blah_other_py.html index d5d3ce9a..34eb28c6 100644 --- a/tests/gold/html/other/blah_blah_other_py.html +++ b/tests/gold/html/other/blah_blah_other_py.html @@ -3,64 +3,59 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" /> - <title>Coverage for /private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-831/t9/othersrc/other.py: 100%</title> + <title>Coverage for /private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-964/popen-gw6/t104/othersrc/other.py: 100%</title> <link rel="icon" sizes="32x32" href="favicon_32.png"> <link rel="stylesheet" href="style.css" type="text/css"> - <script type="text/javascript" src="jquery.min.js"></script> - <script type="text/javascript" src="jquery.hotkeys.js"></script> - <script type="text/javascript" src="jquery.isonscreen.js"></script> - <script type="text/javascript" src="coverage_html.js"></script> - <script type="text/javascript"> - jQuery(document).ready(coverage.pyfile_ready); - </script> + <script type="text/javascript" src="coverage_html.js" defer></script> </head> <body class="pyfile"> -<aside id="sticky_header"> - <div class="content stats"> - <p><b>/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-831/t9/othersrc/other.py</b> : 100% - <button type="button" class="run button_toggle_run" title="Toggle lines run">1</button> - <button type="button" class="mis show_mis button_toggle_mis" title="Toggle lines missing">0</button> - <button type="button" class="exc show_exc button_toggle_exc" title="Toggle lines excluded">0</button> - <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> - </p> - </div> -</aside> <header> <div class="content"> - <h1>Coverage for <b>/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-831/t9/othersrc/other.py</b> : + <h1> + <span class="text">Coverage for </span><b>/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-964/popen-gw6/t104/othersrc/other.py</b>: <span class="pc_cov">100%</span> </h1> - <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> - <h2 class="stats"> - 1 statements - <button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">1 run</button> - <button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">0 missing</button> - <button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button> + <div id="help_panel_wrapper"> + <input id="help_panel_state" type="checkbox"> + <label for="help_panel_state"> + <img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" /> + </label> + <div id="help_panel"> + <p class="legend">Shortcuts on this page</p> + <div> + <p class="keyhelp"> + <kbd>r</kbd> + <kbd>m</kbd> + <kbd>x</kbd> + <kbd>p</kbd> toggle line displays + </p> + <p class="keyhelp"> + <kbd>j</kbd> + <kbd>k</kbd> next/prev highlighted chunk + </p> + <p class="keyhelp"> + <kbd>0</kbd> (zero) top of page + </p> + <p class="keyhelp"> + <kbd>1</kbd> (one) first highlighted chunk + </p> + </div> + </div> + </div> + <h2> + <span class="text">1 statements </span> + <button type="button" class="run button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">1<span class="text"> run</span></button> + <button type="button" class="mis show_mis button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">0<span class="text"> missing</span></button> + <button type="button" class="exc show_exc button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">0<span class="text"> excluded</span></button> </h2> + <div style="display: none;"> + <button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button> + <button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button> + <button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button> + <button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button> + </div> </div> </header> -<aside class="help_panel"> - <img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" /> - <p class="legend">Hot-keys on this page</p> - <div> - <p class="keyhelp"> - <span class="key">r</span> - <span class="key">m</span> - <span class="key">x</span> - <span class="key">p</span> toggle line displays - </p> - <p class="keyhelp"> - <span class="key">j</span> - <span class="key">k</span> next/prev highlighted chunk - </p> - <p class="keyhelp"> - <span class="key">0</span> (zero) top of page - </p> - <p class="keyhelp"> - <span class="key">1</span> (one) first highlighted chunk - </p> - </div> -</aside> <main id="source"> <p id="t1" class="pln"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="com"># A file in another directory. We're checking that it ends up in the</span> </span><span class="r"></span></p> <p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"><span class="com"># HTML report.</span> </span><span class="r"></span></p> @@ -71,7 +66,7 @@ <div class="content"> <p> <a class="nav" href="index.html">« index</a> <a class="nav" href="https://coverage.readthedocs.io/en/6.1a0">coverage.py v6.1a0</a>, - created at 2021-10-17 10:52 -0400 + created at 2021-10-23 08:16 -0400 </p> </div> </footer> diff --git a/tests/gold/html/other/here_py.html b/tests/gold/html/other/here_py.html index 44a4ec23..62e42ff3 100644 --- a/tests/gold/html/other/here_py.html +++ b/tests/gold/html/other/here_py.html @@ -6,61 +6,56 @@ <title>Coverage for here.py: 75%</title> <link rel="icon" sizes="32x32" href="favicon_32.png"> <link rel="stylesheet" href="style.css" type="text/css"> - <script type="text/javascript" src="jquery.min.js"></script> - <script type="text/javascript" src="jquery.hotkeys.js"></script> - <script type="text/javascript" src="jquery.isonscreen.js"></script> - <script type="text/javascript" src="coverage_html.js"></script> - <script type="text/javascript"> - jQuery(document).ready(coverage.pyfile_ready); - </script> + <script type="text/javascript" src="coverage_html.js" defer></script> </head> <body class="pyfile"> -<aside id="sticky_header"> - <div class="content stats"> - <p><b>here.py</b> : 75% - <button type="button" class="run button_toggle_run" title="Toggle lines run">3</button> - <button type="button" class="mis show_mis button_toggle_mis" title="Toggle lines missing">1</button> - <button type="button" class="exc show_exc button_toggle_exc" title="Toggle lines excluded">0</button> - <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> - </p> - </div> -</aside> <header> <div class="content"> - <h1>Coverage for <b>here.py</b> : + <h1> + <span class="text">Coverage for </span><b>here.py</b>: <span class="pc_cov">75%</span> </h1> - <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> - <h2 class="stats"> - 4 statements - <button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">3 run</button> - <button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">1 missing</button> - <button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button> + <div id="help_panel_wrapper"> + <input id="help_panel_state" type="checkbox"> + <label for="help_panel_state"> + <img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" /> + </label> + <div id="help_panel"> + <p class="legend">Shortcuts on this page</p> + <div> + <p class="keyhelp"> + <kbd>r</kbd> + <kbd>m</kbd> + <kbd>x</kbd> + <kbd>p</kbd> toggle line displays + </p> + <p class="keyhelp"> + <kbd>j</kbd> + <kbd>k</kbd> next/prev highlighted chunk + </p> + <p class="keyhelp"> + <kbd>0</kbd> (zero) top of page + </p> + <p class="keyhelp"> + <kbd>1</kbd> (one) first highlighted chunk + </p> + </div> + </div> + </div> + <h2> + <span class="text">4 statements </span> + <button type="button" class="run button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">3<span class="text"> run</span></button> + <button type="button" class="mis show_mis button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">1<span class="text"> missing</span></button> + <button type="button" class="exc show_exc button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">0<span class="text"> excluded</span></button> </h2> + <div style="display: none;"> + <button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button> + <button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button> + <button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button> + <button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button> + </div> </div> </header> -<aside class="help_panel"> - <img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" /> - <p class="legend">Hot-keys on this page</p> - <div> - <p class="keyhelp"> - <span class="key">r</span> - <span class="key">m</span> - <span class="key">x</span> - <span class="key">p</span> toggle line displays - </p> - <p class="keyhelp"> - <span class="key">j</span> - <span class="key">k</span> next/prev highlighted chunk - </p> - <p class="keyhelp"> - <span class="key">0</span> (zero) top of page - </p> - <p class="keyhelp"> - <span class="key">1</span> (one) first highlighted chunk - </p> - </div> -</aside> <main id="source"> <p id="t1" class="run"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="key">import</span> <span class="nam">other</span> </span><span class="r"></span></p> <p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"> </span><span class="r"></span></p> @@ -73,7 +68,7 @@ <div class="content"> <p> <a class="nav" href="index.html">« index</a> <a class="nav" href="https://coverage.readthedocs.io/en/6.1a0">coverage.py v6.1a0</a>, - created at 2021-10-17 10:52 -0400 + created at 2021-10-23 08:16 -0400 </p> </div> </footer> diff --git a/tests/gold/html/other/index.html b/tests/gold/html/other/index.html index 0296def0..11a54697 100644 --- a/tests/gold/html/other/index.html +++ b/tests/gold/html/other/index.html @@ -5,14 +5,7 @@ <title>Coverage report</title> <link rel="icon" sizes="32x32" href="favicon_32.png"> <link rel="stylesheet" href="style.css" type="text/css"> - <script type="text/javascript" src="jquery.min.js"></script> - <script type="text/javascript" src="jquery.ba-throttle-debounce.min.js"></script> - <script type="text/javascript" src="jquery.tablesorter.min.js"></script> - <script type="text/javascript" src="jquery.hotkeys.js"></script> - <script type="text/javascript" src="coverage_html.js"></script> - <script type="text/javascript"> - jQuery(document).ready(coverage.index_ready); - </script> + <script type="text/javascript" src="coverage_html.js" defer></script> </head> <body class="indexfile"> <header> @@ -20,48 +13,43 @@ <h1>Coverage report: <span class="pc_cov">80%</span> </h1> - <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" /> + <div id="help_panel_wrapper"> + <input id="help_panel_state" type="checkbox"> + <label for="help_panel_state"> + <img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" /> + </label> + <div id="help_panel"> + <p class="legend">Shortcuts on this page</p> + <div> + <p class="keyhelp"> + <kbd>n</kbd> + <kbd>s</kbd> + <kbd>m</kbd> + <kbd>x</kbd> + <kbd>c</kbd> change column sorting + </p> + </div> + </div> + </div> <form id="filter_container"> <input id="filter" type="text" value="" placeholder="filter..." /> </form> </div> </header> -<aside class="help_panel"> - <img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" /> - <p class="legend">Hot-keys on this page</p> - <div> - <p class="keyhelp"> - <span class="key">n</span> - <span class="key">s</span> - <span class="key">m</span> - <span class="key">x</span> - <span class="key">c</span> change column sorting - </p> - </div> -</aside> <main id="index"> - <table class="index"> + <table class="index" data-sortable> <thead> <tr class="tablehead" title="Click to sort"> - <th class="name left headerSortDown shortkey_n">Module</th> - <th class="shortkey_s">statements</th> - <th class="shortkey_m">missing</th> - <th class="shortkey_x">excluded</th> - <th class="right shortkey_c">coverage</th> + <th class="name left" aria-sort="none" data-shortcut="n">Module</th> + <th aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements</th> + <th aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing</th> + <th aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded</th> + <th class="right" aria-sort="none" data-shortcut="c">coverage</th> </tr> </thead> - <tfoot> - <tr class="total"> - <td class="name left">Total</td> - <td>5</td> - <td>1</td> - <td>0</td> - <td class="right" data-ratio="4 5">80%</td> - </tr> - </tfoot> <tbody> <tr class="file"> - <td class="name left"><a href="d_4d5524d6144e65e0_other_py.html">/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-831/t9/othersrc/other.py</a></td> + <td class="name left"><a href="d_782ca3c126f2375a_other_py.html">/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-964/popen-gw6/t104/othersrc/other.py</a></td> <td>1</td> <td>0</td> <td>0</td> @@ -75,6 +63,15 @@ <td class="right" data-ratio="3 4">75%</td> </tr> </tbody> + <tfoot> + <tr class="total"> + <td class="name left">Total</td> + <td>5</td> + <td>1</td> + <td>0</td> + <td class="right" data-ratio="4 5">80%</td> + </tr> + </tfoot> </table> <p id="no_rows"> No items found using the specified filter. @@ -84,7 +81,7 @@ <div class="content"> <p> <a class="nav" href="https://coverage.readthedocs.io/en/6.1a0">coverage.py v6.1a0</a>, - created at 2021-10-17 10:52 -0400 + created at 2021-10-23 08:16 -0400 </p> </div> </footer> |