Index: runtime/observatory/test/type_arguments_test.dart |
diff --git a/runtime/observatory/test/type_arguments_test.dart b/runtime/observatory/test/type_arguments_test.dart |
deleted file mode 100644 |
index aaa85c75cfe0454253d2465f7cd227e8449d1dcb..0000000000000000000000000000000000000000 |
--- a/runtime/observatory/test/type_arguments_test.dart |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-// Copyright (c) 2015, 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. |
-// VMOptions=--compile-all --error_on_bad_type --error_on_bad_override --checked |
- |
-import 'package:observatory/service_io.dart'; |
-import 'package:unittest/unittest.dart'; |
-import 'test_helper.dart'; |
- |
-var tests = [ |
-(Isolate isolate) => |
- isolate.getTypeArgumentsList(false).then((ServiceMap allTypeArgs) { |
- var allTypeArgsTableSize = allTypeArgs['canonicalTypeArgumentsTableSize']; |
- var allTypeArgsTableUsed = allTypeArgs['canonicalTypeArgumentsTableUsed']; |
- var allTypeArgsList = allTypeArgs['typeArguments']; |
- expect(allTypeArgsList, isNotNull); |
- // Check size >= used. |
- expect(allTypeArgsTableSize, greaterThanOrEqualTo(allTypeArgsTableUsed)); |
- return isolate.getTypeArgumentsList(true).then((ServiceMap instantiatedTypeARgs) { |
- var instantiatedTypeArgsTableSize = |
- instantiatedTypeARgs['canonicalTypeArgumentsTableSize']; |
- var instantiatedTypeArgsTableUsed = |
- instantiatedTypeARgs['canonicalTypeArgumentsTableUsed']; |
- // Check size >= used. |
- expect(instantiatedTypeArgsTableSize, |
- greaterThanOrEqualTo(instantiatedTypeArgsTableUsed)); |
- // Check that |instantiated| <= |all| |
- var instantiatedTypeArgsList = instantiatedTypeARgs['typeArguments']; |
- expect(instantiatedTypeArgsList, isNotNull); |
- expect(allTypeArgsList.length, |
- greaterThanOrEqualTo(instantiatedTypeArgsList.length)); |
- // Check that we can 'get' this object again. |
- var firstType = allTypeArgsList[0]; |
- return isolate.getObject(firstType['id']).then((ServiceMap map) { |
- expect(firstType['name'], map['name']); |
- }); |
- }); |
- }), |
-]; |
- |
-main(args) => runIsolateTests(args, tests); |