42a6ac4315
In this CL, I run plugin code that responds to a request in an error zone. The bulk of this change though is the tests that verify how we handle asynchronous and synchronous thrown errors. I separate some shared code from plugin_server_test into a shared lint rules file and a base class. Then a second test is introduced with a few error cases. Change-Id: I4e252ae0d3bec0cf6625c0044681677fba3132bd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384140 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
16 lines
443 B
Dart
16 lines
443 B
Dart
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
|
|
|
import 'edit/test_all.dart' as edit;
|
|
import 'src/test_all.dart' as src;
|
|
|
|
void main() {
|
|
defineReflectiveSuite(() {
|
|
edit.main();
|
|
src.main();
|
|
});
|
|
}
|