Index: runtime/observatory/tests/observatory_ui/cpu_profile_table/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/cpu_profile/element_test.dart b/runtime/observatory/tests/observatory_ui/cpu_profile_table/element_test.dart |
similarity index 91% |
copy from runtime/observatory/tests/observatory_ui/cpu_profile/element_test.dart |
copy to runtime/observatory/tests/observatory_ui/cpu_profile_table/element_test.dart |
index 249d46589022eab9e63e4705814ed46167781c9f..abe2db4323e47aff09a3885bc06f9429a72ff751 100644 |
--- a/runtime/observatory/tests/observatory_ui/cpu_profile/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/cpu_profile_table/element_test.dart |
@@ -6,14 +6,14 @@ import 'dart:html'; |
import 'dart:async'; |
import 'package:unittest/unittest.dart'; |
import 'package:observatory/models.dart' as M; |
-import 'package:observatory/src/elements/cpu_profile.dart'; |
+import 'package:observatory/src/elements/cpu_profile_table.dart'; |
import 'package:observatory/src/elements/cpu_profile/virtual_tree.dart'; |
import 'package:observatory/src/elements/stack_trace_tree_config.dart'; |
import 'package:observatory/src/elements/sample_buffer_control.dart'; |
import '../mocks.dart'; |
main() { |
- CpuProfileElement.tag.ensureRegistration(); |
+ CpuProfileTableElement.tag.ensureRegistration(); |
final sTag = SampleBufferControlElement.tag.name; |
final cTag = StackTraceTreeConfigElement.tag.name; |
@@ -25,7 +25,7 @@ main() { |
final notifs = new NotificationRepositoryMock(); |
test('instantiation', () { |
final profiles = new IsolateSampleProfileRepositoryMock(); |
- final e = new CpuProfileElement(vm, isolate, events, notifs, profiles); |
+ final e = new CpuProfileTableElement(vm, isolate, events, notifs, profiles); |
expect(e, isNotNull, reason: 'element correctly created'); |
}); |
test('elements created', () async { |
@@ -41,7 +41,7 @@ main() { |
return controller.stream; |
} |
); |
- final e = new CpuProfileElement(vm, isolate, events, notifs, profiles); |
+ final e = new CpuProfileTableElement(vm, isolate, events, notifs, profiles); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |