Skip to content

Commit

Permalink
Update stager filenames in launch configuration / commands (flutter#6164
Browse files Browse the repository at this point in the history
)
  • Loading branch information
DanTup authored Aug 9, 2023
1 parent 50108bc commit 99a197c
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions packages/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,25 @@
"name": "memory/default",
"request": "launch",
"type": "dart",
"program": "devtools_app/test/test_infra/scenes/memory/default.stager_app.dart",
"program": "devtools_app/test/test_infra/scenes/memory/default.stager_app.g.dart",
},
{
"name": "memory/diff_snapshot",
"request": "launch",
"type": "dart",
"program": "devtools_app/test/test_infra/scenes/memory/diff_snapshot.stager_app.dart",
"program": "devtools_app/test/test_infra/scenes/memory/diff_snapshot.stager_app.g.dart",
},
{
"name": "performance/default",
"request": "launch",
"type": "dart",
"program": "devtools_app/test/test_infra/scenes/performance/default.stager_app.dart",
"program": "devtools_app/test/test_infra/scenes/performance/default.stager_app.g.dart",
},
{
"name": "profiler/default",
"request": "launch",
"type": "dart",
"program": "devtools_app/test/test_infra/scenes/cpu_profiler/default.stager_app.dart",
"program": "devtools_app/test/test_infra/scenes/cpu_profiler/default.stager_app.g.dart",
},
{
"name": "fixtures/flutter_app",
Expand Down
8 changes: 4 additions & 4 deletions packages/devtools_app/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@
"name": "memory/default",
"request": "launch",
"type": "dart",
"program": "test/test_infra/scenes/memory/default.stager_app.dart",
"program": "test/test_infra/scenes/memory/default.stager_app.g.dart",
},
{
"name": "memory/diff_snapshot",
"request": "launch",
"type": "dart",
"program": "test/test_infra/scenes/memory/diff_snapshot.stager_app.dart",
"program": "test/test_infra/scenes/memory/diff_snapshot.stager_app.g.dart",
},
{
"name": "performance/default",
"request": "launch",
"type": "dart",
"program": "test/test_infra/scenes/performance/default.stager_app.dart",
"program": "test/test_infra/scenes/performance/default.stager_app.g.dart",
},
{
"name": "attach",
"type": "dart",
"request": "attach",
},
]
}
}
4 changes: 2 additions & 2 deletions packages/devtools_app/test/test_infra/scenes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ flutter pub run build_runner build --delete-conflicting-outputs

To run:
```
flutter run -t test/test_infra/scenes/hello.stager_app.dart -d macos
flutter run -t test/test_infra/scenes/hello.stager_app.g.dart -d macos
```

Configuration for VSCode:
Expand All @@ -18,7 +18,7 @@ Configuration for VSCode:
"cwd": "devtools_app",
"request": "launch",
"type": "dart",
"program": "test/scenes/memory/default.stager_app.dart",
"program": "test/scenes/memory/default.stager_app.g.dart",
"deviceId": "macos"
},
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'package:vm_service/vm_service.dart';
import '../../test_data/cpu_profiler/cpu_profile.dart';

/// To run:
/// flutter run -t test/test_infra/scenes/cpu_profiler/default.stager_app.dart -d macos
/// flutter run -t test/test_infra/scenes/cpu_profiler/default.stager_app.g.dart -d macos
class CpuProfilerDefaultScene extends Scene {
late ProfilerScreenController controller;
late FakeServiceManager fakeServiceManager;
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_app/test/test_infra/scenes/hello.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:flutter/material.dart';
import 'package:stager/stager.dart';

/// To run:
/// flutter run -t test/scenes/hello.stager_app.dart -d macos
/// flutter run -t test/scenes/hello.stager_app.g.dart -d macos
class HelloScene extends Scene {
@override
Widget build(BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import '../../../test_infra/test_data/memory/heap/heap_data.dart';
import '../../../test_infra/test_data/memory_allocation.dart';

/// To run:
/// flutter run -t test/test_infra/scenes/memory/default.stager_app.dart -d macos
/// flutter run -t test/test_infra/scenes/memory/default.stager_app.g.dart -d macos
class MemoryDefaultScene extends Scene {
late MemoryController controller;
late FakeServiceManager fakeServiceManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import 'package:stager/stager.dart';
import '../../../test_infra/test_data/memory/heap/heap_data.dart';

/// To run:
/// flutter run -t test/test_infra/scenes/memory/diff_snapshot.stager_app.dart -d macos
/// flutter run -t test/test_infra/scenes/memory/diff_snapshot.stager_app.g.dart -d macos
class DiffSnapshotScene extends Scene {
late DiffPaneController diffController;
late FakeServiceManager fakeServiceManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'package:flutter/material.dart';
import 'package:stager/stager.dart';

/// To run:
/// flutter run -t test/test_infra/scenes/performance/default.stager_app.dart -d macos
/// flutter run -t test/test_infra/scenes/performance/default.stager_app.g.dart -d macos
class PerformanceDefaultScene extends Scene {
late PerformanceController controller;

Expand Down

0 comments on commit 99a197c

Please sign in to comment.