Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: LayoutTests/http/tests/fetch/README

Issue 1267263003: Rename fetch layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/fetch/generate.py » ('j') | LayoutTests/http/tests/fetch/generate.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/fetch/README
diff --git a/LayoutTests/http/tests/fetch/README b/LayoutTests/http/tests/fetch/README
index 9c03e22dc41b27d2f3513f218eeefddd467bdd54..0d9110318796c53dbf278bf3686cd99e8697c088 100644
--- a/LayoutTests/http/tests/fetch/README
+++ b/LayoutTests/http/tests/fetch/README
@@ -18,6 +18,10 @@ $ python generate.py
at this (/LayoutTests/http/tests/fetch/) directory to generate these files
from templates script-tests/TEMPLATE*.html.
+There are two kinds of tests. One is regular tests placed on script_tests
hiroshige 2015/08/05 04:55:52 nit: s/script_tests/script-tests/
yhirano 2015/08/07 02:32:03 Done.
+directory and another is "thorough" tests placed on script_tests/thorough
hiroshige 2015/08/05 04:55:52 ditto.
yhirano 2015/08/07 02:32:03 Done.
+directory. Each has its own template files and default option settings.
hiroshige 2015/08/05 04:55:52 Mentioning that the old name of thorough tests was
yhirano 2015/08/07 02:32:03 Done.
+
# Running on window, workers, serviceworker, serviceworker-proxied
As it is exposed to Window and Worker, most (if not all) of tests are expected
@@ -55,7 +59,7 @@ The options to be generated is listed in a line in X.js like:
(Three files for OPTIONS = (empty), -other-https, -base-https-other-https are
generated)
Default:
- For fetch-access-control*: ,-other-https,-base-https-other-https
+ For thorough tests: ,-other-https,-base-https-other-https
For others: ,-base-https-other-https
# File structure
@@ -67,13 +71,13 @@ Helper JS files and server side scripts are located on
Include this before X.js and from HTML files.
- /fetch/resources/fetch-test-options.js
Process test options for X.js. BASE_ORIGIN/OTHER_ORIGIN are defined here.
- Include this before X.js and fetch-access-control-util.js.
+ Include this before X.js and thorough-util.js.
- /fetch/resources/fetch-test-helpers.js
Variables/functions commonly used from X.js.
Include this before X.js.
-- /fetch/resources/fetch-access-control-util.js
- Utility functions for fetch-access-control* tests.
- Include this before X.js in fetch-access-control* tests.
+- /fetch/resources/thorough-util.js
+ Utility functions for thorough tests.
+ Include this before X.js in thorough tests.
- /fetch/resources/init.js
Initialization script executed on window.
Include this from HTML files.
@@ -86,7 +90,7 @@ Files wi wo sw swp wi wo sw swp
/serviceworker/resources/test-helpers.js Y Y Y Y . . . .
/fetch/resources/fetch-test-options.js Y - - Y . . . .
/fetch/resources/fetch-test-helpers.js Y - - Y . Y Y .
-/fetch/resources/fetch-access-control-util.js Y* - - Y* . Y* Y* .
+/fetch/resources/thorough-util.js Y* - - Y* . Y* Y* .
/fetch/script-tests/X.js Y - - Y
/fetch/resources/init.js Y Y Y Y - - - -
----------------------------------------------------- ------------ ------------
@@ -94,7 +98,7 @@ wi/wo/sw/swp: window/workers/serviceworker/serviceworker-proxied.
Y: to be included.
-: not to be included.
.: included indirectly via HTML or fetch-test-helpers.js.
-Y*: fetch-access-control* tests only.
+Y*: thorough tests only.
# PRESUBMIT.py
« no previous file with comments | « no previous file | LayoutTests/http/tests/fetch/generate.py » ('j') | LayoutTests/http/tests/fetch/generate.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698