rnystrom@google.com
7b5e67b5d6
First prototype of import map generator.
...
Review URL: https://chromiumcodereview.appspot.com//9369006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4106 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:09:49 +00:00
sigmund@google.com
124700481b
add string-equals to unittest, fix implementation in expect.dart
...
Review URL: https://chromiumcodereview.appspot.com//9365023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4050 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 20:42:41 +00:00
antonm@google.com
16d87a7fd8
Transition to new API to start Dart.
...
Review URL: https://chromiumcodereview.appspot.com//9315030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3797 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 17:08:07 +00:00
rnystrom@google.com
9d8b6768d2
Make client tests return non-zero exit code on failure.
...
Review URL: http://codereview.chromium.org//9168031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3203 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 19:54:48 +00:00
pquitslund@google.com
0aeb29e533
Hacking format of Expect failure messages to play nice with rendered HTML.
...
The culprits are the '<' and '>' in this bit:
_fail("Expect.equals(expected: <$expected>, actual: <$actual>$msg) fails.")
in Expect.equals(..) which cause $expected and $actual to get treated as tags when
the message is shoveled (untreated) into an HTML page as one might do when rendering
test run results in an HTML page (e.g., http://codereview.chromium.org/9034030/ ).
This here *hack* sidesteps the issue but it's neither elegant nor properly
placed (methinks). The question is, how should this problem get fixed for real?
Thoughts/redirects greatly appreciated!
Review URL: http://codereview.chromium.org//9022042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2954 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:06:10 +00:00
scheglov@google.com
63a96477cd
Report errors and warnings for hiding elements, issue 572.
...
http://code.google.com/p/dart/issues/detail?id=572
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8966029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2636 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 14:35:40 +00:00
ager@google.com
1aaa58f803
Make the repeating argument to timers optional.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8992007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2577 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:34:12 +00:00
shauvik@google.com
263a78d588
Code for Dartest which consists of two parts:
...
1. Test runner library located in client/testing/
2. Instrumentation code for adding coverage probes
Added some fixes to the AST Writer and changes to highlight instrumented nodes.
Review URL: http://codereview.chromium.org//8905021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2549 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:24:15 +00:00
rnystrom@google.com
bbbee862dd
Add unittest entrypoint for node/frog.
...
Review URL: http://codereview.chromium.org//8742025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1936 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-30 19:17:15 +00:00
podivilov@google.com
437f27b534
Remove support for attribute event listeners.
...
R=vsm@google.com
BUG=5590885
Review URL: http://codereview.chromium.org//8637013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1790 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-23 13:31:13 +00:00
pquitslund@google.com
3341e8d3db
Fix to workaround non-propagation of exception stack-traces by dartc.
...
Net-net: The previous work-around, assigning '' to the trace var inside the try block, had stopped working. Somewhere along the line dartc started properly respecting try/catch block scoping of vars.
In an attempt to verify that this fix hasn't broken anything unexpected, I ran test.py and confirmed that all tests still pased and re-ran it with a broken test and confirmed that a stack trace was emitted.
Here's how I built and ran:
./tools/build.py --arch=ia32
./tools/test.py --mode=release --component=dartium client -v --keep_temporary_files
Review URL: http://codereview.chromium.org//8586041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1639 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 23:36:55 +00:00
sigmund@google.com
c9b45e186b
Fix unittest - fix error in the error reporting code.
...
Review URL: http://codereview.chromium.org//8515004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1410 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-10 17:57:08 +00:00
jacobr@google.com
157b35983a
Implement measurement using promises
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8363040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1050 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 23:17:47 +00:00
floitsch@google.com
61b7e92560
Tell the testing-framework that we started the tests.
...
Review URL: http://codereview.chromium.org//8430005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@956 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 17:00:10 +00:00
rnystrom@google.com
bd3084a223
Remove temp sample script.
...
Review URL: http://codereview.chromium.org//8417044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@928 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 01:04:25 +00:00
rnystrom@google.com
9fde456594
Add command-line non-client support to unit test lib.
...
Review URL: http://codereview.chromium.org//8413058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@927 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 00:49:03 +00:00
rnystrom@google.com
ea194f4bea
Get rid of use of dart:html in unittestlib.
...
Review URL: http://codereview.chromium.org//8341119
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@920 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 21:33:55 +00:00
nweiz@google.com
7ac8255b44
Add constructors to all the event classes.
...
Review URL: http://codereview.chromium.org//8404013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@914 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 19:48:50 +00:00
antonm@google.com
297c5379f0
Switch to .setTimeout instead of onContentLoaded to start running tests.
...
Review URL: http://codereview.chromium.org//8400065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@912 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 18:51:58 +00:00
rnystrom@google.com
c61570068f
Huge internal clean-up of unittestsuite:
...
- Get rid of UnitTestSuite class completely.
- Replace bool flags with a state machine.
- Remove some unneeded functions.
- Make some stuff private.
- Clean up generated HTML a bit.
Review URL: http://codereview.chromium.org//8418013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@910 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 18:42:47 +00:00
rnystrom@google.com
7fcb20ea44
Move JSON unit tests to new test API.
...
Review URL: http://codereview.chromium.org//8392022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@905 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:54:34 +00:00
rnystrom@google.com
acbdba4a71
Clean up dartcombat tests to new API.
...
Review URL: http://codereview.chromium.org//8341039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@854 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 20:35:53 +00:00
vsm@google.com
91601e09fc
Fix for events fired on different isolates.
...
Ensures that a DOM callback will be fired on the isolate that it
originated on.
BUG=5151491
TEST=https://chromereviews.googleplex.com/3624031/
Review URL: http://codereview.chromium.org//8370031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@798 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 03:02:43 +00:00
antonm@google.com
1342107b1a
Do not mark test as successful in callbackDone if test is
...
still running.
Review URL: http://codereview.chromium.org//8344084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@584 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 16:58:59 +00:00
antonm@google.com
c7f5c5e073
Allow callbackDone while test is executed by runTest.
...
Review URL: http://codereview.chromium.org//8354006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@567 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 19:05:55 +00:00
rnystrom@google.com
da8b9a6766
Clean up UnitTestSuite a bit.
...
Review URL: http://codereview.chromium.org//8343009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@532 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 21:07:54 +00:00
rnystrom@google.com
487c4f689d
Get touch tests working at all, and with new API.
...
Review URL: http://codereview.chromium.org//8341003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@529 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 21:03:14 +00:00
antonm@google.com
27823d8ac2
Add a support for layout tests.
...
Review URL: http://codereview.chromium.org//8337020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@514 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 17:27:46 +00:00
rnystrom@google.com
97d0ea9c71
Move test(), group(), and expect() to top level.
...
Instead of being methods on UnitTestSuite, they will automatically create
one if there isn't already one, then run it. This lets you define tests just
like:
main() {
test('not crazy', () {
expect(sky) == blue;
});
}
Review URL: http://codereview.chromium.org//8302012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@490 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 23:02:29 +00:00
rnystrom@google.com
18640b3396
Get rid of "==" in Expectation.
...
Review URL: http://codereview.chromium.org//8297009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@462 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 23:21:44 +00:00
codefu@google.com
015f74d3c1
dart:html, woohoo!
...
Review URL: https://chromereviews.googleplex.com/3577020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@259 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 20:45:19 +00:00
dgrove@google.com
4bc64b8c2b
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 04:52:33 +00:00