diff --git a/engine/src/flutter/tests/raw/sector_layout-expected.txt b/engine/src/flutter/tests/raw/sector_layout-expected.txt new file mode 100644 index 0000000000..6a9290c5f8 --- /dev/null +++ b/engine/src/flutter/tests/raw/sector_layout-expected.txt @@ -0,0 +1,27 @@ +CONSOLE: TestRenderView enabled +CONSOLE: +PAINT FOR FRAME #1 ---------------------------------------------- +1 | TestDisplayList() constructor: 800.0 x 600.0 +1 | paintChild RenderBoxToRenderSectorAdapter at Point(0.0, 0.0) +1 | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | paintChild RenderSectorRing at Point(400.0, 300.0) +1 | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | paintChild RenderSolidColor at Point(0.0, 0.0) +1 | | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | | drawPath(Instance of 'Path', Paint(Color(0xff00ffff))) +1 | | | paintChild RenderSolidColor at Point(0.0, 0.0) +1 | | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | | drawPath(Instance of 'Path', Paint(Color(0xff0000ff))) +1 | | | paintChild RenderSectorSlice at Point(0.0, 0.0) +1 | | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | | paintChild RenderSolidColor at Point(0.0, 0.0) +1 | | | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | | | drawPath(Instance of 'Path', Paint(Color(0xffffff00))) +1 | | | | paintChild RenderSolidColor at Point(0.0, 0.0) +1 | | | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | | | drawPath(Instance of 'Path', Paint(Color(0xffff9000))) +1 | | | | paintChild RenderSolidColor at Point(0.0, 0.0) +1 | | | | | TestDisplayList() constructor: 800.0 x 600.0 +1 | | | | | drawPath(Instance of 'Path', Paint(Color(0xff00ff00))) +------------------------------------------------------------------------ +PAINTED 1 FRAMES diff --git a/engine/src/flutter/tests/raw/sector_layout.dart b/engine/src/flutter/tests/raw/sector_layout.dart new file mode 100644 index 0000000000..e3abc94e4a --- /dev/null +++ b/engine/src/flutter/tests/raw/sector_layout.dart @@ -0,0 +1,12 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import 'dart:async'; + +import '../../examples/rendering/sector_layout.dart'; +import '../resources/display_list.dart'; + +void main() { + new TestRenderView(buildSectorExample()).endTest(); +}