Skip to content

Commit 668eec7

Browse files
committed
test: update gold files
1 parent bd929f9 commit 668eec7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1890
-2063
lines changed

tests/gold/html/a/a_py.html

Lines changed: 42 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,61 +6,56 @@
66
<title>Coverage for a.py: 67%</title>
77
<link rel="icon" sizes="32x32" href="favicon_32.png">
88
<link rel="stylesheet" href="style.css" type="text/css">
9-
<script type="text/javascript" src="jquery.min.js"></script>
10-
<script type="text/javascript" src="jquery.hotkeys.js"></script>
11-
<script type="text/javascript" src="jquery.isonscreen.js"></script>
12-
<script type="text/javascript" src="coverage_html.js"></script>
13-
<script type="text/javascript">
14-
jQuery(document).ready(coverage.pyfile_ready);
15-
</script>
9+
<script type="text/javascript" src="coverage_html.js" defer></script>
1610
</head>
1711
<body class="pyfile">
18-
<aside id="sticky_header">
19-
<div class="content stats">
20-
<p><b>a.py</b> : 67%&nbsp;&nbsp;
21-
<button type="button" class="run button_toggle_run" title="Toggle lines run">2</button>
22-
<button type="button" class="mis show_mis button_toggle_mis" title="Toggle lines missing">1</button>
23-
<button type="button" class="exc show_exc button_toggle_exc" title="Toggle lines excluded">0</button>
24-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
25-
</p>
26-
</div>
27-
</aside>
2812
<header>
2913
<div class="content">
30-
<h1>Coverage for <b>a.py</b> :
14+
<h1>
15+
<span class="text">Coverage for </span><b>a.py</b>:
3116
<span class="pc_cov">67%</span>
3217
</h1>
33-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
34-
<h2 class="stats">
35-
3 statements &nbsp;
36-
<button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">2 run</button>
37-
<button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">1 missing</button>
38-
<button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button>
18+
<div id="help_panel_wrapper">
19+
<input id="help_panel_state" type="checkbox">
20+
<label for="help_panel_state">
21+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" />
22+
</label>
23+
<div id="help_panel">
24+
<p class="legend">Shortcuts on this page</p>
25+
<div>
26+
<p class="keyhelp">
27+
<kbd>r</kbd>
28+
<kbd>m</kbd>
29+
<kbd>x</kbd>
30+
<kbd>p</kbd> &nbsp; toggle line displays
31+
</p>
32+
<p class="keyhelp">
33+
<kbd>j</kbd>
34+
<kbd>k</kbd> &nbsp; next/prev highlighted chunk
35+
</p>
36+
<p class="keyhelp">
37+
<kbd>0</kbd> &nbsp; (zero) top of page
38+
</p>
39+
<p class="keyhelp">
40+
<kbd>1</kbd> &nbsp; (one) first highlighted chunk
41+
</p>
42+
</div>
43+
</div>
44+
</div>
45+
<h2>
46+
<span class="text">3 statements &nbsp;</span>
47+
<button type="button" class="run button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">2<span class="text"> run</span></button>
48+
<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>
49+
<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>
3950
</h2>
51+
<div style="display: none;">
52+
<button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button>
53+
<button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button>
54+
<button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button>
55+
<button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button>
56+
</div>
4057
</div>
4158
</header>
42-
<aside class="help_panel">
43-
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
44-
<p class="legend">Hot-keys on this page</p>
45-
<div>
46-
<p class="keyhelp">
47-
<span class="key">r</span>
48-
<span class="key">m</span>
49-
<span class="key">x</span>
50-
<span class="key">p</span> &nbsp; toggle line displays
51-
</p>
52-
<p class="keyhelp">
53-
<span class="key">j</span>
54-
<span class="key">k</span> &nbsp; next/prev highlighted chunk
55-
</p>
56-
<p class="keyhelp">
57-
<span class="key">0</span> &nbsp; (zero) top of page
58-
</p>
59-
<p class="keyhelp">
60-
<span class="key">1</span> &nbsp; (one) first highlighted chunk
61-
</p>
62-
</div>
63-
</aside>
6459
<main id="source">
6560
<p id="t1" class="run"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="key">if</span> <span class="num">1</span> <span class="op">&lt;</span> <span class="num">2</span><span class="op">:</span>&nbsp;</span><span class="r"></span></p>
6661
<p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"> <span class="com"># Needed a &lt; to look at HTML entities.</span>&nbsp;</span><span class="r"></span></p>
@@ -72,7 +67,7 @@ <h2 class="stats">
7267
<div class="content">
7368
<p>
7469
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io/en/6.1a0">coverage.py v6.1a0</a>,
75-
created at 2021-10-17 10:52 -0400
70+
created at 2021-10-23 08:16 -0400
7671
</p>
7772
</div>
7873
</footer>

tests/gold/html/a/index.html

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,69 +5,66 @@
55
<title>Coverage report</title>
66
<link rel="icon" sizes="32x32" href="favicon_32.png">
77
<link rel="stylesheet" href="style.css" type="text/css">
8-
<script type="text/javascript" src="jquery.min.js"></script>
9-
<script type="text/javascript" src="jquery.ba-throttle-debounce.min.js"></script>
10-
<script type="text/javascript" src="jquery.tablesorter.min.js"></script>
11-
<script type="text/javascript" src="jquery.hotkeys.js"></script>
12-
<script type="text/javascript" src="coverage_html.js"></script>
13-
<script type="text/javascript">
14-
jQuery(document).ready(coverage.index_ready);
15-
</script>
8+
<script type="text/javascript" src="coverage_html.js" defer></script>
169
</head>
1710
<body class="indexfile">
1811
<header>
1912
<div class="content">
2013
<h1>Coverage report:
2114
<span class="pc_cov">67%</span>
2215
</h1>
23-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
16+
<div id="help_panel_wrapper">
17+
<input id="help_panel_state" type="checkbox">
18+
<label for="help_panel_state">
19+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" />
20+
</label>
21+
<div id="help_panel">
22+
<p class="legend">Shortcuts on this page</p>
23+
<div>
24+
<p class="keyhelp">
25+
<kbd>n</kbd>
26+
<kbd>s</kbd>
27+
<kbd>m</kbd>
28+
<kbd>x</kbd>
29+
<kbd>c</kbd> &nbsp; change column sorting
30+
</p>
31+
</div>
32+
</div>
33+
</div>
2434
<form id="filter_container">
2535
<input id="filter" type="text" value="" placeholder="filter..." />
2636
</form>
2737
</div>
2838
</header>
29-
<aside class="help_panel">
30-
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
31-
<p class="legend">Hot-keys on this page</p>
32-
<div>
33-
<p class="keyhelp">
34-
<span class="key">n</span>
35-
<span class="key">s</span>
36-
<span class="key">m</span>
37-
<span class="key">x</span>
38-
<span class="key">c</span> &nbsp; change column sorting
39-
</p>
40-
</div>
41-
</aside>
4239
<main id="index">
43-
<table class="index">
40+
<table class="index" data-sortable>
4441
<thead>
4542
<tr class="tablehead" title="Click to sort">
46-
<th class="name left headerSortDown shortkey_n">Module</th>
47-
<th class="shortkey_s">statements</th>
48-
<th class="shortkey_m">missing</th>
49-
<th class="shortkey_x">excluded</th>
50-
<th class="right shortkey_c">coverage</th>
43+
<th class="name left" aria-sort="none" data-shortcut="n">Module</th>
44+
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="s">statements</th>
45+
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="m">missing</th>
46+
<th aria-sort="none" data-default-sort-order="descending" data-shortcut="x">excluded</th>
47+
<th class="right" aria-sort="none" data-shortcut="c">coverage</th>
5148
</tr>
5249
</thead>
53-
<tfoot>
54-
<tr class="total">
55-
<td class="name left">Total</td>
50+
<tbody>
51+
<tr class="file">
52+
<td class="name left"><a href="a_py.html">a.py</a></td>
5653
<td>3</td>
5754
<td>1</td>
5855
<td>0</td>
5956
<td class="right" data-ratio="2 3">67%</td>
6057
</tr>
61-
</tfoot>
62-
<tbody>
63-
<tr class="file">
64-
<td class="name left"><a href="a_py.html">a.py</a></td>
58+
</tbody>
59+
<tfoot>
60+
<tr class="total">
61+
<td class="name left">Total</td>
6562
<td>3</td>
6663
<td>1</td>
6764
<td>0</td>
6865
<td class="right" data-ratio="2 3">67%</td>
6966
</tr>
70-
</tbody>
67+
</tfoot>
7168
</table>
7269
<p id="no_rows">
7370
No items found using the specified filter.
@@ -77,7 +74,7 @@ <h1>Coverage report:
7774
<div class="content">
7875
<p>
7976
<a class="nav" href="https://coverage.readthedocs.io/en/6.1a0">coverage.py v6.1a0</a>,
80-
created at 2021-10-17 10:52 -0400
77+
created at 2021-10-23 08:16 -0400
8178
</p>
8279
</div>
8380
</footer>

tests/gold/html/b_branch/b_py.html

Lines changed: 43 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6,63 +6,57 @@
66
<title>Coverage for b.py: 70%</title>
77
<link rel="icon" sizes="32x32" href="favicon_32.png">
88
<link rel="stylesheet" href="style.css" type="text/css">
9-
<script type="text/javascript" src="jquery.min.js"></script>
10-
<script type="text/javascript" src="jquery.hotkeys.js"></script>
11-
<script type="text/javascript" src="jquery.isonscreen.js"></script>
12-
<script type="text/javascript" src="coverage_html.js"></script>
13-
<script type="text/javascript">
14-
jQuery(document).ready(coverage.pyfile_ready);
15-
</script>
9+
<script type="text/javascript" src="coverage_html.js" defer></script>
1610
</head>
1711
<body class="pyfile">
18-
<aside id="sticky_header">
19-
<div class="content stats">
20-
<p><b>b.py</b> : 70%&nbsp;&nbsp;
21-
<button type="button" class="run button_toggle_run" title="Toggle lines run">14</button>
22-
<button type="button" class="mis show_mis button_toggle_mis" title="Toggle lines missing">3</button>
23-
<button type="button" class="exc show_exc button_toggle_exc" title="Toggle lines excluded">0</button>
24-
<button type="button" class="par run show_par button_toggle_par" title="Toggle lines partially run">4</button>
25-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
26-
</p>
27-
</div>
28-
</aside>
2912
<header>
3013
<div class="content">
31-
<h1>Coverage for <b>b.py</b> :
14+
<h1>
15+
<span class="text">Coverage for </span><b>b.py</b>:
3216
<span class="pc_cov">70%</span>
3317
</h1>
34-
<img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
35-
<h2 class="stats">
36-
17 statements &nbsp;
37-
<button type="button" class="run shortkey_r button_toggle_run" title="Toggle lines run">14 run</button>
38-
<button type="button" class="mis show_mis shortkey_m button_toggle_mis" title="Toggle lines missing">3 missing</button>
39-
<button type="button" class="exc show_exc shortkey_x button_toggle_exc" title="Toggle lines excluded">0 excluded</button>
40-
<button type="button" class="par run show_par shortkey_p button_toggle_par" title="Toggle lines partially run">4 partial</button>
18+
<div id="help_panel_wrapper">
19+
<input id="help_panel_state" type="checkbox">
20+
<label for="help_panel_state">
21+
<img id="keyboard_icon" src="keybd_closed.png" alt="Show/hide keyboard shortcuts" />
22+
</label>
23+
<div id="help_panel">
24+
<p class="legend">Shortcuts on this page</p>
25+
<div>
26+
<p class="keyhelp">
27+
<kbd>r</kbd>
28+
<kbd>m</kbd>
29+
<kbd>x</kbd>
30+
<kbd>p</kbd> &nbsp; toggle line displays
31+
</p>
32+
<p class="keyhelp">
33+
<kbd>j</kbd>
34+
<kbd>k</kbd> &nbsp; next/prev highlighted chunk
35+
</p>
36+
<p class="keyhelp">
37+
<kbd>0</kbd> &nbsp; (zero) top of page
38+
</p>
39+
<p class="keyhelp">
40+
<kbd>1</kbd> &nbsp; (one) first highlighted chunk
41+
</p>
42+
</div>
43+
</div>
44+
</div>
45+
<h2>
46+
<span class="text">17 statements &nbsp;</span>
47+
<button type="button" class="run button_toggle_run" value="run" data-shortcut="r" title="Toggle lines run">14<span class="text"> run</span></button>
48+
<button type="button" class="mis show_mis button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">3<span class="text"> missing</span></button>
49+
<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>
50+
<button type="button" class="par run show_par button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">4<span class="text"> partial</span></button>
4151
</h2>
52+
<div style="display: none;">
53+
<button type="button" class="button_next_chunk" data-shortcut="j">Next highlighted chunk</button>
54+
<button type="button" class="button_prev_chunk" data-shortcut="k">Previous highlighted chunk</button>
55+
<button type="button" class="button_top_of_page" data-shortcut="0">Goto top of page</button>
56+
<button type="button" class="button_first_chunk" data-shortcut="1">Goto first highlighted chunk</button>
57+
</div>
4258
</div>
4359
</header>
44-
<aside class="help_panel">
45-
<img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
46-
<p class="legend">Hot-keys on this page</p>
47-
<div>
48-
<p class="keyhelp">
49-
<span class="key">r</span>
50-
<span class="key">m</span>
51-
<span class="key">x</span>
52-
<span class="key">p</span> &nbsp; toggle line displays
53-
</p>
54-
<p class="keyhelp">
55-
<span class="key">j</span>
56-
<span class="key">k</span> &nbsp; next/prev highlighted chunk
57-
</p>
58-
<p class="keyhelp">
59-
<span class="key">0</span> &nbsp; (zero) top of page
60-
</p>
61-
<p class="keyhelp">
62-
<span class="key">1</span> &nbsp; (one) first highlighted chunk
63-
</p>
64-
</div>
65-
</aside>
6660
<main id="source">
6761
<p id="t1" class="run"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="key">def</span> <span class="nam">one</span><span class="op">(</span><span class="nam">x</span><span class="op">)</span><span class="op">:</span>&nbsp;</span><span class="r"></span></p>
6862
<p id="t2" class="pln"><span class="n"><a href="#t2">2</a></span><span class="t"> <span class="com"># This will be a branch that misses the else.</span>&nbsp;</span><span class="r"></span></p>
@@ -96,7 +90,7 @@ <h2 class="stats">
9690
<div class="content">
9791
<p>
9892
<a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io/en/6.1a0">coverage.py v6.1a0</a>,
99-
created at 2021-10-17 10:52 -0400
93+
created at 2021-10-23 08:16 -0400
10094
</p>
10195
</div>
10296
</footer>

0 commit comments

Comments
 (0)