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

Unified Diff: mojo/tools/data/fusl_apptests

Issue 1701193002: [fusl] Build example apptests under fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: actually run tests Created 4 years, 10 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
Index: mojo/tools/data/fusl_apptests
diff --git a/mojo/tools/data/fusl_apptests b/mojo/tools/data/fusl_apptests
new file mode 100644
index 0000000000000000000000000000000000000000..fb427b76d747cfb5636c648c0bcd118399f49673
--- /dev/null
+++ b/mojo/tools/data/fusl_apptests
@@ -0,0 +1,85 @@
+# This file contains a list of Mojo apptests. For description of the file
+# format, see `mojo_test` in devtools.
+
+import os
viettrungluu 2016/02/17 22:18:04 Maybe just "import os.path"?
kulakowski 2016/02/17 22:41:52 Done.
+
+_ORIGIN = os.path.join(shell_dir, "fusl_x64")
+_ORIGIN_ARG = "--origin=file://" + _ORIGIN
+
+tests = [
kulakowski 2016/02/17 21:31:07 This is all tests that can run without having to b
viettrungluu 2016/02/17 22:18:04 Please update the comment at the top of the file.
kulakowski 2016/02/17 22:41:52 Done.
+ {
+ "test": "mojo:asset_bundle_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:authenticating_url_loader_interceptor_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:benchmark_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:clipboard_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:example_apptests",
+ # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
+ "shell-args": [ _ORIGIN_ARG ],
+ "test-args": ["--example_apptest_arg"],
+ },
+ {
+ "test": "mojo:example_apptests",
+ "name": "mojo:example_apptests (multiprocess)",
+ # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
+ "test-args": ["--example_apptest_arg"],
+ "shell-args": [
+ _ORIGIN_ARG,
+ "--enable-multiprocess"
+ ],
+ },
+ {
+ "test": "mojo:files_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:http_server_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:log_impl_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:moterm_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:prediction_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:url_response_disk_cache_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:example_apptests",
+ "name": "mojo:example_apptests (python_example_service)",
+ # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
+ "test-args": ["--example_apptest_arg"],
+ "shell-args": [
+ "--url-mappings=mojo:example_service=mojo:python_example_service",
+ _ORIGIN_ARG,
+ ],
+ },
+ {
+ "test": "mojo:mojo_url_redirector_apptests",
+ "test-args": ["--redirector_port=49152",
+ "--app_location_files_port=49153"],
+ "shell-args": [
+ "--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://localhost:49153",
+ _ORIGIN_ARG,
+ ],
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698