Index: runtime/observatory/tests/observatory_ui/view_footer/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/view_footer/element_test.dart b/runtime/observatory/tests/observatory_ui/view_footer/element_test.dart |
index 2f387c6a057e44a718391d2f5d2d052b29f68660..f3ab727b2b5642337b1697f8ba1a7db09c61cf70 100644 |
--- a/runtime/observatory/tests/observatory_ui/view_footer/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/view_footer/element_test.dart |
@@ -3,20 +3,17 @@ |
// BSD-style license that can be found in the LICENSE file. |
import 'dart:html'; |
import 'package:unittest/unittest.dart'; |
-import 'package:observatory/src/elements/helpers/rendering_queue.dart'; |
import 'package:observatory/src/elements/view_footer.dart'; |
main() { |
ViewFooterElement.tag.ensureRegistration(); |
- final TimedRenderingBarrier barrier = new TimedRenderingBarrier(); |
- final RenderingQueue queue = new RenderingQueue.fromBarrier(barrier); |
test('instantiation', () { |
final ViewFooterElement e = new ViewFooterElement(); |
expect(e, isNotNull, reason: 'element correctly created'); |
}); |
test('elements created', () async { |
- final ViewFooterElement e = new ViewFooterElement(queue: queue); |
+ final ViewFooterElement e = new ViewFooterElement(); |
document.body.append(e); |
await e.onRendered.first; |
expect(e.children.length, isNonZero, reason: 'has elements'); |