mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

RenderView has to be a singleton for sanity during tests, otherwise they all end up in the dirty lists and we end up pumping all of them each frame.
11 lines
265 B
Dart
11 lines
265 B
Dart
import 'package:test/test.dart';
|
|
|
|
import '../rendering/rendering_tester.dart';
|
|
import '../../../../examples/rendering/sector_layout.dart';
|
|
|
|
void main() {
|
|
test('Sector layout can paint', () {
|
|
layout(buildSectorExample(), phase: EnginePhase.composite);
|
|
});
|
|
}
|