a53e4dd504
Some of these are data files that weren't picked up by the migration script. Some are files that slipped between blocks of tests. Change-Id: I184dc4701758b280444d54ec55c225ade30f3276 Reviewed-on: https://dart-review.googlesource.com/26423 Reviewed-by: Emily Fortuna <efortuna@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com>
17 lines
528 B
Dart
17 lines
528 B
Dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
library generics_helper;
|
|
|
|
import 'package:expect/expect.dart';
|
|
|
|
typeParameters(mirror, parameterNames) {
|
|
Expect.listEquals(
|
|
parameterNames, mirror.typeVariables.map((v) => v.simpleName).toList());
|
|
}
|
|
|
|
typeArguments(mirror, argumentMirrors) {
|
|
Expect.listEquals(argumentMirrors, mirror.typeArguments);
|
|
}
|