Commit Graph

3 Commits

Author SHA1 Message Date
Bob Nystrom a80b71fc15 Fix issues around "utils.dart" and "util.dart" in lib_2/html.
- "util.dart" is completely unused, so deleted.

- We had two copies of "utils.dart" in two directories. It needs to
  exist in both places, but doesn't need to be copy/pasted. Replaced
  one with an export of the other.

- Fixed bad import paths to "../utils.dart" in html/custom/ tests.
  These were causing those tests to crash DDC. (Now most are instead
  failing because of #31577, so it's not a *huge* improvement, but it's
  a step in the right direction.)

- Don't use unittest in utils.dart.

Change-Id: I28c432b53c992a5ec790f5804453cddb0f44cbe5
Reviewed-on: https://dart-review.googlesource.com/27301
Reviewed-by: Vijay Menon <vsm@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2017-12-07 19:35:58 +00:00
Bob Nystrom 307742d07e Move tests from package "test" (back) to "unittest".
Since unittest is known to work with test.dart as a test runner and is
strong mode clean, it's a safer bet than test.

Change-Id: Id120d4f871827b1f131dff2a5ef2f7efb15a8382
Reviewed-on: https://dart-review.googlesource.com/12125
Reviewed-by: Terry Lucas <terry@google.com>
2017-10-10 19:46:12 +00:00
Ben Konyi b4d5cbda31 Migrated test block 191 to Dart 2.0.
WIP.

Fixed status file migration issues for html and isolate directories.

Bug:
Change-Id: Id84c7ee89a7eb283d3202f3018d008cede0fda56
Reviewed-on: https://dart-review.googlesource.com/4920
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
2017-10-03 21:54:44 +00:00