| 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 // Library for creating mock versions of platform and internal libraries. |    5 // Library for creating mock versions of platform and internal libraries. | 
|    6  |    6  | 
|    7 library mock_libraries; |    7 library mock_libraries; | 
|    8  |    8  | 
|    9 const DEFAULT_PLATFORM_CONFIG = """ |    9 const DEFAULT_PLATFORM_CONFIG = """ | 
|   10 [libraries] |   10 [libraries] | 
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   56   'int': 'abstract class int extends num { }', |   56   'int': 'abstract class int extends num { }', | 
|   57   'Iterable': ''' |   57   'Iterable': ''' | 
|   58       abstract class Iterable<E> { |   58       abstract class Iterable<E> { | 
|   59           Iterator<E> get iterator => null; |   59           Iterator<E> get iterator => null; | 
|   60       }''', |   60       }''', | 
|   61   'Iterator': ''' |   61   'Iterator': ''' | 
|   62       abstract class Iterator<E> { |   62       abstract class Iterator<E> { | 
|   63           E get current => null; |   63           E get current => null; | 
|   64       }''', |   64       }''', | 
|   65   'LinkedHashMap': r''' |   65   'LinkedHashMap': r''' | 
|   66       class LinkedHashMap<K, V> implements Map<K, V> { |   66       class LinkedHashMap { | 
|   67         factory LinkedHashMap._empty() => null; |   67         factory LinkedHashMap._empty() => null; | 
|   68         factory LinkedHashMap._literal(elements) => null; |   68         factory LinkedHashMap._literal(elements) => null; | 
|   69         static _makeEmpty() => null; |   69         static _makeEmpty() => null; | 
|   70         static _makeLiteral(elements) => null; |   70         static _makeLiteral(elements) => null; | 
|   71       }''', |   71       }''', | 
|   72   'List': r''' |   72   'List': r''' | 
|   73       class List<E> extends Iterable<E> { |   73       class List<E> extends Iterable<E> { | 
|   74         var length; |   74         var length; | 
|   75         List([length]); |   75         List([length]); | 
|   76         List.filled(length, element); |   76         List.filled(length, element); | 
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  456  |  456  | 
|  457     const LookupMap(this._entries, [this._nestedMaps = const []]) |  457     const LookupMap(this._entries, [this._nestedMaps = const []]) | 
|  458         : _key = null, _value = null; |  458         : _key = null, _value = null; | 
|  459  |  459  | 
|  460     const LookupMap.pair(this._key, this._value) |  460     const LookupMap.pair(this._key, this._value) | 
|  461         : _entries = const [], _nestedMaps = const []; |  461         : _entries = const [], _nestedMaps = const []; | 
|  462     V operator[](K k) => null; |  462     V operator[](K k) => null; | 
|  463   }''', |  463   }''', | 
|  464   '_version': 'const _version = "0.0.1+1";', |  464   '_version': 'const _version = "0.0.1+1";', | 
|  465 }; |  465 }; | 
| OLD | NEW |