diff options
Diffstat (limited to 'tests')
26 files changed, 355 insertions, 156 deletions
diff --git a/tests/gold/html/a/a_py.html b/tests/gold/html/a/a_py.html index 3e63a5a2..7f8c73cc 100644 --- a/tests/gold/html/a/a_py.html +++ b/tests/gold/html/a/a_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -81,13 +89,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:07 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/b_branch/b_py.html b/tests/gold/html/b_branch/b_py.html index d77f0e3b..8b3d7f4f 100644 --- a/tests/gold/html/b_branch/b_py.html +++ b/tests/gold/html/b_branch/b_py.html @@ -61,6 +61,14 @@ <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> <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> </h2> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -105,13 +113,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:07 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/bom/bom_py.html b/tests/gold/html/bom/bom_py.html index 3c90d930..eb58b071 100644 --- a/tests/gold/html/bom/bom_py.html +++ b/tests/gold/html/bom/bom_py.html @@ -59,6 +59,14 @@ <button type="button" class="mis show_mis button_toggle_mis" value="mis" data-shortcut="m" title="Toggle lines missing">2<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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -87,13 +95,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:07 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/isolatin1/isolatin1_py.html b/tests/gold/html/isolatin1/isolatin1_py.html index ec570087..fd6906a7 100644 --- a/tests/gold/html/isolatin1/isolatin1_py.html +++ b/tests/gold/html/isolatin1/isolatin1_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -81,13 +89,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_1/m1_py.html b/tests/gold/html/omit_1/m1_py.html index bc961b16..2ae60cd1 100644 --- a/tests/gold/html/omit_1/m1_py.html +++ b/tests/gold/html/omit_1/m1_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="m2_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="m2_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="m2_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_1/m2_py.html b/tests/gold/html/omit_1/m2_py.html index 4157a65f..d979b5f2 100644 --- a/tests/gold/html/omit_1/m2_py.html +++ b/tests/gold/html/omit_1/m2_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m1_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="m3_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m1_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m1_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="m3_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="m3_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_1/m3_py.html b/tests/gold/html/omit_1/m3_py.html index c50fe526..01c2c1c7 100644 --- a/tests/gold/html/omit_1/m3_py.html +++ b/tests/gold/html/omit_1/m3_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m2_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m2_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m2_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="main_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_1/main_py.html b/tests/gold/html/omit_1/main_py.html index 3d44172d..00ff581a 100644 --- a/tests/gold/html/omit_1/main_py.html +++ b/tests/gold/html/omit_1/main_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -86,13 +94,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m3_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_2/m2_py.html b/tests/gold/html/omit_2/m2_py.html index ef5ad89b..3a65d03a 100644 --- a/tests/gold/html/omit_2/m2_py.html +++ b/tests/gold/html/omit_2/m2_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="m3_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="m3_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:07 +0100 + <a id="nextFileLink" class="nav" href="m3_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_2/m3_py.html b/tests/gold/html/omit_2/m3_py.html index b0c45078..01c2c1c7 100644 --- a/tests/gold/html/omit_2/m3_py.html +++ b/tests/gold/html/omit_2/m3_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m2_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m2_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m2_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="main_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:07 +0100 + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_2/main_py.html b/tests/gold/html/omit_2/main_py.html index 7a74fd4a..00ff581a 100644 --- a/tests/gold/html/omit_2/main_py.html +++ b/tests/gold/html/omit_2/main_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -86,13 +94,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m3_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:07 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_3/m3_py.html b/tests/gold/html/omit_3/m3_py.html index 1cc55fdf..f2fff821 100644 --- a/tests/gold/html/omit_3/m3_py.html +++ b/tests/gold/html/omit_3/m3_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="main_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_3/main_py.html b/tests/gold/html/omit_3/main_py.html index 3d44172d..00ff581a 100644 --- a/tests/gold/html/omit_3/main_py.html +++ b/tests/gold/html/omit_3/main_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -86,13 +94,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m3_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_4/m1_py.html b/tests/gold/html/omit_4/m1_py.html index f8addaca..9ad0ea11 100644 --- a/tests/gold/html/omit_4/m1_py.html +++ b/tests/gold/html/omit_4/m1_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="m3_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="m3_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="m3_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_4/m3_py.html b/tests/gold/html/omit_4/m3_py.html index cd16fc3f..335e24b2 100644 --- a/tests/gold/html/omit_4/m3_py.html +++ b/tests/gold/html/omit_4/m3_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m1_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m1_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m1_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="main_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_4/main_py.html b/tests/gold/html/omit_4/main_py.html index 3d44172d..00ff581a 100644 --- a/tests/gold/html/omit_4/main_py.html +++ b/tests/gold/html/omit_4/main_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -86,13 +94,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m3_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m3_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_5/m1_py.html b/tests/gold/html/omit_5/m1_py.html index 2c534133..f31fd371 100644 --- a/tests/gold/html/omit_5/m1_py.html +++ b/tests/gold/html/omit_5/m1_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -78,13 +86,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="main_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="main_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/omit_5/main_py.html b/tests/gold/html/omit_5/main_py.html index a6ac2f9d..8c72a466 100644 --- a/tests/gold/html/omit_5/main_py.html +++ b/tests/gold/html/omit_5/main_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="m1_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -86,13 +94,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="m1_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="m1_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/other/blah_blah_other_py.html b/tests/gold/html/other/blah_blah_other_py.html index abe91136..97df0d6c 100644 --- a/tests/gold/html/other/blah_blah_other_py.html +++ b/tests/gold/html/other/blah_blah_other_py.html @@ -3,7 +3,7 @@ <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/vh/wwf6sk0j6ylg5397jq_3cv5w0000gp/T/pytest-of-jmft2/pytest-2/popen-gw3/t101/othersrc/other.py: 100%</title> + <title>Coverage for /private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-43/popen-gw0/t69/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="coverage_html.js" defer></script> @@ -12,7 +12,7 @@ <header> <div class="content"> <h1> - <span class="text">Coverage for </span><b>/private/var/folders/vh/wwf6sk0j6ylg5397jq_3cv5w0000gp/T/pytest-of-jmft2/pytest-2/popen-gw3/t101/othersrc/other.py</b>: + <span class="text">Coverage for </span><b>/private/var/folders/10/4sn2sk3j2mg5m116f08_367m0000gq/T/pytest-of-nedbatchelder/pytest-43/popen-gw0/t69/othersrc/other.py</b>: <span class="pc_cov">100%</span> </h1> <div id="help_panel_wrapper"> @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="here_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -80,13 +88,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="here_py.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="here_py.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/other/here_py.html b/tests/gold/html/other/here_py.html index 284db5f7..3f66ac9c 100644 --- a/tests/gold/html/other/here_py.html +++ b/tests/gold/html/other/here_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="d_79fa37f381709c6f_other_py.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -82,13 +90,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="d_d5a38018460147df_other_py.html">« prev file</a> + <a id="prevFileLink" class="nav" href="d_79fa37f381709c6f_other_py.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/partial/partial_py.html b/tests/gold/html/partial/partial_py.html index 48367c81..94113815 100644 --- a/tests/gold/html/partial/partial_py.html +++ b/tests/gold/html/partial/partial_py.html @@ -61,6 +61,14 @@ <button type="button" class="exc show_exc button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">1<span class="text"> excluded</span></button> <button type="button" class="par run show_par button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">1<span class="text"> partial</span></button> </h2> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 08:22 -0400 + </p> <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> @@ -95,13 +103,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 08:22 -0400 </p> </div> </footer> diff --git a/tests/gold/html/partial_626/partial_py.html b/tests/gold/html/partial_626/partial_py.html index fade2b24..6042d6e7 100644 --- a/tests/gold/html/partial_626/partial_py.html +++ b/tests/gold/html/partial_626/partial_py.html @@ -61,6 +61,14 @@ <button type="button" class="exc show_exc button_toggle_exc" value="exc" data-shortcut="x" title="Toggle lines excluded">1<span class="text"> excluded</span></button> <button type="button" class="par run show_par button_toggle_par" value="par" data-shortcut="p" title="Toggle lines partially run">2<span class="text"> partial</span></button> </h2> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -95,13 +103,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/VER">coverage.py vVER</a>, - created at 2021-10-30 16:37 -0400 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/styled/a_py.html b/tests/gold/html/styled/a_py.html index 0e22926d..05ced53f 100644 --- a/tests/gold/html/styled/a_py.html +++ b/tests/gold/html/styled/a_py.html @@ -60,6 +60,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -82,13 +90,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> diff --git a/tests/gold/html/support/coverage_html.js b/tests/gold/html/support/coverage_html.js index 00e18488..084a4970 100644 --- a/tests/gold/html/support/coverage_html.js +++ b/tests/gold/html/support/coverage_html.js @@ -25,6 +25,13 @@ function checkVisible(element) { return !(rect.bottom < viewTop || rect.top >= viewBottom); } +function on_click(sel, fn) { + const elt = document.querySelector(sel); + if (elt) { + elt.addEventListener("click", fn); + } +} + // Helpers for table sorting function getCellValue(row, column = 0) { const cell = row.cells[column] @@ -193,6 +200,11 @@ coverage.index_ready = function () { direction: th.getAttribute("aria-sort"), })); }); + + on_click(".button_prev_file", coverage.to_prev_file); + on_click(".button_next_file", coverage.to_next_file); + + on_click(".button_show_hide_help", coverage.show_hide_help); }; // -- pyfile stuff -- @@ -209,12 +221,6 @@ coverage.pyfile_ready = function () { coverage.set_sel(0); } - const on_click = function(sel, fn) { - const elt = document.querySelector(sel); - if (elt) { - elt.addEventListener("click", fn); - } - } on_click(".button_toggle_run", coverage.toggle_lines); on_click(".button_toggle_mis", coverage.toggle_lines); on_click(".button_toggle_exc", coverage.toggle_lines); @@ -225,6 +231,12 @@ coverage.pyfile_ready = function () { on_click(".button_top_of_page", coverage.to_top); on_click(".button_first_chunk", coverage.to_first_chunk); + on_click(".button_prev_file", coverage.to_prev_file); + on_click(".button_next_file", coverage.to_next_file); + on_click(".button_to_index", coverage.to_index); + + on_click(".button_show_hide_help", coverage.show_hide_help); + coverage.filters = undefined; try { coverage.filters = localStorage.getItem(coverage.LINE_FILTERS_STORAGE); @@ -299,6 +311,23 @@ coverage.to_first_chunk = function () { coverage.to_next_chunk(); }; +coverage.to_prev_file = function () { + window.location = document.getElementById("prevFileLink").href; +} + +coverage.to_next_file = function () { + window.location = document.getElementById("nextFileLink").href; +} + +coverage.to_index = function () { + location.href = document.getElementById("indexLink").href; +} + +coverage.show_hide_help = function () { + const helpCheck = document.getElementById("help_panel_state") + helpCheck.checked = !helpCheck.checked; +} + // Return a string indicating what kind of chunk this line belongs to, // or null if not a chunk. coverage.chunk_indicator = function (line_elt) { diff --git a/tests/gold/html/support/style.css b/tests/gold/html/support/style.css index cca6f11f..f13703c2 100644 --- a/tests/gold/html/support/style.css +++ b/tests/gold/html/support/style.css @@ -38,9 +38,13 @@ header .content { padding: 1rem 3.5rem; } header h2 { margin-top: .5em; font-size: 1em; } +header p { margin: .5em 0 -.5em; color: #666; font-style: italic; } + +@media (prefers-color-scheme: dark) { header p { color: #aaa; } } + header.sticky { position: fixed; left: 0; right: 0; height: 2.5em; } -header.sticky .text { display: none; } +header.sticky p, header.sticky .text { display: none; } header.sticky h1, header.sticky h2 { font-size: 1em; margin-top: 0; display: inline-block; } @@ -52,9 +56,7 @@ header.sticky ~ #source { padding-top: 6.5em; } main { position: relative; z-index: 1; } -.indexfile footer { margin: 1rem 3.5rem; } - -.pyfile footer { margin: 1rem 1rem; } +footer { margin: 1rem 3.5rem; } footer .content { padding: 0; color: #666; font-style: italic; } diff --git a/tests/gold/html/unicode/unicode_py.html b/tests/gold/html/unicode/unicode_py.html index 3d34f8da..b72f8244 100644 --- a/tests/gold/html/unicode/unicode_py.html +++ b/tests/gold/html/unicode/unicode_py.html @@ -59,6 +59,14 @@ <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> + <p> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> + <a id="indexLink" class="nav" href="index.html">^ index</a> + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 + </p> <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> @@ -81,13 +89,12 @@ <footer> <div class="content"> <p> - <a id="prevFileLink" class="nav" href="index.html">« prev file</a> + <a id="prevFileLink" class="nav" href="index.html">« prev</a> <a id="indexLink" class="nav" href="index.html">^ index</a> - <a id="nextFileLink" class="nav" href="index.html">» next file</a> - </p> - <p> - <a class="nav" href="https://coverage.readthedocs.io/en/6.3.3a0">coverage.py v6.3.3a0</a>, - created at 2022-04-25 21:09 +0100 + <a id="nextFileLink" class="nav" href="index.html">» next</a> + + <a class="nav" href="https://coverage.readthedocs.io/en/6.4a0">coverage.py v6.4a0</a>, + created at 2022-05-20 07:25 -0400 </p> </div> </footer> |