Devicelab memory usage test that navigates repeatedly to a screen within Gallery (#7137)

This commit is contained in:
Jason Simmons
2016-12-05 11:08:25 -08:00
committed by GitHub
parent 7034a03c67
commit 7da3ab634a
5 changed files with 68 additions and 0 deletions

View File

@@ -52,6 +52,14 @@ TaskFunction createHelloWorldMemoryTest() {
);
}
TaskFunction createGalleryNavigationMemoryTest() {
return new MemoryTest(
'${flutterDirectory.path}/examples/flutter_gallery',
'io.flutter.examples.gallery',
testTarget: 'test_driver/memory_nav.dart',
);
}
/// Measure application startup performance.
class StartupTest {
static const Duration _startupTimeout = const Duration(minutes: 2);