Jacob Richman
2dcd56ef43
Format all tests.
...
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.
BUG=
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
kevmoo@google.com
4283c3e41e
using unittest via package import
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//231413003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34890 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 19:42:11 +00:00
kevmoo@google.com
b16286c0e1
tests/html: removed usage of deprecated unittest features
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//226903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34755 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 01:01:48 +00:00
jacobr@google.com
2000b1c6c0
Update comment to mention Blink bug
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//117443003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31201 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 18:41:02 +00:00
jacobr@google.com
25238b3af9
Fix mutation observer test bug dartbug.com/15497
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//102373007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31143 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 19:28:53 +00:00
efortuna@google.com
45701cfb4b
Second round of deprecation removal.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//41843003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29275 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:39:09 +00:00
jmesserly@google.com
28c2096ffa
use .append instead of .nodes.add
...
R=blois@google.com
Review URL: https://codereview.chromium.org//14883008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22652 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-13 20:57:52 +00:00
efortuna@google.com
c4437b9274
Reapply the expanded names with the correct form of requestFileSystem on the
...
test.
BUG=
Review URL: https://codereview.chromium.org//12663017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20136 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-16 01:02:25 +00:00
blois@google.com
66d856065d
Fixing more cases of default values for events not working on Dartium.
...
TBR
BUG=
Review URL: https://codereview.chromium.org//12049051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17496 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 21:24:01 +00:00
blois@google.com
edf1d5149f
- Changing event constructors to use named parameters.
...
- Making more parameters optional.
- Converting remaining init*Event calls to constructors.
BUG=
Review URL: https://codereview.chromium.org//12025027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17488 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:43:21 +00:00
blois@google.com
e1e2c53a39
Adding annotation for partial browser support and example implementation for MutationObservers.
...
BUG=
Review URL: https://codereview.chromium.org//11647044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16449 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 19:04:14 +00:00
gram@google.com
981c4b11df
Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
...
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
gram@google.com
f7d27f2c64
Modified unittest to use new argument syntax.
...
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
antonm@google.com
3bcf84ca95
Make arguments of MutationObserver named.
...
R=blois@google.com ,efortuna@google.com ,podivilov@chromium.org ,sra@google.com ,vsm@google.com
Review URL: https://codereview.chromium.org//11188029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13724 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 09:26:30 +00:00
antonm@google.com
46f6cd6d0f
Support new named arguments.
...
R=blois@google.com ,efortuna@google.com ,podivilov@chromium.org ,sra@google.com ,vsm@google.com
Review URL: https://codereview.chromium.org//11184007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13721 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 08:40:40 +00:00
efortuna@google.com
9163dfe93c
revert 1204. Will investigate when I get a chance.
...
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
rnystrom@google.com
383488ec4f
Update unittest to new package layout.
...
Review URL: https://codereview.chromium.org//10917275
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com
659a57df3e
Revert "Make unittest follow the new package layout."
...
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.
Review URL: https://codereview.chromium.org//10911318
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com
2ba81033a6
Make unittest follow the new package layout.
...
Review URL: https://codereview.chromium.org//10918240
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
dgrove@google.com
c265902bea
Move unittest from lib to pkg.
...
Review URL: https://chromiumcodereview.appspot.com//10836241
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
sra@google.com
7b24c8ac90
Add MutationObserver constructor
...
Add custom MutationObserver.observe method
The observe method supports configuration by dictionary and optional arguments:
observer.observe(node, {'subtree': true});
observer.observe(node, subtree: true);
If both are given, they are merged.
Review URL: https://chromiumcodereview.appspot.com//10696209
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9752 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 02:16:09 +00:00