- 01 Dec, 2023 1 commit
-
-
Mouad Debbar authored
The tree is red due a non-hermetic customer test from `macos_ui`. The test was disabled in https://github.com/flutter/tests/pull/317 and an issue was filed at https://github.com/macosui/macos_ui/issues/499. We need this empty commit in order to re-run CI with the latest https://github.com/flutter/tests.
-
- 27 Oct, 2023 1 commit
-
-
Andrew Kolos authored
Fixes https://github.com/flutter/flutter/issues/136698. Alters how `throwToolExit` creates its matcher. This results is an improved description of the matcher. The mismatch description isn't improved by this, but I writing an entirely custom matcher to fix this isn't ideal either. We can instead mitigate the issue by augmenting the `toString` implementation of `ToolExit` to include the exit code, if it is non-null. With these changes, the first few lines of output from a test would look like this: ``` Expected: throws <Instance of 'ToolExit'> with `exitCode`: <42> and `message`: contains 'message' Actual: <Closure: () => Never> Which: threw ToolExit:<Exit code: 41232. Error: message> ```
-
- 20 Sep, 2023 1 commit
-
-
Michael Goderbauer authored
Avoids that dynamic accidentally sneaks in, see https://dart.dev/tools/analysis#enabling-additional-type-checks
-
- 31 Jul, 2023 1 commit
-
-
Danny Tuppeny authored
In the legacy VS Code DAP, we would deserialise the Flutter.Error event and provide some basic colouring (eg. stack frames are faded if not from user code and the text is split between stdout/stderr to allow the client to colour it). In the new DAPs we originally used `renderedErrorText` which didn't support either of these. This change adds changes to use the structured data (with some basic parsing because the source classes are in package:flutter and not accessible here) to provide a similar experience. It would be nicer if we could use the real underlying Flutter classes for this deserialisation, but extracting them from `package:flutter` and removing all dependencies on Flutter is a much larger job and I don't think should hold up providing improved error formatting for the new DAPs. Some comparisons: ![1_comparison](https://github.com/flutter/flutter/assets/1078012/74e7e6d6-c8d0-471f-b584-37ae148b0ce7) ![2_comparison](https://github.com/flutter/flutter/assets/1078012/21888934-6f2f-4048-86d7-bdf92d5c7301)
-
- 05 Jul, 2023 1 commit
-
-
Helin Shiah authored
This change is for an internal IDE client to send a custom hot reload request, as custom requests from the client must start with `$/`. ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. (this PR is linked internally) - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [test-exempt]: https://github.com/flutter/flutter/wiki/Tree-hygiene#tests [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat
-
- 02 Jun, 2023 1 commit
-
-
Alexander Aprelev authored
The fix is coming as part of https://dart-review.git.corp.google.com/c/sdk/+/306908 dart sdk roll as well as https://github.com/flutter/flutter/pull/128084. BUG=https://github.com/dart-lang/sdk/issues/52522
-
- 05 Apr, 2023 1 commit
-
-
Danny Tuppeny authored
[flutter_tools] Include mode in app.start event, and forward app.start to DAP clients
-
- 04 Apr, 2023 1 commit
-
-
Victoria Ashworth authored
Make flutter_adapter_test more resilient to pub output
-
- 16 Feb, 2023 1 commit
-
-
Danny Tuppeny authored
Sometimes when the integration tests run Flutter apps they get this output (perhaps based on timing of file modification times). Some of the tests want to verify strict output but not fail just based on these lines before the app starts. See https://github.com/flutter/flutter/issues/120015 / https://github.com/flutter/flutter/pull/120016.
-
- 15 Feb, 2023 1 commit
-
-
Christopher Fujino authored
* wip run_local_linter.dart * get run_local_linter.dart working * slow working implementation * speed up run_local_linter.dart * fix run_local_linter.dart * remove catchError * another fix * fix another * fix * more fixes * fix moar * fix moar * fix * finish * fix tests * clean up further * code review * delete run_local_linter.dart
-
- 04 Feb, 2023 1 commit
-
-
Brandon DeRosier authored
-
- 02 Feb, 2023 1 commit
-
-
Danny Tuppeny authored
-
- 19 Jan, 2023 1 commit
-
-
Danny Tuppeny authored
* Support logging 'flutter run' communication to DAP clients Fixes https://github.com/Dart-Code/Dart-Code/issues/4266. * Fix test
-
- 29 Sep, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 02 Aug, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 26 Jul, 2022 1 commit
-
-
Danny Tuppeny authored
* [flutter_tools] [dap] Ensure DAP sends app.stop/app.detach during terminate Fixes an issue where the flutter_tester device may not be cleaned up correctly if we just terminate the Flutter process. * Update integration test expectations * Revert accidental commit
-
- 19 Jul, 2022 1 commit
-
-
Danny Tuppeny authored
Provide more useful error message if a non-compliant DAP tool (or user) sends bad input to DAP server (#107827)
-
- 21 Jun, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 26 May, 2022 1 commit
-
-
Danny Tuppeny authored
* Fix issues running integration tests through DAP These adapters were incorrectly trying to connect a DDS instance even when Flutter would create its own. This change disables DDS in the DAP layer and leaves it to Flutter (although it passes `--no-dds` on to Flutter if provided to the DAP process). Also fixes an issue where we would unnecessarily connect the VM Service for tests even in 'noDebug' mode because of a change/fix that now includes a 'vmServiceUri' in the `test.startedProcess` event.
-
- 25 May, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 27 Apr, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 11 Apr, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 08 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 17 Mar, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 07 Feb, 2022 1 commit
-
-
Danny Tuppeny authored
* Add support for attachRequest in DAP, which runs "flutter attach" * Update DAP docs for attachRequest * Improve doc comments * Fix comments * Remove noDebug from attach + create a getter for `debug` * Fix indent
-
- 02 Feb, 2022 1 commit
-
-
Lau Ching Jun authored
-
- 31 Jan, 2022 1 commit
-
-
Caio Agiani authored
-
- 29 Jan, 2022 1 commit
-
-
Danny Tuppeny authored
Fixes #97238.
-
- 27 Jan, 2022 1 commit
-
-
Danny Tuppeny authored
-
- 21 Jan, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 01 Dec, 2021 1 commit
-
-
Danny Tuppeny authored
-
- 24 Nov, 2021 1 commit
-
-
Nate Bosch authored
-
- 23 Nov, 2021 1 commit
-
-
Danny Tuppeny authored
-
- 19 Nov, 2021 1 commit
-
-
Danny Tuppeny authored
-
- 02 Nov, 2021 1 commit
-
-
Jenn Magder authored
-
- 28 Oct, 2021 1 commit
-
-
Danny Tuppeny authored
* Add support for running tests through debug-adapter * Improve comments about stdout + remove pedantic
-
- 27 Oct, 2021 1 commit
-
-
Danny Tuppeny authored
-