Unverified Commit 4ace88bf authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

fix spacing issue and add test for supportsHardwareRendering (#15305)

* fix spacing issue and add test for supportsHardwareRendering

* remove extra async tag

* move spacing to prev line
parent 046c6d5f
......@@ -289,12 +289,12 @@ class RunCommand extends RunCommandBase {
final bool enableSoftwareRendering = argResults['enable-software-rendering'] == true;
if (enableSoftwareRendering) {
printStatus(
'Using software rendering with device ${device.name}. You may get better performance'
'Using software rendering with device ${device.name}. You may get better performance '
'with hardware mode by configuring hardware rendering for your device.'
);
} else {
printStatus(
'Using hardware rendering with device ${device.name}. If you get graphics artifacts,'
'Using hardware rendering with device ${device.name}. If you get graphics artifacts, '
'consider enabling software rendering with "--enable-software-rendering".'
);
}
......
......@@ -109,6 +109,7 @@ Use the 'android' tool to install them:
hardware = 'goldfish';
final AndroidDevice device = new AndroidDevice('test');
expect(await device.isLocalEmulator, true);
expect(await device.supportsHardwareRendering, true);
}, overrides: <Type, Generator>{
ProcessManager: () => mockProcessManager,
});
......@@ -125,6 +126,7 @@ Use the 'android' tool to install them:
buildCharacteristics = 'att,emulator';
final AndroidDevice device = new AndroidDevice('test');
expect(await device.isLocalEmulator, true);
expect(await device.supportsHardwareRendering, true);
}, overrides: <Type, Generator>{
ProcessManager: () => mockProcessManager,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment