d85ab6df0c
There are no functional changes, just changes to the way the logging functionality is implemented. The motivation for the changes is to allow future CLs to explore ways of changing the expectations so that async handling of messages won't produce flaky tests. All references to the 'messageLog' outside the class have been replaced by higher-level methods with a semantic meaning. The class has been split into an interface and an implementation, which allows the test-specific aspects to be in the `test` directory. Some additional code cleanup was also done. Change-Id: Ie515f71153a96fb6e92eb8e2eb05f4b5e064bbd7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/421965 Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Phil Quitslund <pquitslund@google.com>
29 lines
1.1 KiB
Dart
29 lines
1.1 KiB
Dart
// Copyright (c) 2014, 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 'blaze_changes_test.dart' as blaze_changes_test;
|
|
import 'command_line_options_test.dart' as command_line_options_test;
|
|
import 'get_version_test.dart' as get_version_test;
|
|
import 'message_scheduler_test.dart' as message_scheduler_test;
|
|
import 'set_subscriptions_invalid_service_test.dart'
|
|
as set_subscriptions_invalid_service_test;
|
|
import 'set_subscriptions_test.dart' as set_subscriptions_test;
|
|
import 'shutdown_test.dart' as shutdown_test;
|
|
import 'status_test.dart' as status_test;
|
|
|
|
void main() {
|
|
defineReflectiveSuite(() {
|
|
blaze_changes_test.main();
|
|
command_line_options_test.main();
|
|
get_version_test.main();
|
|
message_scheduler_test.main();
|
|
set_subscriptions_invalid_service_test.main();
|
|
set_subscriptions_test.main();
|
|
shutdown_test.main();
|
|
status_test.main();
|
|
}, name: 'server');
|
|
}
|