Commit Graph

10 Commits

Author SHA1 Message Date
Robert Nystrom 35da19ac07 Migrate standalone_2 to null safety.
Change-Id: I0e97add738bc79314a210cf137525b7391467fc2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152595
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
2020-06-26 19:17:50 +00:00
Siva Annamalai f1689b6eb0 Migrate first block of tests in standalone to standalone_2
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2984363004 .
2017-08-01 09:05:01 -07:00
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
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
vsm@google.com b29a528fc6 Revert "Revert "Remove typeddata transferable constructors""
Take #2. The only change here is the additional test fix under runtime that I missed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21586 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:36:04 +00:00
vsm@google.com 5a7d2854fa Revert "Remove typeddata transferable constructors"
This reverts commit r21576.  Looks like I missed some tests.

TBR=siva

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21580 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:22:07 +00:00
vsm@google.com 36d8fd9882 Remove typeddata transferable constructors
These constructors are not in the public/shared typeddata.dart.  Tests
updated accordingly.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21576 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:55:08 +00:00
floitsch@google.com 343fa26d65 Remove deprecated Expect from the libraries.
Review URL: https://codereview.chromium.org//13724021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21079 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 16:07:34 +00:00
asiva@google.com b368804b23 - Use dart:typeddata in the tests instead of dart:scalarlist
- delete byte_array_test.dart as a dart:typeddata version of this test
  is present in typed_data_test.dart
Review URL: https://codereview.chromium.org//12507012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20600 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 00:35:37 +00:00
fschneider@google.com f1fa8c68c2 Fix bug in optimized byte array views on tranferable backing stores.
This affects views when using scalarlist: The code generated
did not take the receiver class into account correctly,
so it only works for internal byte arrays.

For now, I just disable optimization for external backing stores.

The optimization will be added again for TypedDataViews in a future CL.

TEST=tests/standalone/byte_array_view_optimized_test.dart
Review URL: https://codereview.chromium.org//12779007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20036 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 17:13:44 +00:00