Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
86723ab9
Commit
86723ab9
authored
Apr 25, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better devices text (#3519)
* improve text for devices * nit * tweak text
parent
4e2657d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
widget_tester.dart
packages/flutter_test/lib/src/widget_tester.dart
+1
-1
devices.dart
packages/flutter_tools/lib/src/commands/devices.dart
+4
-1
No files found.
packages/flutter_test/lib/src/widget_tester.dart
View file @
86723ab9
...
...
@@ -318,7 +318,7 @@ class CommonFinders {
/// expect(tester, hasWidget(find.byKey(backKey)));
Finder
byKey
(
Key
key
)
=>
new
_KeyFinder
(
key
);
/// Finds widgets by searching for widge
h
ts with a particular type.
/// Finds widgets by searching for widgets with a particular type.
///
/// The `type` argument must be a subclass of [Widget].
///
...
...
packages/flutter_tools/lib/src/commands/devices.dart
View file @
86723ab9
...
...
@@ -33,7 +33,10 @@ class DevicesCommand extends FlutterCommand {
List
<
Device
>
devices
=
await
deviceManager
.
getAllConnectedDevices
();
if
(
devices
.
isEmpty
)
{
printStatus
(
'No connected devices.'
);
printStatus
(
'No devices detected.
\n\n
'
'If you expected your device to be detected, please run "flutter doctor" to diagnose
\n
'
'potential issues, or visit https://flutter.io/setup/ for troubleshooting tips.'
);
}
else
{
printStatus
(
'
${devices.length}
connected
${pluralize('device', devices.length)}
:
\n
'
);
Device
.
printDevices
(
devices
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment