Sector demo is broken because of compositor changes

We need to implement visitChildren for the RenderObjects in the sector demo.
Also, add a test.

Fixes #790
This commit is contained in:
Adam Barth
2015-08-26 10:57:52 -07:00
parent ce28a7176e
commit 2e2fa94e1b
4 changed files with 55 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
import 'package:test/test.dart';
import '../rendering/layout_utils.dart';
import '../../../../examples/rendering/sector_layout.dart';
void main() {
test('Sector layout can paint', () {
RenderingTester tester = new RenderingTester(root: buildSectorExample());
tester.pumpFrame();
});
}