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
02c348b8
Unverified
Commit
02c348b8
authored
Jan 29, 2021
by
Sam Rawlins
Committed by
GitHub
Jan 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "unnecessary" imports in cupertino tests (#75006)
parent
02891b76
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
1 addition
and
25 deletions
+1
-25
action_sheet_test.dart
packages/flutter/test/cupertino/action_sheet_test.dart
+0
-1
colors_test.dart
packages/flutter/test/cupertino/colors_test.dart
+1
-2
date_picker_test.dart
packages/flutter/test/cupertino/date_picker_test.dart
+0
-1
dialog_test.dart
packages/flutter/test/cupertino/dialog_test.dart
+0
-1
form_row_test.dart
packages/flutter/test/cupertino/form_row_test.dart
+0
-1
form_section_test.dart
packages/flutter/test/cupertino/form_section_test.dart
+0
-1
picker_test.dart
packages/flutter/test/cupertino/picker_test.dart
+0
-1
refresh_test.dart
packages/flutter/test/cupertino/refresh_test.dart
+0
-2
scrollbar_test.dart
packages/flutter/test/cupertino/scrollbar_test.dart
+0
-1
search_field_test.dart
packages/flutter/test/cupertino/search_field_test.dart
+0
-2
segmented_control_test.dart
packages/flutter/test/cupertino/segmented_control_test.dart
+0
-1
sliding_segmented_control_test.dart
...lutter/test/cupertino/sliding_segmented_control_test.dart
+0
-2
switch_test.dart
packages/flutter/test/cupertino/switch_test.dart
+0
-1
text_field_restoration_test.dart
...s/flutter/test/cupertino/text_field_restoration_test.dart
+0
-2
text_selection_test.dart
packages/flutter/test/cupertino/text_selection_test.dart
+0
-2
text_selection_toolbar_button_test.dart
...er/test/cupertino/text_selection_toolbar_button_test.dart
+0
-2
text_selection_toolbar_test.dart
...s/flutter/test/cupertino/text_selection_toolbar_test.dart
+0
-1
theme_test.dart
packages/flutter/test/cupertino/theme_test.dart
+0
-1
No files found.
packages/flutter/test/cupertino/action_sheet_test.dart
View file @
02c348b8
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/cupertino/colors_test.dart
View file @
02c348b8
...
...
@@ -5,7 +5,6 @@
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'../rendering/mock_canvas.dart'
;
...
...
@@ -595,4 +594,4 @@ class _NullElement extends Element {
class
_NullWidget
extends
Widget
{
@override
Element
createElement
()
=>
throw
UnimplementedError
();
}
\ No newline at end of file
}
packages/flutter/test/cupertino/date_picker_test.dart
View file @
02c348b8
...
...
@@ -6,7 +6,6 @@ import 'dart:ui';
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/semantics.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
// scrolling by this offset will move the picker to the next item
...
...
packages/flutter/test/cupertino/dialog_test.dart
View file @
02c348b8
...
...
@@ -6,7 +6,6 @@ import 'dart:math';
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'../rendering/mock_canvas.dart'
;
...
...
packages/flutter/test/cupertino/form_row_test.dart
View file @
02c348b8
...
...
@@ -4,7 +4,6 @@
import
'package:flutter/cupertino.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
void
main
(
)
{
testWidgets
(
'Shows prefix'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/cupertino/form_section_test.dart
View file @
02c348b8
...
...
@@ -4,7 +4,6 @@
import
'package:flutter/cupertino.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
void
main
(
)
{
testWidgets
(
'Shows header'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/cupertino/picker_test.dart
View file @
02c348b8
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/cupertino/refresh_test.dart
View file @
02c348b8
...
...
@@ -6,8 +6,6 @@
import
'dart:async'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/cupertino/scrollbar_test.dart
View file @
02c348b8
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/cupertino/search_field_test.dart
View file @
02c348b8
...
...
@@ -3,8 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/cupertino/segmented_control_test.dart
View file @
02c348b8
...
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/cupertino/sliding_segmented_control_test.dart
View file @
02c348b8
...
...
@@ -4,8 +4,6 @@
import
'dart:collection'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/cupertino/switch_test.dart
View file @
02c348b8
...
...
@@ -6,7 +6,6 @@ import 'package:flutter/cupertino.dart';
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'../rendering/mock_canvas.dart'
;
...
...
packages/flutter/test/cupertino/text_field_restoration_test.dart
View file @
02c348b8
...
...
@@ -4,9 +4,7 @@
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
const
String
text
=
'Hello World! How are you? Life is good!'
;
const
String
alternativeText
=
'Everything is awesome!!'
;
...
...
packages/flutter/test/cupertino/text_selection_test.dart
View file @
02c348b8
...
...
@@ -6,9 +6,7 @@ import 'package:flutter_test/flutter_test.dart';
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'../widgets/editable_text_utils.dart'
show
textOffsetToPosition
;
class
MockClipboard
{
...
...
packages/flutter/test/cupertino/text_selection_toolbar_button_test.dart
View file @
02c348b8
...
...
@@ -4,8 +4,6 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
TestWidgetsFlutterBinding
.
ensureInitialized
();
...
...
packages/flutter/test/cupertino/text_selection_toolbar_test.dart
View file @
02c348b8
...
...
@@ -6,7 +6,6 @@ import 'package:flutter_test/flutter_test.dart';
import
'package:flutter/foundation.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'../widgets/editable_text_utils.dart'
show
textOffsetToPosition
;
...
...
packages/flutter/test/cupertino/theme_test.dart
View file @
02c348b8
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/painting.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
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