| Index: runtime/observatory/tests/service/get_cpu_profile_timeline_rpc_test.dart
|
| diff --git a/runtime/observatory/tests/service/get_cpu_profile_timeline_rpc_test.dart b/runtime/observatory/tests/service/get_cpu_profile_timeline_rpc_test.dart
|
| index cf534c2d3edaa7f8dfda237c463d1c6483d2cc27..2d2b802d9c080122fb4961b873f9c1e16cb2080c 100644
|
| --- a/runtime/observatory/tests/service/get_cpu_profile_timeline_rpc_test.dart
|
| +++ b/runtime/observatory/tests/service/get_cpu_profile_timeline_rpc_test.dart
|
| @@ -31,6 +31,7 @@ var tests = [
|
| expect(result['type'], equals('_CpuProfileTimeline'));
|
|
|
| var isString = new isInstanceOf<String>();
|
| + var isInt = new isInstanceOf<int>();
|
|
|
| Map frames = result['stackFrames'];
|
| for (Map frame in frames.values) {
|
| @@ -44,9 +45,9 @@ var tests = [
|
| List events = result['traceEvents'];
|
| for (Map event in events) {
|
| expect(event['ph'], equals('P'));
|
| - expect(event['pid'], isString);
|
| - expect(event['tid'], isString);
|
| - expect(event['ts'], isString);
|
| + expect(event['pid'], isInt);
|
| + expect(event['tid'], isInt);
|
| + expect(event['ts'], isInt);
|
| expect(event['category'], equals("Dart"));
|
| expect(frames.containsKey(event['sf']), isTrue);
|
| }
|
|
|