| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.utilities_test; | 8 library engine.utilities_test; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| 11 | 11 |
| 12 import 'package:analyzer/src/generated/ast.dart'; | 12 import 'package:analyzer/src/generated/ast.dart'; |
| 13 import 'package:analyzer/src/generated/engine.dart'; | |
| 14 import 'package:analyzer/src/generated/java_core.dart'; | 13 import 'package:analyzer/src/generated/java_core.dart'; |
| 15 import 'package:analyzer/src/generated/java_engine.dart'; | 14 import 'package:analyzer/src/generated/java_engine.dart'; |
| 16 import 'package:analyzer/src/generated/scanner.dart'; | 15 import 'package:analyzer/src/generated/scanner.dart'; |
| 17 import 'package:analyzer/src/generated/source.dart'; | 16 import 'package:analyzer/src/generated/source.dart'; |
| 18 import 'package:analyzer/src/generated/testing/ast_factory.dart'; | 17 import 'package:analyzer/src/generated/testing/ast_factory.dart'; |
| 19 import 'package:analyzer/src/generated/testing/token_factory.dart'; | 18 import 'package:analyzer/src/generated/testing/token_factory.dart'; |
| 20 import 'package:analyzer/src/generated/utilities_collection.dart'; | 19 import 'package:analyzer/src/generated/utilities_collection.dart'; |
| 21 import 'package:unittest/unittest.dart'; | 20 import 'package:unittest/unittest.dart'; |
| 22 | 21 |
| 23 import '../reflective_tests.dart'; | 22 import '../reflective_tests.dart'; |
| (...skipping 5226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5250 } | 5249 } |
| 5251 | 5250 |
| 5252 void test_get_added() { | 5251 void test_get_added() { |
| 5253 TokenMap tokenMap = new TokenMap(); | 5252 TokenMap tokenMap = new TokenMap(); |
| 5254 Token key = TokenFactory.tokenFromType(TokenType.AT); | 5253 Token key = TokenFactory.tokenFromType(TokenType.AT); |
| 5255 Token value = TokenFactory.tokenFromType(TokenType.AT); | 5254 Token value = TokenFactory.tokenFromType(TokenType.AT); |
| 5256 tokenMap.put(key, value); | 5255 tokenMap.put(key, value); |
| 5257 expect(tokenMap.get(key), same(value)); | 5256 expect(tokenMap.get(key), same(value)); |
| 5258 } | 5257 } |
| 5259 } | 5258 } |
| OLD | NEW |