| 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.all_the_rest_test; | 8 library engine.all_the_rest_test; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 4666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4677 } | 4677 } |
| 4678 | 4678 |
| 4679 void test_getDart2JsExecutable() { | 4679 void test_getDart2JsExecutable() { |
| 4680 DirectoryBasedDartSdk sdk = _createDartSdk(); | 4680 DirectoryBasedDartSdk sdk = _createDartSdk(); |
| 4681 JavaFile executable = sdk.dart2JsExecutable; | 4681 JavaFile executable = sdk.dart2JsExecutable; |
| 4682 expect(executable, isNotNull); | 4682 expect(executable, isNotNull); |
| 4683 expect(executable.exists(), isTrue); | 4683 expect(executable.exists(), isTrue); |
| 4684 expect(executable.isExecutable(), isTrue); | 4684 expect(executable.isExecutable(), isTrue); |
| 4685 } | 4685 } |
| 4686 | 4686 |
| 4687 void test_getDartFmtExecutable() { | |
| 4688 DirectoryBasedDartSdk sdk = _createDartSdk(); | |
| 4689 JavaFile executable = sdk.dartFmtExecutable; | |
| 4690 expect(executable, isNotNull); | |
| 4691 expect(executable.exists(), isTrue); | |
| 4692 expect(executable.isExecutable(), isTrue); | |
| 4693 } | |
| 4694 | |
| 4695 void test_getDirectory() { | 4687 void test_getDirectory() { |
| 4696 DirectoryBasedDartSdk sdk = _createDartSdk(); | 4688 DirectoryBasedDartSdk sdk = _createDartSdk(); |
| 4697 JavaFile directory = sdk.directory; | 4689 JavaFile directory = sdk.directory; |
| 4698 expect(directory, isNotNull); | 4690 expect(directory, isNotNull); |
| 4699 expect(directory.exists(), isTrue); | 4691 expect(directory.exists(), isTrue); |
| 4700 } | 4692 } |
| 4701 | 4693 |
| 4702 void test_getDocDirectory() { | 4694 void test_getDocDirectory() { |
| 4703 DirectoryBasedDartSdk sdk = _createDartSdk(); | 4695 DirectoryBasedDartSdk sdk = _createDartSdk(); |
| 4704 JavaFile directory = sdk.docDirectory; | 4696 JavaFile directory = sdk.docDirectory; |
| (...skipping 3876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8581 if (_expectedExternalScriptName == null) { | 8573 if (_expectedExternalScriptName == null) { |
| 8582 expect(scriptSource, isNull, reason: "script $scriptIndex"); | 8574 expect(scriptSource, isNull, reason: "script $scriptIndex"); |
| 8583 } else { | 8575 } else { |
| 8584 expect(scriptSource, isNotNull, reason: "script $scriptIndex"); | 8576 expect(scriptSource, isNotNull, reason: "script $scriptIndex"); |
| 8585 String actualExternalScriptName = scriptSource.shortName; | 8577 String actualExternalScriptName = scriptSource.shortName; |
| 8586 expect(actualExternalScriptName, _expectedExternalScriptName, | 8578 expect(actualExternalScriptName, _expectedExternalScriptName, |
| 8587 reason: "script $scriptIndex"); | 8579 reason: "script $scriptIndex"); |
| 8588 } | 8580 } |
| 8589 } | 8581 } |
| 8590 } | 8582 } |
| OLD | NEW |