blob: 1e9e3462b12bba62c4511f1b5d9497a6d51a3807 [file] [log] [blame]
// Copyright (c) 2015, 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:observatory_2/service_common.dart';
import 'package:test/test.dart';
import 'test_helper.dart';
import 'dart:developer';
import 'service_test_common.dart';
testMain() async {
debugger(); // Stop here.
while (true) {}
var tests = <IsolateTest>[
// Stopped at 'debugger' statement.
// Kill the app
(Isolate isolate) async {
Map<String, dynamic> params = <String, dynamic>{};
ServiceObject result = await isolate.invokeRpc('kill', params);
expect(result.type, equals('Success'));
main(args) async => runIsolateTests(args, tests, testeeConcurrent: testMain);