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
408c092f
Unverified
Commit
408c092f
authored
Feb 11, 2021
by
Sam Rawlins
Committed by
GitHub
Feb 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "unnecessary" imports in test/widgets (#75796)
parent
eefe4a76
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
1 addition
and
40 deletions
+1
-40
align_test.dart
packages/flutter/test/widgets/align_test.dart
+0
-1
animated_align_test.dart
packages/flutter/test/widgets/animated_align_test.dart
+0
-1
animated_cross_fade_test.dart
packages/flutter/test/widgets/animated_cross_fade_test.dart
+0
-1
animated_padding_test.dart
packages/flutter/test/widgets/animated_padding_test.dart
+0
-1
animated_positioned_test.dart
packages/flutter/test/widgets/animated_positioned_test.dart
+0
-1
app_test.dart
packages/flutter/test/widgets/app_test.dart
+0
-1
aspect_ratio_test.dart
packages/flutter/test/widgets/aspect_ratio_test.dart
+0
-1
autocomplete_test.dart
packages/flutter/test/widgets/autocomplete_test.dart
+0
-1
autofill_group_test.dart
packages/flutter/test/widgets/autofill_group_test.dart
+0
-1
backdrop_filter_test.dart
packages/flutter/test/widgets/backdrop_filter_test.dart
+0
-1
basic_test.dart
packages/flutter/test/widgets/basic_test.dart
+0
-2
binding_attach_root_widget_test.dart
...flutter/test/widgets/binding_attach_root_widget_test.dart
+0
-2
binding_cannot_schedule_frame_test.dart
...tter/test/widgets/binding_cannot_schedule_frame_test.dart
+0
-2
binding_frame_scheduling_test.dart
...s/flutter/test/widgets/binding_frame_scheduling_test.dart
+0
-1
binding_test.dart
packages/flutter/test/widgets/binding_test.dart
+0
-2
box_decoration_test.dart
packages/flutter/test/widgets/box_decoration_test.dart
+1
-3
composited_transform_test.dart
packages/flutter/test/widgets/composited_transform_test.dart
+0
-1
container_test.dart
packages/flutter/test/widgets/container_test.dart
+0
-2
coordinates_test.dart
packages/flutter/test/widgets/coordinates_test.dart
+0
-1
custom_paint_test.dart
packages/flutter/test/widgets/custom_paint_test.dart
+0
-2
custom_single_child_layout_test.dart
...flutter/test/widgets/custom_single_child_layout_test.dart
+0
-1
default_text_height_behavior_test.dart
...utter/test/widgets/default_text_height_behavior_test.dart
+0
-3
default_text_style_test.dart
packages/flutter/test/widgets/default_text_style_test.dart
+0
-1
dismissible_test.dart
packages/flutter/test/widgets/dismissible_test.dart
+0
-1
draggable_scrollable_sheet_test.dart
...flutter/test/widgets/draggable_scrollable_sheet_test.dart
+0
-1
drawer_test.dart
packages/flutter/test/widgets/drawer_test.dart
+0
-2
dual_transition_builder_test.dart
...es/flutter/test/widgets/dual_transition_builder_test.dart
+0
-3
No files found.
packages/flutter/test/widgets/align_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/animated_align_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/animated_cross_fade_test.dart
View file @
408c092f
...
...
@@ -4,7 +4,6 @@
import
'package:flutter/scheduler.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/animated_padding_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/animated_positioned_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/app_test.dart
View file @
408c092f
...
...
@@ -5,7 +5,6 @@
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
class
TestIntent
extends
Intent
{
...
...
packages/flutter/test/widgets/aspect_ratio_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
Future
<
Size
>
_getSize
(
WidgetTester
tester
,
BoxConstraints
constraints
,
double
aspectRatio
)
async
{
...
...
packages/flutter/test/widgets/autocomplete_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
class
User
{
...
...
packages/flutter/test/widgets/autofill_group_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/material.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
final
Matcher
_matchesCommit
=
isMethodCall
(
'TextInput.finishAutofillContext'
,
arguments:
true
);
...
...
packages/flutter/test/widgets/backdrop_filter_test.dart
View file @
408c092f
...
...
@@ -4,7 +4,6 @@
import
'dart:ui'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
...
...
packages/flutter/test/widgets/basic_test.dart
View file @
408c092f
...
...
@@ -6,9 +6,7 @@ import 'dart:math' as math;
import
'package:flutter/gestures.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/rendering.dart'
;
import
'../flutter_test_alternative.dart'
show
Fake
;
void
main
(
)
{
group
(
'PhysicalShape'
,
()
{
...
...
packages/flutter/test/widgets/binding_attach_root_widget_test.dart
View file @
408c092f
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:typed_data'
;
import
'package:flutter/scheduler.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/binding_cannot_schedule_frame_test.dart
View file @
408c092f
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:typed_data'
;
import
'package:flutter/scheduler.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/binding_frame_scheduling_test.dart
View file @
408c092f
...
...
@@ -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
'dart:typed_data'
;
import
'dart:ui'
show
window
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/binding_test.dart
View file @
408c092f
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:typed_data'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/services.dart'
;
...
...
packages/flutter/test/widgets/box_decoration_test.dart
View file @
408c092f
...
...
@@ -9,8 +9,6 @@ import 'dart:ui' as ui show Image;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/painting.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'../image_data.dart'
;
...
...
@@ -556,4 +554,4 @@ Future<void> main() async {
await
tester
.
tapAt
(
topLeftOutside
);
expect
(
itemsTapped
,
<
int
>[
1
,
1
,
1
,
1
,
1
],
reason:
'top left tapped'
);
});
}
\ No newline at end of file
}
packages/flutter/test/widgets/composited_transform_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/container_test.dart
View file @
408c092f
...
...
@@ -4,9 +4,7 @@
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'../flutter_test_alternative.dart'
show
Fake
;
import
'../rendering/mock_canvas.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/coordinates_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
void
main
(
)
{
...
...
packages/flutter/test/widgets/custom_paint_test.dart
View file @
408c092f
...
...
@@ -6,8 +6,6 @@ import 'package:flutter/rendering.dart';
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'../flutter_test_alternative.dart'
show
Fake
;
class
TestCustomPainter
extends
CustomPainter
{
TestCustomPainter
({
required
this
.
log
,
this
.
name
});
...
...
packages/flutter/test/widgets/custom_single_child_layout_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
class
TestSingleChildLayoutDelegate
extends
SingleChildLayoutDelegate
{
...
...
packages/flutter/test/widgets/default_text_height_behavior_test.dart
View file @
408c092f
...
...
@@ -2,11 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
show
TextHeightBehavior
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/painting.dart'
;
void
main
(
)
{
testWidgets
(
'Text widget parameter takes precedence over DefaultTextHeightBehavior'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/widgets/default_text_style_test.dart
View file @
408c092f
...
...
@@ -6,7 +6,6 @@ import 'dart:ui' as ui show TextHeightBehavior;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/painting.dart'
;
void
main
(
)
{
testWidgets
(
'DefaultTextStyle changes propagate to Text'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/widgets/dismissible_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/gestures.dart'
show
DragStartBehavior
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/draggable_scrollable_sheet_test.dart
View file @
408c092f
...
...
@@ -3,7 +3,6 @@
// found in the LICENSE file.
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
packages/flutter/test/widgets/drawer_test.dart
View file @
408c092f
...
...
@@ -5,10 +5,8 @@
import
'dart:ui'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/gestures.dart'
show
DragStartBehavior
;
import
'semantics_tester.dart'
;
...
...
packages/flutter/test/widgets/dual_transition_builder_test.dart
View file @
408c092f
...
...
@@ -4,9 +4,6 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/src/widgets/dual_transition_builder.dart'
;
void
main
(
)
{
testWidgets
(
'runs animations'
,
(
WidgetTester
tester
)
async
{
...
...
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