Add a command that can capture a Skia picture of a Flutter frame and send it to a file or skiaserve debugger (#3165)

This commit is contained in:
Jason Simmons
2016-04-07 12:33:11 -07:00
parent 34a67329fd
commit 9d022ed26d
12 changed files with 120 additions and 25 deletions

View File

@@ -14,7 +14,7 @@ void main() {
test('Discovery Heartbeat', () async {
MockDeviceLogReader logReader = new MockDeviceLogReader();
ServiceProtocolDiscovery discoverer =
new ServiceProtocolDiscovery(logReader);
new ServiceProtocolDiscovery(logReader, ServiceProtocolDiscovery.kObservatoryService);
// Get next port future.
Future<int> nextPort = discoverer.nextPort();
expect(nextPort, isNotNull);