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
d69845b1
Unverified
Commit
d69845b1
authored
Feb 16, 2021
by
Sam Rawlins
Committed by
GitHub
Feb 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "unnecessary" imports in test/widgets (#75949)
parent
65599e28
Changes
27
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
0 additions
and
35 deletions
+0
-35
editable_text_cursor_test.dart
packages/flutter/test/widgets/editable_text_cursor_test.dart
+0
-1
editable_text_show_on_screen_test.dart
...utter/test/widgets/editable_text_show_on_screen_test.dart
+0
-2
editable_text_test.dart
packages/flutter/test/widgets/editable_text_test.dart
+0
-2
fade_in_image_test.dart
packages/flutter/test/widgets/fade_in_image_test.dart
+0
-1
focus_traversal_test.dart
packages/flutter/test/widgets/focus_traversal_test.dart
+0
-2
fractionally_sized_box_test.dart
...ges/flutter/test/widgets/fractionally_sized_box_test.dart
+0
-1
framework_test.dart
packages/flutter/test/widgets/framework_test.dart
+0
-1
gesture_disambiguation_test.dart
...ges/flutter/test/widgets/gesture_disambiguation_test.dart
+0
-1
heroes_test.dart
packages/flutter/test/widgets/heroes_test.dart
+0
-1
icon_test.dart
packages/flutter/test/widgets/icon_test.dart
+0
-1
image_filter_quality_test.dart
packages/flutter/test/widgets/image_filter_quality_test.dart
+0
-1
image_headers_test.dart
packages/flutter/test/widgets/image_headers_test.dart
+0
-1
implicit_animations_test.dart
packages/flutter/test/widgets/implicit_animations_test.dart
+0
-1
implicit_semantics_test.dart
packages/flutter/test/widgets/implicit_semantics_test.dart
+0
-1
interactive_viewer_test.dart
packages/flutter/test/widgets/interactive_viewer_test.dart
+0
-2
linked_scroll_view_test.dart
packages/flutter/test/widgets/linked_scroll_view_test.dart
+0
-1
list_body_test.dart
packages/flutter/test/widgets/list_body_test.dart
+0
-1
list_view_horizontal_test.dart
packages/flutter/test/widgets/list_view_horizontal_test.dart
+0
-1
list_view_misc_test.dart
packages/flutter/test/widgets/list_view_misc_test.dart
+0
-1
list_view_test.dart
packages/flutter/test/widgets/list_view_test.dart
+0
-1
list_wheel_scroll_view_test.dart
...ges/flutter/test/widgets/list_wheel_scroll_view_test.dart
+0
-1
listener_test.dart
packages/flutter/test/widgets/listener_test.dart
+0
-1
media_query_test.dart
packages/flutter/test/widgets/media_query_test.dart
+0
-1
modal_barrier_test.dart
packages/flutter/test/widgets/modal_barrier_test.dart
+0
-2
navigator_restoration_test.dart
...ages/flutter/test/widgets/navigator_restoration_test.dart
+0
-4
opacity_test.dart
packages/flutter/test/widgets/opacity_test.dart
+0
-1
overscroll_indicator_test.dart
packages/flutter/test/widgets/overscroll_indicator_test.dart
+0
-1
No files found.
packages/flutter/test/widgets/editable_text_cursor_test.dart
View file @
d69845b1
...
@@ -7,7 +7,6 @@ import 'package:flutter/foundation.dart';
...
@@ -7,7 +7,6 @@ import 'package:flutter/foundation.dart';
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/services.dart'
;
import
'../rendering/mock_canvas.dart'
;
import
'../rendering/mock_canvas.dart'
;
...
...
packages/flutter/test/widgets/editable_text_show_on_screen_test.dart
View file @
d69845b1
...
@@ -5,8 +5,6 @@
...
@@ -5,8 +5,6 @@
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/services.dart'
;
class
_TestSliverPersistentHeaderDelegate
extends
SliverPersistentHeaderDelegate
{
class
_TestSliverPersistentHeaderDelegate
extends
SliverPersistentHeaderDelegate
{
_TestSliverPersistentHeaderDelegate
({
_TestSliverPersistentHeaderDelegate
({
...
...
packages/flutter/test/widgets/editable_text_test.dart
View file @
d69845b1
...
@@ -7,11 +7,9 @@ import 'package:flutter_test/flutter_test.dart';
...
@@ -7,11 +7,9 @@ import 'package:flutter_test/flutter_test.dart';
import
'package:flutter/gestures.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'../flutter_test_alternative.dart'
show
Fake
;
import
'../rendering/mock_canvas.dart'
;
import
'../rendering/mock_canvas.dart'
;
import
'editable_text_utils.dart'
;
import
'editable_text_utils.dart'
;
import
'semantics_tester.dart'
;
import
'semantics_tester.dart'
;
...
...
packages/flutter/test/widgets/fade_in_image_test.dart
View file @
d69845b1
...
@@ -6,7 +6,6 @@ import 'dart:typed_data';
...
@@ -6,7 +6,6 @@ import 'dart:typed_data';
import
'dart:ui'
as
ui
;
import
'dart:ui'
as
ui
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/painting.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'../image_data.dart'
;
import
'../image_data.dart'
;
...
...
packages/flutter/test/widgets/focus_traversal_test.dart
View file @
d69845b1
...
@@ -4,11 +4,9 @@
...
@@ -4,11 +4,9 @@
import
'dart:ui'
;
import
'dart:ui'
;
import
'package:flutter/painting.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'semantics_tester.dart'
;
import
'semantics_tester.dart'
;
...
...
packages/flutter/test/widgets/fractionally_sized_box_test.dart
View file @
d69845b1
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
void
main
(
)
{
...
...
packages/flutter/test/widgets/framework_test.dart
View file @
d69845b1
...
@@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
...
@@ -7,7 +7,6 @@ import 'package:flutter/material.dart';
import
'package:flutter/services.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
typedef
ElementRebuildCallback
=
void
Function
(
StatefulElement
element
);
typedef
ElementRebuildCallback
=
void
Function
(
StatefulElement
element
);
...
...
packages/flutter/test/widgets/gesture_disambiguation_test.dart
View file @
d69845b1
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/gestures.dart'
;
void
main
(
)
{
void
main
(
)
{
testWidgets
(
'onTap detection with canceled pointer and a drag listener'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'onTap detection with canceled pointer and a drag listener'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/widgets/heroes_test.dart
View file @
d69845b1
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
import
'dart:ui'
as
ui
;
import
'dart:ui'
as
ui
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
...
...
packages/flutter/test/widgets/icon_test.dart
View file @
d69845b1
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'semantics_tester.dart'
;
import
'semantics_tester.dart'
;
...
...
packages/flutter/test/widgets/image_filter_quality_test.dart
View file @
d69845b1
...
@@ -7,7 +7,6 @@ import 'dart:typed_data';
...
@@ -7,7 +7,6 @@ import 'dart:typed_data';
import
'dart:ui'
as
ui
;
import
'dart:ui'
as
ui
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/image_headers_test.dart
View file @
d69845b1
...
@@ -8,7 +8,6 @@ import 'dart:io';
...
@@ -8,7 +8,6 @@ import 'dart:io';
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'../flutter_test_alternative.dart'
show
Fake
;
import
'../image_data.dart'
;
import
'../image_data.dart'
;
void
main
(
)
{
void
main
(
)
{
...
...
packages/flutter/test/widgets/implicit_animations_test.dart
View file @
d69845b1
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
class
MockOnEndFunction
{
class
MockOnEndFunction
{
int
called
=
0
;
int
called
=
0
;
...
...
packages/flutter/test/widgets/implicit_semantics_test.dart
View file @
d69845b1
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'semantics_tester.dart'
;
import
'semantics_tester.dart'
;
...
...
packages/flutter/test/widgets/interactive_viewer_test.dart
View file @
d69845b1
...
@@ -4,9 +4,7 @@
...
@@ -4,9 +4,7 @@
import
'dart:math'
as
math
;
import
'dart:math'
as
math
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:vector_math/vector_math_64.dart'
show
Quad
,
Vector3
,
Matrix4
;
import
'package:vector_math/vector_math_64.dart'
show
Quad
,
Vector3
,
Matrix4
;
...
...
packages/flutter/test/widgets/linked_scroll_view_test.dart
View file @
d69845b1
...
@@ -12,7 +12,6 @@ import 'dart:collection';
...
@@ -12,7 +12,6 @@ import 'dart:collection';
import
'dart:math'
as
math
;
import
'dart:math'
as
math
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/list_body_test.dart
View file @
d69845b1
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter/src/foundation/assertions.dart'
;
import
'package:flutter/src/foundation/assertions.dart'
;
import
'package:flutter/src/painting/basic_types.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/test/widgets/list_view_horizontal_test.dart
View file @
d69845b1
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/list_view_misc_test.dart
View file @
d69845b1
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
const
Key
blockKey
=
Key
(
'test'
);
const
Key
blockKey
=
Key
(
'test'
);
...
...
packages/flutter/test/widgets/list_view_test.dart
View file @
d69845b1
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'../rendering/mock_canvas.dart'
;
import
'../rendering/mock_canvas.dart'
;
import
'../rendering/rendering_tester.dart'
;
import
'../rendering/rendering_tester.dart'
;
...
...
packages/flutter/test/widgets/list_wheel_scroll_view_test.dart
View file @
d69845b1
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/test/widgets/listener_test.dart
View file @
d69845b1
...
@@ -7,7 +7,6 @@ import 'dart:math' as math;
...
@@ -7,7 +7,6 @@ import 'dart:math' as math;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/gestures.dart'
;
import
'gesture_utils.dart'
;
import
'gesture_utils.dart'
;
...
...
packages/flutter/test/widgets/media_query_test.dart
View file @
d69845b1
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'dart:ui'
show
Brightness
;
import
'dart:ui'
show
Brightness
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
packages/flutter/test/widgets/modal_barrier_test.dart
View file @
d69845b1
...
@@ -3,11 +3,9 @@
...
@@ -3,11 +3,9 @@
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/gestures.dart'
show
kSecondaryButton
,
PointerDeviceKind
;
import
'package:flutter/gestures.dart'
show
kSecondaryButton
,
PointerDeviceKind
;
import
'semantics_tester.dart'
;
import
'semantics_tester.dart'
;
...
...
packages/flutter/test/widgets/navigator_restoration_test.dart
View file @
d69845b1
...
@@ -2,14 +2,10 @@
...
@@ -2,14 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'../flutter_test_alternative.dart'
show
Fake
;
void
main
(
)
{
void
main
(
)
{
testWidgets
(
'Restoration Smoke Test'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'Restoration Smoke Test'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
const
TestWidget
());
await
tester
.
pumpWidget
(
const
TestWidget
());
...
...
packages/flutter/test/widgets/opacity_test.dart
View file @
d69845b1
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
packages/flutter/test/widgets/overscroll_indicator_test.dart
View file @
d69845b1
...
@@ -6,7 +6,6 @@ import 'dart:math' as math;
...
@@ -6,7 +6,6 @@ import 'dart:math' as math;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/rendering.dart'
;
import
'../rendering/mock_canvas.dart'
;
import
'../rendering/mock_canvas.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