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

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

Issue 2940523003: Cleaned analysis result for observatory (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';
8 import 'package:observatory/service_io.dart'; 6 import 'package:observatory/service_io.dart';
9 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
10 import 'service_test_common.dart';
11 import 'test_helper.dart'; 8 import 'test_helper.dart';
12 9
13 var thing1; 10 var thing1;
14 var thing2; 11 var thing2;
15 12
16 testeeMain() { 13 testeeMain() {
17 thing1 = 3; 14 thing1 = 3;
18 thing2 = 4; 15 thing2 = 4;
19 } 16 }
20 17
(...skipping 30 matching lines...) Expand all
51 print(result); 48 print(result);
52 } catch (e) { 49 } catch (e) {
53 didThrow = true; 50 didThrow = true;
54 expect(e.toString(), contains("invalid 'scope' parameter")); 51 expect(e.toString(), contains("invalid 'scope' parameter"));
55 } 52 }
56 expect(didThrow, isTrue); 53 expect(didThrow, isTrue);
57 }, 54 },
58 ]; 55 ];
59 56
60 main(args) => runIsolateTests(args, tests, testeeBefore: testeeMain); 57 main(args) => runIsolateTests(args, tests, testeeBefore: testeeMain);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698