Skip to content

Commit 1fbea66

Browse files
fred-wangmoz-wptsync-bot
authored andcommitted
Bug 1637507 [wpt PR 23558] - MathML: Regenerate tests for the operator dictionary, a=testonly
Automatic update from web-platform-tests MathML: Regenerate tests for the operator dictionary (#23558) - Update to the latest dictionary entries. - Remove accent tests since default is true. w3c/mathml#151 (comment) - Split into smaller files to reduce timeout risks. -- wpt-commits: 46fe8740553c7e481dee30ab11165decc49cb100 wpt-pr: 23558
1 parent d45d238 commit 1fbea66

33 files changed

+762
-46
lines changed
Binary file not shown.

testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-005.html renamed to testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-largeop-001.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
2121
async function runTests() {
2222
let json = await fetchOperatorDictionary();
23-
OperatorDictionaryTests.run(json, "symmetric");
23+
OperatorDictionaryTests.run(json, "largeop", 0);
2424
done();
2525
}
2626
</script>

testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-006.html renamed to testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-largeop-002.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
2121
async function runTests() {
2222
let json = await fetchOperatorDictionary();
23-
OperatorDictionaryTests.run(json, "accent");
23+
OperatorDictionaryTests.run(json, "largeop", 1);
2424
done();
2525
}
2626
</script>

testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-003.html renamed to testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-largeop-003.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
2121
async function runTests() {
2222
let json = await fetchOperatorDictionary();
23-
OperatorDictionaryTests.run(json, "largeop");
23+
OperatorDictionaryTests.run(json, "largeop", 2);
2424
done();
2525
}
2626
</script>

testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-004.html renamed to testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-largeop-004.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
2121
async function runTests() {
2222
let json = await fetchOperatorDictionary();
23-
OperatorDictionaryTests.run(json, "stretchy");
23+
OperatorDictionaryTests.run(json, "largeop", 3);
2424
done();
2525
}
2626
</script>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "largeop", 4);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "largeop", 5);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>

testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-001.html renamed to testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-movablelimits-001.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
2121
async function runTests() {
2222
let json = await fetchOperatorDictionary();
23-
OperatorDictionaryTests.run(json, "lspace/rspace");
23+
OperatorDictionaryTests.run(json, "movablelimits", 0);
2424
done();
2525
}
2626
</script>

testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-002.html renamed to testing/web-platform/tests/mathml/presentation-markup/operators/operator-dictionary-movablelimits-002.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
2121
async function runTests() {
2222
let json = await fetchOperatorDictionary();
23-
OperatorDictionaryTests.run(json, "movablelimits");
23+
OperatorDictionaryTests.run(json, "movablelimits", 1);
2424
done();
2525
}
2626
</script>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "movablelimits", 2);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "movablelimits", 3);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "movablelimits", 4);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "movablelimits", 5);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "lspace/rspace", 0);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "lspace/rspace", 1);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "lspace/rspace", 2);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Operator dictionary</title>
6+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-fence-separator-or-accent-mo">
7+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dictionary-based-attributes">
8+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#operator-dictionary">
9+
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#stretchy-operator-axis">
10+
<meta name="assert" content="Verify default properties for characters that are in the operator dictionary, as well as for U+00A0 NO-BREAK SPACE">
11+
<meta name="timeout" content="long">
12+
<script src="/resources/testharness.js"></script>
13+
<script src="/resources/testharnessreport.js"></script>
14+
<script src="/mathml/support/feature-detection.js"></script>
15+
<script src="/mathml/support/operator-dictionary.js"></script>
16+
<script src="./support/operator-dictionary-tests.js"></script>
17+
<link rel="stylesheet" href="./support/operator-dictionary-tests.css"/>
18+
<script>
19+
setup({ explicit_done: true });
20+
window.addEventListener("load", () => { document.fonts.ready.then(runTests); });
21+
async function runTests() {
22+
let json = await fetchOperatorDictionary();
23+
OperatorDictionaryTests.run(json, "lspace/rspace", 3);
24+
done();
25+
}
26+
</script>
27+
</head>
28+
<body>
29+
<div id="log"></div>
30+
</body>
31+
</html>

0 commit comments

Comments
 (0)