Commit Graph

55 Commits

Author SHA1 Message Date
ager@google.com 37b82247ac Remove need to instantiate Platform and make methods static.
This will require an update of the stable test binary. I will upload
a new build when done with the review process.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6682 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 11:39:16 +00:00
sigmund@google.com 18d120acdc update status of a couple tests: some configurations are run, but should be
skipped.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6481 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 21:50:23 +00:00
sigmund@google.com 656e98150b unittest step2: bye bye to multiple entrypoints for unittest
Review URL: https://chromiumcodereview.appspot.com//10037027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6480 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 21:38:25 +00:00
sigmund@google.com cca364ce76 change status files to make it possible to run test.py -c frog,dart2js -r none.
Except for standalone, this mostly skips all other tests. The configurations
frog_none and dart2js_none these have been ignored for now by the bots, enabling
those tests should be done as needed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6382 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:56:37 +00:00
terry@google.com e5f4921ecb Fixed bb break.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6235 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 18:04:20 +00:00
terry@google.com 5ec89a199a Calculator App for ChromeOS with fixes for templates/CSS to support this application.
TBR=jacobr@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6231 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 16:59:38 +00:00
efortuna@google.com 673bb8ce02 Revert "Simplify tests under utils/tests to follow StandardTestSuite
convention."
Review URL: https://chromiumcodereview.appspot.com//9990009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6210 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 00:27:34 +00:00
rnystrom@google.com fb5b9f3570 Simplify tests under utils/tests to follow StandardTestSuite convention.
Review URL: https://chromiumcodereview.appspot.com//9956037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6209 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:50:06 +00:00
rnystrom@google.com 139b211f7d First check in for pub package manager.
It doesn't do anything more than show usage and version, but the test
infrastructure is there.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6066 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 20:48:32 +00:00
rnystrom@google.com a1c9d82292 Skip pub tests on dartium.
Review URL: https://chromiumcodereview.appspot.com//9951002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6011 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 23:54:48 +00:00
rnystrom@google.com 26947913d9 Add DirectoryTestSuite.
Review URL: https://chromiumcodereview.appspot.com//9863057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6010 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 23:37:31 +00:00
dgrove@google.com ca61f09608 Move unittest into lib, and put it into the SDK.
Review URL: http://codereview.chromium.org//9802015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5956 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:26:14 +00:00
efortuna@google.com 4294145085 Can't use != in status files.
Review URL: https://chromiumcodereview.appspot.com//9791038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5910 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 21:12:35 +00:00
efortuna@google.com 46bfc8551f CSS status file fix.
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9791037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5909 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 21:08:43 +00:00
terry@google.com 5dc87ce1d6 Fixed bug with template control statements as first node of template (each, with, call, etc.).
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5900 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 19:53:25 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
terry@google.com cea0d08c1d Template bug fixes and new features.
Fixed textnode bug, whitespace was being removed. Added added local name for #with and #each.  Form of ${#each list [localName]} and ${#with object [localNme]} Added ability to call another template (located in the same tmpl file).  Form is ${#templateName(parms)}

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5665 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:12:37 +00:00
ahe@google.com dd96f32250 Rename leg -> dart2js.
Review URL: https://chromiumcodereview.appspot.com//9717033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
terry@google.com 91dd628bd8 More changes for CSS to run under VM.
Need unique name for library collision with template parser.

Few more changes to work under VM.

More changes for lang.dart seperation.

Seperation from lang.dart (tokenizer can't access private fields of base class in another library).  This was allowed in frog but not in the VM.  VM is right so need to sever dependency.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5544 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 21:19:54 +00:00
dgrove@google.com 98302c85df Unify most of our utf8 implementations. This takes the implementation
from utils/string_encoding and moves it to utils/utf . utils/utf8
goes away.
Review URL: https://chromiumcodereview.appspot.com//9462001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5169 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 13:28:40 +00:00
ngeoffray@google.com 4ec5057271 More skips on legium.
Review URL: https://chromiumcodereview.appspot.com//9635013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5164 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 11:51:49 +00:00
mattsh@google.com d8af601ce4 removed unused 'prefix' line from status files
Review URL: https://chromiumcodereview.appspot.com//9621003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
ager@google.com b2b123d24b Update Timer API to take the callback as the last parameter.
This makes the code easier to read when the callback actually does
work:

  new Timer(1000, (t) {
    // do
    // lots
    // of
    // stuff
  });

Also, it is more consistent with the rest of the APIs.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 12:43:41 +00:00
rnystrom@google.com 458908f549 Get dartdoc in the SDK and working correctly.
Review URL: https://chromiumcodereview.appspot.com//9555013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4905 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 22:28:00 +00:00
rnystrom@google.com fd8583197c Hook up dartdoc tests to the frog buildbot.
Review URL: https://chromiumcodereview.appspot.com//9447045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4578 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 18:40:45 +00:00
rnystrom@google.com f4ba5a7cd5 Fix dartdoc tests.
Review URL: https://chromiumcodereview.appspot.com//9455034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4559 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 00:33:43 +00:00
ahe@google.com cbcba131eb Explicitly use node.js in the cases where it is needed.
Review URL: https://chromiumcodereview.appspot.com//9430046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4450 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 13:57:25 +00:00
dcarlson@google.com 7c1ae41e25 restructure string decoding to support iterable use and include benchmarks for UTF-8 decoding.
R=jat@google.com,ahe@google.com,sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4366 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 19:00:19 +00:00
efortuna@google.com eb41cb3c9e Don't run any tests on Opera (yet).
TBR=jmesserly@google.com,
Review URL: https://chromiumcodereview.appspot.com//9398015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4242 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 01:07:41 +00:00
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
whesse@google.com 9f27aa3a69 Remove unused support files for old version of tools/test.py.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
ahe@google.com dca37f7f22 Use production mode when running on debug VM.
Review URL: https://chromiumcodereview.appspot.com//9332008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3981 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:18:11 +00:00
dcarlson@google.com 4e438222b0 Optimize special cases in utf8 and utf16 where input can be copied to output.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3974 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 23:44:42 +00:00
ahe@google.com 994b7e3a90 Skip tests that times out in debug mode
Review URL: https://chromiumcodereview.appspot.com//9331010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3967 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 20:45:25 +00:00
ahe@google.com bb39ff705f Increase timeout limit in frog-debug
Review URL: https://chromiumcodereview.appspot.com//9328043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3950 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:12:55 +00:00
ahe@google.com cefacc0a90 Skip tests in debug mode that times out
Review URL: https://chromiumcodereview.appspot.com//9323080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3946 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:35:02 +00:00
dcarlson@google.com 9da015d58b Fix mac/git renaming case failure. Aaarrrrgggghhhh.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3816 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:38:38 +00:00
dcarlson@google.com db17ef4ea3 String encoding utility methods and tests for Unicode, UTF-8, -16 and -32.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3814 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:25:46 +00:00
rnystrom@google.com a60cd8608d Fix build break in dartdoc.
Review URL: https://chromiumcodereview.appspot.com//9318013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3763 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 23:33:46 +00:00
jimhug@google.com cd32d6bfbe cleanup from r3556
Review URL: https://chromiumcodereview.appspot.com//9284030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3566 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 20:28:00 +00:00
jimhug@google.com b05356a0b1 update status file for quick fix to r3553
Review URL: https://chromiumcodereview.appspot.com//9285019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3556 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 16:16:06 +00:00
jimhug@google.com fd09f522c5 fix Library*NegativeTests (and a couple Prefix ones by accident)
In general, this change felt fine to make in frog; however, it felt REALLY ugly to make the required fixes to the dartdoc tests.  I suppose this just raises the priority of our packaging and library story.

Review URL: http://codereview.chromium.org//9107031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3222 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:20:23 +00:00
nweiz@google.com 70bbde3ead Add the ability to link to members and constructors of other classes in Dartdoc.
The syntax is [Class.member] and [new Class], respectively.
[new Class.namedConstructor] also works.

Review URL: http://codereview.chromium.org//9146016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3217 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 00:21:27 +00:00
rnystrom@google.com d2ad818cf0 Disable dartdoc tests on chromium.
Review URL: http://codereview.chromium.org//9190020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3209 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:56:18 +00:00
rnystrom@google.com 5bf318ec21 Hook up the dartdoc tests to test.py, test.dart, and frog/presubmit.py.
Review URL: http://codereview.chromium.org//9147058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3207 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:29:13 +00:00
sigmund@google.com 8139db7ae4 bots: include webdriver tests in bots.
Review URL: http://codereview.chromium.org//9188012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
terry@google.com 28f15786ab Disable CSS test for leg and frogium #directives not supported.
BUG=
TEST=

Review URL: http://codereview.chromium.org//9155013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3150 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 15:52:06 +00:00
terry@google.com 9a40e87326 Enabled CSS tests, added CSS tests to buildbot, fixed tooling with nodejs, and added more tests.
BUG=
TEST=

Review URL: http://codereview.chromium.org//9168008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3147 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 15:28:53 +00:00
terry@google.com 59a6cf921a New tree objects to match CSS BNF.
Fairly complete CSS syntax

BUG=
TEST=

Review URL: http://codereview.chromium.org//8937017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2675 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 22:51:16 +00:00
sigmund@google.com cd10dad521 frogium: fix all status file to reflect frogium current status.
Review URL: http://codereview.chromium.org//8930024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2407 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 00:57:56 +00:00