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

Unified Diff: tools/test.dart

Issue 9599015: documented component (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.dart
diff --git a/tools/test.dart b/tools/test.dart
index 80545b1d1c242e87c57e32f167ac964a2303dc40..df7299676f5ddbbb5b6c9037a466cb2740487bcf 100755
--- a/tools/test.dart
+++ b/tools/test.dart
@@ -3,6 +3,51 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+/**
+ * This file is the entrypoint of the dart checkin suite. This checkin
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 I never heard the term 'checkin suite' before, I'm
mattsh 2012/03/05 17:49:09 Done.
+ * suite is used to test:
+ *
+ * 1. the dart vm
+ * 2. the frog compiler (compiles dart to js)
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 maybe mention that we ensure the gen code runs cor
mattsh 2012/03/05 17:49:09 I just wanted this list here to be a very quick su
+ * 3. the leg compiler (also compiles dart to js)
+ * 4. the dartc static analyzer
+ * 5. the dart core library
+ * 6. other standard dart libraries (DOM bindings, ui libraries,
+ * io libraries etc.)
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 weird indent here. Maybe align with 'other'? 6. ot
mattsh 2012/03/05 17:49:09 Just the normal 4 space line continuation indent.
Siggi Cherem (dart-lang) 2012/03/05 17:54:25 I was expecting expecting +4 from the bullet, not
mattsh 2012/03/05 18:00:17 OK, but +4 from the bullet will put it just one sp
+ *
+ * This script is normally invoked by test.py. (Test.py finds the dart vm
+ * and passses along all command line arguments to this script.)
+ *
+ * Most of the command line arguments to this script are straightforward and
+ * are documented in [tools/testing/test_options.dart]
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 I believe the notation [something] is only to poin
mattsh 2012/03/05 17:49:09 OK, changed to quotes now.
+ *
+ * The "component" argument is complicated and is documented here.
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 I'd change this a bit - maybe reorder by saying:
mattsh 2012/03/05 17:49:09 OK, reworded and shortened this text.
+ *
+ * Allowable values of "component"
+ *
+ * vm: run dart code on the standalone dart vm
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 (nit): make this also bulleted, fix indentation al
mattsh 2012/03/05 17:49:09 slightly prefer to keep as is
Siggi Cherem (dart-lang) 2012/03/05 17:54:25 please consider adding the bullet, I believe if we
mattsh 2012/03/05 18:00:17 Ah, good point. I didn't know dartdoc picks up th
+ * frog: compile dart code by running frog on the standalone dart vm, and
+ * run the resulting javascript on D8
+ * leg: compile dart code by running leg on the standalone dart vm, and
+ * run the resulting javascript on D8.
+ * frogsh: compile dart code by running frog on node.js, and run the
+ * resulting javascript on the same instance of node.js
+ * dartium: run dart code in dartium
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 actually we run it in a dartium-DumpRenderTree (a
mattsh 2012/03/05 17:49:09 OK, thanks (siggi and I just chatted). Updated co
+ * chromium: obsolete, not used (TODO - remove this)
+ * frogium: compile dart code by running frog on the standalone dart vm,
+ * and run the resulting javascript in DumpRenderTree
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 DumpRenderTree (a headless version of chromium)
mattsh 2012/03/05 17:49:09 Done.
+ * legium: compile dart code by running leg on the standalone dart vm,
+ * and run the resulting javascript in DumpRenderTree
+ * webdriver: compile dart code by running frog on the standalone dart vm,
+ * and then run the resulting javascript in a browser that
+ * is specified by the --browser switch
+ * dartc: run dart code through the dartc static analyzer (does not execute
+ * dart code
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 add closing paren
mattsh 2012/03/05 17:49:09 Done.
+ *
+ *
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 remove extra lines
mattsh 2012/03/05 17:49:09 Done.
+ */
+
+
Siggi Cherem (dart-lang) 2012/03/05 17:10:45 here too
mattsh 2012/03/05 17:49:09 Done.
#library("test");
#import("testing/dart/test_runner.dart");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698