| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 | 6 |
| 7 import 'package:boolean_selector/boolean_selector.dart'; | 7 import 'package:boolean_selector/boolean_selector.dart'; |
| 8 import 'package:collection/collection.dart'; | 8 import 'package:collection/collection.dart' hide mapMap, mergeMaps; |
| 9 | 9 |
| 10 import '../frontend/skip.dart'; | 10 import '../frontend/skip.dart'; |
| 11 import '../frontend/timeout.dart'; | 11 import '../frontend/timeout.dart'; |
| 12 import '../utils.dart'; | 12 import '../utils.dart'; |
| 13 import 'operating_system.dart'; | 13 import 'operating_system.dart'; |
| 14 import 'platform_selector.dart'; | 14 import 'platform_selector.dart'; |
| 15 import 'test_platform.dart'; | 15 import 'test_platform.dart'; |
| 16 | 16 |
| 17 /// Metadata for a test or test suite. | 17 /// Metadata for a test or test suite. |
| 18 /// | 18 /// |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 _serializeTimeout(Timeout timeout) { | 316 _serializeTimeout(Timeout timeout) { |
| 317 if (timeout == Timeout.none) return 'none'; | 317 if (timeout == Timeout.none) return 'none'; |
| 318 return { | 318 return { |
| 319 'duration': timeout.duration == null | 319 'duration': timeout.duration == null |
| 320 ? null | 320 ? null |
| 321 : timeout.duration.inMicroseconds, | 321 : timeout.duration.inMicroseconds, |
| 322 'scaleFactor': timeout.scaleFactor | 322 'scaleFactor': timeout.scaleFactor |
| 323 }; | 323 }; |
| 324 } | 324 } |
| 325 } | 325 } |
| OLD | NEW |