Commit graph

26 commits

Author SHA1 Message Date
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
kevmoo@google.com 5952d7a067 Upgrading tests with unittest deprecations
R=ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34569 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 18:33:18 +00:00
efortuna@google.com cc9f39dfba Add back appendBlob and send variants in WebSocket.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24854 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 17:26:51 +00:00
efortuna@google.com f81052f2c8 Reapply expanding overloaded functions into separate functions.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24709 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 22:32:44 +00:00
efortuna@google.com 3629744086 "Reverting 24655"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24656 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 21:09:19 +00:00
efortuna@google.com fc0df10d8b Expand overloaded methods and optional parameters in the html library.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24655 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 20:49:07 +00:00
sgjesse@google.com 9d6a64e81b Merge the dart:uri library into dart:core and update the Uri class
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.

* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization

R=floitsch@google.com, lrn@google.com, nweiz@google.com, scheglov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
blois@google.com fd2c1cbf89 Adding supported checks and flags to FormData
Also fixing the test to pass on IE10.

BUG=4793

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18554 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:23:52 +00:00
blois@google.com f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +00:00
efortuna@google.com 4622dc3e76 Make browser tests all run from a server instead of the local filesystem.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17007 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:11:07 +00:00
efortuna@google.com 274ac61643 Reverting everything because package root + dartium is causing serious problems.
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com 1d3b0c4b3b Add cross-origin test with credentials. I modified the test framework slightly
as well to Enable Cross-origin requests while testing from local files.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 02:43:31 +00:00
blois@google.com d14fcf38fd Adding test for validating that formdata is sent.
BUG=7152

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16524 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 22:28:00 +00:00
blois@google.com dd811bb838 Making FormData able to add Blobs and Files.
BUG=7152

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15871 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 22:32:34 +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
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
podivilov@google.com b6620e03b8 Reapply revision 11570, custom callbacks are now implemented in dartium.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11588 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 09:06:43 +00:00
ricow@google.com c35c494dfa Revert revision 11570, this still has dartium failures.
Review URL: https://chromiumcodereview.appspot.com//10908003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11576 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 06:23:25 +00:00
efortuna@google.com 49b238839d Reapply DOMFormData => FormData rename. (this time with a fix for Dartium)
Review URL: https://chromiumcodereview.appspot.com//10887016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11570 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 23:07:08 +00:00
efortuna@google.com 6b58e3ed99 Revert change 11459 and 11464.
Review URL: https://chromiumcodereview.appspot.com//10892010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11466 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 17:24:41 +00:00
efortuna@google.com 586d5de486 Provide a constructor for (DOM)FormData, and rename to the more standard name,
FormData. Also add a constructor for FormElement.
Review URL: https://chromiumcodereview.appspot.com//10871070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11459 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 16:21:28 +00:00