Commit Graph

70 Commits

Author SHA1 Message Date
ahe@google.com d1af3e7465 Copy all frog/native tests to dart2js_foreign.
Review URL: https://chromiumcodereview.appspot.com//10855248

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11020 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:56:36 +00:00
dgrove@google.com 1b580004e1 Remove old frog references from test.dart
Review URL: https://chromiumcodereview.appspot.com//10831329

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10742 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 15:27:44 +00:00
alanknight@google.com ce28be9d2f Move tests for things in /pkg into the right places for packages
Review URL: https://chromiumcodereview.appspot.com//10828310

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10688 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 23:05:20 +00:00
whesse@google.com 5673b2b301 Add Path library and change test scripts, combined change.
Use Path for the filename and TestInformation.filename throughout test scripts.

Change test_suite.dart to use Path class.

Fix bug in join

Address comments.

Address comments

Address comments on Path library.

Add path library to dart:io.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9203 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 15:39:28 +00:00
kasperl@google.com 3eec57a270 Move frog/tests/{leg,leg_only,frog_native} to tests/compiler/.
This may not be the final resting place for these tests, but I want 
to get them out of the frog directory because they really are very
valuable as tests for dart2js.
Review URL: https://chromiumcodereview.appspot.com//10536169

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8646 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 11:28:50 +00:00
whesse@google.com a4e88c8b3e Remove string concatenation with + from all Dart files in tools directory.
Fix whitespace errors and rename shadowed variable in ddbg.dart.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7897 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 08:51:38 +00:00
whesse@google.com dbd1d5b33d Remove system-provided temporary directory usage from test scripts.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7783 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 08:00:47 +00:00
sigmund@google.com 638238152a lingering step 2 of the test rename overhaul: make await tests also a directory
test rule

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7263 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 23:21:29 +00:00
sigmund@google.com 8369d0ad46 reenable some dartc tests that have been disabled accidentally. Move
client/dartc/ to samples/dartc/.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7262 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:55:51 +00:00
sigmund@google.com 5b8ad6bfab test rename overhaul: step 14 - vm tests
Review URL: https://chromiumcodereview.appspot.com//10271014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7245 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 16:46:16 +00:00
sigmund@google.com f8db005eb2 test rename overhaul: step 12 - standalone
Review URL: https://chromiumcodereview.appspot.com//10252020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7165 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 17:34:19 +00:00
sigmund@google.com 13ec089739 test rename overhaul: step 13 - samples
Review URL: https://chromiumcodereview.appspot.com//10253022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7164 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 17:27:08 +00:00
ager@google.com a51e9e3591 Implement HMAC support in lib/crypto.
R=sgjesse@google.com,benl@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7145 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 09:54:59 +00:00
sigmund@google.com 1dd7f30abc test rename overhaul: step 11 - tests/utils
Review URL: https://chromiumcodereview.appspot.com//10170040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:16:04 +00:00
sigmund@google.com 45efebba9a test rename overhaul: step 10 - crypto tests, and add back other tests commited
recently, but just before the rename overhaul.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:12:28 +00:00
sigmund@google.com 64d7bc5acf test rename overhaul: step 8 - language tests
Review URL: https://chromiumcodereview.appspot.com//10248007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7101 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:45:10 +00:00
sigmund@google.com d9eae90196 test rename overhaul: step 7 - corelib tests
Review URL: https://chromiumcodereview.appspot.com//10244009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:06:37 +00:00
sigmund@google.com ef47ac2f90 test rename overhaul: step 5 frog and leg
Review URL: https://chromiumcodereview.appspot.com//10250002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7094 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:43:47 +00:00
sigmund@google.com d6c2cca796 test rename overhaul: step 6 - isolate tests
Review URL: https://chromiumcodereview.appspot.com//10247004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7088 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:06:51 +00:00
sigmund@google.com daef678742 test renaming overhaul: step 4 client tests
Review URL: https://chromiumcodereview.appspot.com//10191033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7041 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 20:09:35 +00:00
efortuna@google.com d6426082f6 Make test.dart respect the requested order of test suites, and also split up IE
bot load.
Review URL: https://chromiumcodereview.appspot.com//10239010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7035 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 18:14:30 +00:00
sigmund@google.com ba197a8cfa test rename overhaul: step 2 css tests.
Review URL: https://chromiumcodereview.appspot.com//10209016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6961 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:23:21 +00:00
sigmund@google.com a54a1c8355 remove tests from code that was recently deleted.
Review URL: https://chromiumcodereview.appspot.com//10207032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6956 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 17:07:48 +00:00
whesse@google.com 9fcda075eb Remove unused class DirectoryTestSuite from test script.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6933 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 10:56:14 +00:00
iposva@google.com d10d1d2cb3 - Add tests/lib to start testing libraries outside of core.
Review URL: https://chromiumcodereview.appspot.com//10197008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6929 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 09:13:56 +00:00
sigmund@google.com d25fe08396 test rename overhaul: step 1 peg.
The overhaul consists of:
- use _tests.dart notation, instead of xTest.dart
- use the directory setup (no more test_config, yay!)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6815 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 22:57:03 +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
zundel@google.com 9c5ae41ae1 Adds Junit tests in dartc back into test.py
http://code.google.com/p/dart/issues/detail?id=2366

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6080 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-01 19:02:44 +00:00
asiva@google.com 29334088c1 Fix configuration check so that the test scripts runs the vm unit tests.
Review URL: https://chromiumcodereview.appspot.com//9956005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6045 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 16:18:41 +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
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
ager@google.com 659c9a4072 By popular demand, print the configurations being tested by test.dart at startup.
This time don't print anything if the 'silent' progress is requested.

Question to be answered later: Do we actually need the JUnit tests? What do they add?

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5403 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 14:19:29 +00:00
ager@google.com 8a310c9c36 Revert "By popular demand, print the configurations being tested by test.dart at startup."
DartC is parsing all the output without using tokens. I'll have to update
their parser before I can land this.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5394 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 12:44:12 +00:00
ager@google.com 3c2b1e0a32 By popular demand, print the configurations being tested by test.dart at startup.
R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5393 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 12:34:55 +00:00
turnidge@google.com 7647d8ff7f Add the vm internal dart tests into the test suite.
Review URL: https://chromiumcodereview.appspot.com//9414032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5113 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 19:43:59 +00:00
mattsh@google.com c93f8c7ca5 documented component
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4968 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 18:48:14 +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
ngeoffray@google.com f7e1fdc684 Support for native in leg, and start moving native tests to a specific test suite.
Review URL: https://chromiumcodereview.appspot.com//9418045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4392 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 13:46:24 +00:00
sigmund@google.com 427d5e5ead remove promise:
- removes promise from corelib (use future instead)
 - move tests that depend on promises and proxies into samples/proxy/
 - remove dependence on promise from the rest of the system and tests

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4328 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 18:20: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
ahe@google.com 26d232679d Create a URI class in utils/ (based on client/util/).
Review URL: https://chromiumcodereview.appspot.com//9295043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
whesse@google.com 7eb6b33a01 Add temporary directory for dartc compilation of tests.
This subdirectory of the system temp directory is deleted after tests are run.
This CL also unifies finding of the top-level dart checkout directory.

BUG=dart:1167
TEST=tools/test.dart -cdartc,chromium

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3397 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 15:37:44 +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
whesse@google.com bb7ec07431 Add client/tests/client web tests to the test.dart test script.
BUG=
TEST=tools/test.dart --component=dartium,chromium,frogium client

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2939 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 11:55:08 +00:00
whesse@google.com f245169804 Add --list option to tools/test.dart.
BUG=
TEST=tools/test.dart --list

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2897 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-02 13:20:51 +00:00
whesse@google.com a3a4b50337 Add dartc junit tests to test.dart.
BUG=
TEST=tools/test.dart --component=dartc dartc/junit_tests

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2885 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-30 13:16:07 +00:00
whesse@google.com 7f1edc16cb Enable Dartium tests in tools/test.dart.
BUG=
TEST=tools/test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2312 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 15:23:09 +00:00
ager@google.com fd97081f49 Add --time option to dart test scripts.
This is useful for finding new tests that start taking a long time.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2183 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 16:33:16 +00:00
ager@google.com 5023793165 Correctly handle the --arch argument to dart test scripts.
Support a --verbose/-v flag that prints all commands run.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2169 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:48:09 +00:00