Skip to content

Commit

Permalink
support directory adjacent to parsing tests (web-platform-tests#12541)
Browse files Browse the repository at this point in the history
From web-platform-tests#12465 (comment)
"The CSS build system finds tests (based on <link rel=help>), moves
them to the destination direction (roughly one per spec), and then
also moves any files in an adjacent support directory. "

The support directory for the parsing test files is now adjacent to
those files.

The parsing tests previously in box-shadow-syntax-001.html
are moved into parsing/box-shadow-[in]valid.html, for consistency
with other parsing tests, and to avoid the need for an extra
copy of parsing-testcommon.js

fixes web-platform-tests#12419
  • Loading branch information
ewilligers authored and gsnedders committed Aug 18, 2018
1 parent 6c2d23b commit 203c348
Show file tree
Hide file tree
Showing 183 changed files with 242 additions and 287 deletions.
2 changes: 1 addition & 1 deletion css/compositing/parsing/background-blend-mode-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-blend-mode supports only the grammar '<blend-mode>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/compositing/parsing/background-blend-mode-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-blend-mode supports the full grammar '<blend-mode>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/compositing/parsing/isolation-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="isolation supports only the grammar '<isolation-mode>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/compositing/parsing/isolation-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="isolation supports the full grammar '<isolation-mode>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/compositing/parsing/mix-blend-mode-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="mix-blend-mode supports only the grammar '<blend-mode>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/compositing/parsing/mix-blend-mode-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="mix-blend-mode supports the full grammar '<blend-mode>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
79 changes: 0 additions & 79 deletions css/css-backgrounds/box-shadow-syntax-001.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-attachment supports only the grammar '<attachment>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-attachment supports the full grammar '<attachment>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-clip-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-clip supports only the grammar '<box>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-clip-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-clip supports the full grammar '<box>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-color-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-color supports only the grammar '<color>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-color-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-color supports the full grammar '<color>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-image-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-image supports only the grammar '<bg-image>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-image-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-image supports the full grammar '<bg-image>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background supports only the grammar '<bg-layer># , <final-bg-layer>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-origin-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-origin supports only the grammar '<box>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-origin-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-origin supports the full grammar '<box>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-position supports only the grammar '<bg-position>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-position-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-position supports the full grammar '<bg-position>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-repeat-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-repeat supports only the grammar '<repeat-style>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-repeat-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-repeat supports the full grammar '<repeat-style>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-size-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-size supports only the grammar '<bg-size>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-size-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background-size supports the full grammar '<bg-size>#'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/background-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="background supports the full grammar '<bg-layer># , <final-bg-layer>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-color-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-color supports only the grammar '<color>{1,4}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-color-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-color supports the full grammar '<color>{1,4}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-image-invalid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image supports only the grammar ' <‘border-image-source’> || <‘border-image-slice’> [ / <‘border-image-width’> | / <‘border-image-width’>? / <‘border-image-outset’> ]? || <‘border-image-repeat’>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-outset supports only the grammar '[ <length> | <number> ]{1,4}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-image-outset-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-outset supports the full grammar '[ <length> | <number> ]{1,4}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-repeat supports only the grammar '[ stretch | repeat | round | space ]{1,2}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-image-repeat-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-repeat supports the full grammar '[ stretch | repeat | round | space ]{1,2}'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-slice supports only the grammar '[<number> | <percentage>]{1,4} && fill?'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-image-slice-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-slice supports the full grammar '[<number> | <percentage>]{1,4} && fill?'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-source supports only the grammar 'none | <image>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
2 changes: 1 addition & 1 deletion css/css-backgrounds/parsing/border-image-source-valid.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="assert" content="border-image-source supports the full grammar 'none | <image>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/parsing-testcommon.js"></script>
<script src="support/parsing-testcommon.js"></script>
</head>
<body>
<script>
Expand Down
Loading

0 comments on commit 203c348

Please sign in to comment.