| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 message_extraction_test; | 5 library message_extraction_test; |
| 6 | 6 |
| 7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 import 'dart:async'; | 9 import 'dart:async'; |
| 10 import 'package:pathos/path.dart' as path; | 10 import 'package:path/path.dart' as path; |
| 11 import '../data_directory.dart'; | 11 import '../data_directory.dart'; |
| 12 | 12 |
| 13 final dart = Platform.executable; | 13 final dart = Platform.executable; |
| 14 | 14 |
| 15 // TODO(alanknight): We have no way of knowing what the package-root is, | 15 // TODO(alanknight): We have no way of knowing what the package-root is, |
| 16 // so when we're running under the test framework, which sets the | 16 // so when we're running under the test framework, which sets the |
| 17 // package-root, we use a horrible hack and infer it from the executable. | 17 // package-root, we use a horrible hack and infer it from the executable. |
| 18 final packageDir = _findPackageDir(dart); | 18 final packageDir = _findPackageDir(dart); |
| 19 | 19 |
| 20 /** | 20 /** |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 verify('Dies ist Plural (2).'); | 242 verify('Dies ist Plural (2).'); |
| 243 verify('Alice ging zu ihrem house'); | 243 verify('Alice ging zu ihrem house'); |
| 244 verify('Bob ging zu seinem house'); | 244 verify('Bob ging zu seinem house'); |
| 245 verify('cat ging zu seinem litter box'); | 245 verify('cat ging zu seinem litter box'); |
| 246 verify('Alice, Bob gingen zum magasin'); | 246 verify('Alice, Bob gingen zum magasin'); |
| 247 verify('Alice ging in dem magasin'); | 247 verify('Alice ging in dem magasin'); |
| 248 verify('Niemand ging zu magasin'); | 248 verify('Niemand ging zu magasin'); |
| 249 verify('Bob, Bob gingen zum magasin'); | 249 verify('Bob, Bob gingen zum magasin'); |
| 250 verify('Alice, Alice gingen zum magasin'); | 250 verify('Alice, Alice gingen zum magasin'); |
| 251 } | 251 } |
| OLD | NEW |