diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/mochitest/baselinecoverage/plain | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/mochitest/baselinecoverage/plain')
-rw-r--r-- | testing/mochitest/baselinecoverage/plain/mochitest.ini | 4 | ||||
-rw-r--r-- | testing/mochitest/baselinecoverage/plain/test_baselinecoverage.html | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/testing/mochitest/baselinecoverage/plain/mochitest.ini b/testing/mochitest/baselinecoverage/plain/mochitest.ini new file mode 100644 index 0000000000..c3667e373f --- /dev/null +++ b/testing/mochitest/baselinecoverage/plain/mochitest.ini @@ -0,0 +1,4 @@ +[DEFAULT] + +[test_baselinecoverage.html] +run-if = ccov && verify
\ No newline at end of file diff --git a/testing/mochitest/baselinecoverage/plain/test_baselinecoverage.html b/testing/mochitest/baselinecoverage/plain/test_baselinecoverage.html new file mode 100644 index 0000000000..0fdc912808 --- /dev/null +++ b/testing/mochitest/baselinecoverage/plain/test_baselinecoverage.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML> +<html> +<head> + <title>Baseline Coverage Collection</title> + <script src="/tests/SimpleTest/SimpleTest.js"></script> + <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> +</head> +<body> +<script type="application/javascript"> + SimpleTest.waitForExplicitFinish(); + SimpleTest.requestFlakyTimeout("Baseline coverage stabilization delay."); + + async function delayBaseline() { + SimpleTest.ok(true, "Collecting baseline coverage for HTML (.html) file types."); + await new Promise((c) => setTimeout(c, 30 * 1000)); + SimpleTest.finish(); + } + + delayBaseline(); +</script> +</body> +</html> |