Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: runtime/observatory/tests/service/evaluate_in_frame_with_scope_test.dart

Issue 2934973002: Address observatory analysis issues. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--error_on_bad_type --error_on_bad_override 4 // VMOptions=--error_on_bad_type --error_on_bad_override
5 5
6 import 'dart:async';
7 import 'dart:developer'; 6 import 'dart:developer';
7
8 import 'package:observatory/service_io.dart'; 8 import 'package:observatory/service_io.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10
10 import 'service_test_common.dart'; 11 import 'service_test_common.dart';
11 import 'test_helper.dart'; 12 import 'test_helper.dart';
12 13
13 var thing1; 14 var thing1;
14 var thing2; 15 var thing2;
15 16
16 testeeMain() { 17 testeeMain() {
17 thing1 = 3; 18 thing1 = 3;
18 thing2 = 4; 19 thing2 = 4;
19 foo(42, 1984); 20 foo(42, 1984);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 print(result); 78 print(result);
78 } catch (e) { 79 } catch (e) {
79 didThrow = true; 80 didThrow = true;
80 expect(e.toString(), contains("invalid 'scope' parameter")); 81 expect(e.toString(), contains("invalid 'scope' parameter"));
81 } 82 }
82 expect(didThrow, isTrue); 83 expect(didThrow, isTrue);
83 }, 84 },
84 ]; 85 ];
85 86
86 main(args) => runIsolateTests(args, tests, testeeConcurrent: testeeMain); 87 main(args) => runIsolateTests(args, tests, testeeConcurrent: testeeMain);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698