File tree 8 files changed +9
-9
lines changed
8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ abstract class Device {
559
559
supportIndicator += ' ($type )' ;
560
560
}
561
561
table.add (< String > [
562
- device.name,
562
+ '${ device .name } (${ device . category })' ,
563
563
device.id,
564
564
getNameForTargetPlatform (targetPlatform),
565
565
'${await device .sdkNameAndVersion }$supportIndicator ' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class LinuxDevice extends DesktopDevice {
26
26
bool isSupported () => true ;
27
27
28
28
@override
29
- String get name => 'Linux desktop ' ;
29
+ String get name => 'Linux' ;
30
30
31
31
@override
32
32
Future <TargetPlatform > get targetPlatform async => TargetPlatform .linux_x64;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class MacOSDevice extends DesktopDevice {
24
24
bool isSupported () => true ;
25
25
26
26
@override
27
- String get name => 'macOS desktop ' ;
27
+ String get name => 'macOS' ;
28
28
29
29
@override
30
30
Future <TargetPlatform > get targetPlatform async => TargetPlatform .darwin_x64;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class WindowsDevice extends DesktopDevice {
27
27
bool isSupported () => true ;
28
28
29
29
@override
30
- String get name => 'Windows desktop ' ;
30
+ String get name => 'Windows' ;
31
31
32
32
@override
33
33
Future <TargetPlatform > get targetPlatform async => TargetPlatform .windows_x64;
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ void main() {
120
120
'''
121
121
2 connected devices:
122
122
123
- ephemeral • ephemeral • android-arm • Test SDK (1.2.3) (emulator)
124
- webby • webby • web-javascript • Web SDK (1.2.4) (emulator)
123
+ ephemeral (mobile) • ephemeral • android-arm • Test SDK (1.2.3) (emulator)
124
+ webby (mobile) • webby • web-javascript • Web SDK (1.2.4) (emulator)
125
125
126
126
• Cannot connect to device ABC
127
127
'''
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ void main() {
28
28
testWithoutContext ('LinuxDevice defaults' , () async {
29
29
final PrebuiltLinuxApp linuxApp = PrebuiltLinuxApp (executable: 'foo' );
30
30
expect (await device.targetPlatform, TargetPlatform .linux_x64);
31
- expect (device.name, 'Linux desktop ' );
31
+ expect (device.name, 'Linux' );
32
32
expect (await device.installApp (linuxApp), true );
33
33
expect (await device.uninstallApp (linuxApp), true );
34
34
expect (await device.isLatestBuildInstalled (linuxApp), true );
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ void main() {
40
40
testUsingContext ('defaults' , () async {
41
41
final MockMacOSApp mockMacOSApp = MockMacOSApp ();
42
42
expect (await device.targetPlatform, TargetPlatform .darwin_x64);
43
- expect (device.name, 'macOS desktop ' );
43
+ expect (device.name, 'macOS' );
44
44
expect (await device.installApp (mockMacOSApp), true );
45
45
expect (await device.uninstallApp (mockMacOSApp), true );
46
46
expect (await device.isLatestBuildInstalled (mockMacOSApp), true );
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void main() {
32
32
testUsingContext ('defaults' , () async {
33
33
final PrebuiltWindowsApp windowsApp = PrebuiltWindowsApp (executable: 'foo' );
34
34
expect (await device.targetPlatform, TargetPlatform .windows_x64);
35
- expect (device.name, 'Windows desktop ' );
35
+ expect (device.name, 'Windows' );
36
36
expect (await device.installApp (windowsApp), true );
37
37
expect (await device.uninstallApp (windowsApp), true );
38
38
expect (await device.isLatestBuildInstalled (windowsApp), true );
You can’t perform that action at this time.
0 commit comments