Commit Graph

16 Commits

Author SHA1 Message Date
jmesserly@google.com 05705dad2f fix polymer tests -- replace run.sh and run tests using bots
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//24077003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27353 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 21:21:55 +00:00
jmesserly@google.com e6ce53bcb7 ignore trailing whitespace in polymer transform test
R=dgrove@google.com

Review URL: https://codereview.chromium.org//23772007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27265 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 20:31:37 +00:00
dgrove@google.com d85315c307 Make expectations match reality by altering whitespace.
TBR=jmesserly@google.com

Review URL: https://codereview.chromium.org//23767006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27223 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:55:07 +00:00
jmesserly@google.com 337880c0d4 fixed TodoMVC tests to include deploying to JS
R=kustermann@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//23678009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27222 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:00:41 +00:00
sigmund@google.com 315a51b392 Add a polymer validator: a linter/analysis that will replace the old
dwc.analyzer. This analysis covers what we used to have before, but hooks into
barback (so we'll be able to see assets that are generated too).

I plan to delete analyzer.dart and compiler.dart next, but decided to do so in a
separate CL.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23452010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27162 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 22:37:46 +00:00
sigmund@google.com 3fba647ba8 Apply several phases only to entrypoint files (which currently are identified as
those inside the web/ or test/ directory), and hide doctype warnings when
processing non entrypoint files.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23478015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27142 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:49:43 +00:00
jmesserly@google.com 7a091dcfca Turn on Polymer TodoMVC tests on Dart buildbots
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.

For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.

R=kustermann@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//23539003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +00:00
sigmund@google.com bd53fa0cc8 Change in deploy.dart to make it easier to run in run.sh without running pub.
You probably will delete some of this, but wanted to have things working better.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23431010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26900 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 02:00:05 +00:00
sigmund@google.com a43815cae0 Remove processing of dart code, summary.dart, simplified info.dart
(note: this builds on top of the previous CL)

R=jmesserly@google.com, terry@google.com

Review URL: https://codereview.chromium.org//23658002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26832 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:34:22 +00:00
sigmund@google.com 389feb691b Prune the old deploy code. This CL does a few changes:
- includes a few new steps in the deploy transforms that were missing
 - deletes emitters.dart, paths.dart (which were only needed for generating
   code), bin/dwc.dart (we never used this)
 - changes test/run.sh to run from pkg/polymer/.
 - updates tests expectations to match the new output
 - for now, disable using shadowdom-polyfill in render tests because they
   mismatch the results you'd get without the polyfill (css is changed with the
   polyfill)

R=jmesserly@google.com, terry@google.com

Review URL: https://codereview.chromium.org//23445009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26828 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:07:02 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

R=floitsch@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org//22859069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +00:00
sigmund@google.com 6839e727d3 Declare the sequence of phases for the full polymer transform and add tests for
it.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//23011045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26574 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 01:45:45 +00:00
sigmund@google.com 38b6042c12 Introduce polymer transformers (inlined code extraction, inlining html imports,
combining multiple script tags)

R=jmesserly@google.com

Review URL: https://codereview.chromium.org//22935016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26495 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 00:23:47 +00:00
jmesserly@google.com d766a2f382 additional path on windows fixes
Review URL: https://codereview.chromium.org//22955008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26411 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:49:34 +00:00
jmesserly@google.com 3549ec0409 fix polymer tests on windows
R=sigmund@google.com

BUG=

Review URL: https://codereview.chromium.org//23039018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26409 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:26:44 +00:00
jmesserly@google.com 068dec6712 move polymer.dart into dart svn
R=sigmund@google.com

Review URL: https://chromiumcodereview.appspot.com//23224003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26404 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 22:48:50 +00:00