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
e27a19e3
Unverified
Commit
e27a19e3
authored
Aug 03, 2022
by
Michael Goderbauer
Committed by
GitHub
Aug 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove outdated ignores (#108924)
parent
b972f872
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
27 deletions
+16
-27
main.dart
dev/integration_tests/deferred_components_test/lib/main.dart
+0
-2
stack_trace.dart
dev/integration_tests/web/lib/stack_trace.dart
+1
-2
text_editing_integration.dart
...s/web_e2e_tests/test_driver/text_editing_integration.dart
+0
-3
binding.dart
packages/flutter_test/lib/src/binding.dart
+1
-1
event_simulation.dart
packages/flutter_test/lib/src/event_simulation.dart
+0
-1
version.dart
packages/flutter_tools/lib/src/version.dart
+1
-1
custom_devices_test.dart
...ols/test/commands.shard/hermetic/custom_devices_test.dart
+6
-6
drive_test.dart
...lutter_tools/test/commands.shard/hermetic/drive_test.dart
+0
-1
android_workflow_test.dart
...ols/test/general.shard/android/android_workflow_test.dart
+6
-6
logger_test.dart
...es/flutter_tools/test/general.shard/base/logger_test.dart
+0
-1
device_port_forwarder_test.dart
..._tools/test/general.shard/device_port_forwarder_test.dart
+1
-1
devfs_web_test.dart
.../flutter_tools/test/general.shard/web/devfs_web_test.dart
+0
-2
No files found.
dev/integration_tests/deferred_components_test/lib/main.dart
View file @
e27a19e3
...
...
@@ -62,8 +62,6 @@ class MyHomePageState extends State<MyHomePage> {
// the placeholder text.
Future
<
void
>.
delayed
(
const
Duration
(
milliseconds:
750
),
()
{
setState
(()
{
// See https://github.com/dart-lang/sdk/issues/46894
// ignore: prefer_const_constructors
postLoadDisplayWidget
=
component1
.
LogoScreen
();
});
});
...
...
dev/integration_tests/web/lib/stack_trace.dart
View file @
e27a19e3
...
...
@@ -150,9 +150,8 @@ class StackFrameEquality implements Equality<StackFrame> {
e1
.
method
==
e2
.
method
;
}
// TODO(dnfield): This ignore shouldn't be necessary, see https://github.com/dart-lang/sdk/issues/46477
@override
int
hash
(
StackFrame
e
)
{
// ignore: avoid_renaming_method_parameters
int
hash
(
StackFrame
e
)
{
return
Object
.
hash
(
e
.
number
,
e
.
packageScheme
,
e
.
package
,
e
.
packagePath
,
e
.
line
,
e
.
column
,
e
.
className
,
e
.
method
);
}
...
...
dev/integration_tests/web_e2e_tests/test_driver/text_editing_integration.dart
View file @
e27a19e3
...
...
@@ -234,14 +234,11 @@ void main() {
KeyboardEvent
dispatchKeyboardEvent
(
EventTarget
target
,
String
type
,
Map
<
String
,
dynamic
>
args
)
{
// ignore: implicit_dynamic_function
final
Object
jsKeyboardEvent
=
js_util
.
getProperty
(
window
,
'KeyboardEvent'
)
as
Object
;
final
List
<
dynamic
>
eventArgs
=
<
dynamic
>[
type
,
args
,
];
// ignore: implicit_dynamic_function
final
KeyboardEvent
event
=
js_util
.
callConstructor
(
jsKeyboardEvent
,
js_util
.
jsify
(
eventArgs
)
as
List
<
dynamic
>)
as
KeyboardEvent
;
...
...
packages/flutter_test/lib/src/binding.dart
View file @
e27a19e3
...
...
@@ -325,7 +325,7 @@ abstract class TestWidgetsFlutterBinding extends BindingBase
}
@override
// ignore:
MUST_CALL_SUPER
// ignore:
must_call_super
void
initLicenses
()
{
// Do not include any licenses, because we're a test, and the LICENSE file
// doesn't get generated for tests.
...
...
packages/flutter_test/lib/src/event_simulation.dart
View file @
e27a19e3
...
...
@@ -36,7 +36,6 @@ String? _keyLabel(LogicalKeyboardKey key) {
return
null
;
}
// ignore: avoid_classes_with_only_static_members
/// A class that serves as a namespace for a bunch of keyboard-key generation
/// utilities.
class
KeyEventSimulator
{
...
...
packages/flutter_tools/lib/src/version.dart
View file @
e27a19e3
...
...
@@ -100,7 +100,7 @@ class FlutterVersion {
String
?
_repositoryUrl
;
String
?
get
repositoryUrl
{
final
String
_
=
channel
;
// ignore: no_leading_underscores_for_local_identifiers
final
String
_
=
channel
;
return
_repositoryUrl
;
}
...
...
packages/flutter_tools/test/commands.shard/hermetic/custom_devices_test.dart
View file @
e27a19e3
...
...
@@ -547,7 +547,7 @@ void main() {
'-w'
,
'1'
,
'testhostname'
,
],
postBuildCommand:
null
,
// ignore: avoid_redundant_argument_values
postBuildCommand:
null
,
installCommand:
const
<
String
>[
'scp'
,
'-r'
,
...
...
@@ -637,7 +637,7 @@ void main() {
'-w'
,
'1'
,
'192.168.178.1'
,
],
postBuildCommand:
null
,
// ignore: avoid_redundant_argument_values
postBuildCommand:
null
,
installCommand:
const
<
String
>[
'scp'
,
'-r'
,
...
...
@@ -727,7 +727,7 @@ void main() {
'-w'
,
'1'
,
'::1'
,
],
postBuildCommand:
null
,
// ignore: avoid_redundant_argument_values
postBuildCommand:
null
,
installCommand:
const
<
String
>[
'scp'
,
'-r'
,
...
...
@@ -821,7 +821,7 @@ void main() {
'-w'
,
'1'
,
'testhostname'
,
],
postBuildCommand:
null
,
// ignore: avoid_redundant_argument_values
postBuildCommand:
null
,
installCommand:
<
String
>[
'scp'
,
'-r'
,
...
...
@@ -901,7 +901,7 @@ void main() {
'-w'
,
'1'
,
'testhostname'
,
],
postBuildCommand:
null
,
// ignore: avoid_redundant_argument_values
postBuildCommand:
null
,
installCommand:
const
<
String
>[
'scp'
,
'-r'
,
...
...
@@ -1226,7 +1226,7 @@ void main() {
'testhostname'
,
],
pingSuccessRegex:
RegExp
(
r'[<=]\d+ms'
),
postBuildCommand:
null
,
// ignore: avoid_redundant_argument_values
postBuildCommand:
null
,
installCommand:
const
<
String
>[
'scp'
,
'-r'
,
...
...
packages/flutter_tools/test/commands.shard/hermetic/drive_test.dart
View file @
e27a19e3
...
...
@@ -251,7 +251,6 @@ void main() {
// Unfortunately Device, despite not being immutable, has an `operator ==`.
// Until we fix that, we have to also ignore related lints here.
// ignore: avoid_implementing_value_types
class
ThrowingScreenshotDevice
extends
ScreenshotDevice
{
@override
Future
<
LaunchResult
>
startApp
(
...
...
packages/flutter_tools/test/general.shard/android/android_workflow_test.dart
View file @
e27a19e3
...
...
@@ -38,7 +38,7 @@ void main() {
testWithoutContext
(
'AndroidWorkflow handles a null AndroidSDK'
,
()
{
final
AndroidWorkflow
androidWorkflow
=
AndroidWorkflow
(
featureFlags:
TestFeatureFlags
(),
androidSdk:
null
,
// ignore: avoid_redundant_argument_values
androidSdk:
null
,
operatingSystemUtils:
FakeOperatingSystemUtils
(),
);
...
...
@@ -391,7 +391,7 @@ Review licenses that have not been accepted (y/N)?
);
final
AndroidValidator
androidValidator
=
AndroidValidator
(
androidStudio:
null
,
// ignore: avoid_redundant_argument_values
androidStudio:
null
,
androidSdk:
sdk
,
fileSystem:
fileSystem
,
logger:
logger
,
...
...
@@ -439,7 +439,7 @@ Review licenses that have not been accepted (y/N)?
..
directory
=
fileSystem
.
directory
(
'/foo/bar'
);
final
AndroidValidator
androidValidator
=
AndroidValidator
(
androidStudio:
null
,
// ignore: avoid_redundant_argument_values
androidStudio:
null
,
androidSdk:
sdk
,
fileSystem:
fileSystem
,
logger:
logger
,
...
...
@@ -488,7 +488,7 @@ Review licenses that have not been accepted (y/N)?
final
ValidationResult
validationResult
=
await
AndroidValidator
(
androidSdk:
sdk
,
androidStudio:
null
,
// ignore: avoid_redundant_argument_values
androidStudio:
null
,
fileSystem:
fileSystem
,
logger:
logger
,
platform:
FakePlatform
()..
environment
=
<
String
,
String
>{
'HOME'
:
'/home/me'
,
'JAVA_HOME'
:
'home/java'
},
...
...
@@ -510,8 +510,8 @@ Review licenses that have not been accepted (y/N)?
testWithoutContext
(
'Mentions `flutter config --android-sdk if user has no AndroidSdk`'
,
()
async
{
final
ValidationResult
validationResult
=
await
AndroidValidator
(
androidSdk:
null
,
// ignore: avoid_redundant_argument_values
androidStudio:
null
,
// ignore: avoid_redundant_argument_values
androidSdk:
null
,
androidStudio:
null
,
fileSystem:
fileSystem
,
logger:
logger
,
platform:
FakePlatform
()..
environment
=
<
String
,
String
>{
'HOME'
:
'/home/me'
,
'JAVA_HOME'
:
'home/java'
},
...
...
packages/flutter_tools/test/general.shard/base/logger_test.dart
View file @
e27a19e3
...
...
@@ -566,7 +566,6 @@ void main() {
outputStdout
().
join
(
'
\n
'
),
'
$message
'
// initial message
'
${" " * 4}${" " * 8}
'
// margin (4) and space for the time at the end (8)
// ignore: missing_whitespace_between_adjacent_strings
'
$a
'
// first tick
'
$blankLine
'
// clearing the line
'Rude Interrupting Cow
\n
'
// message
...
...
packages/flutter_tools/test/general.shard/device_port_forwarder_test.dart
View file @
e27a19e3
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:io'
as
io
;
// ignore: dart_io_import
import
'dart:io'
as
io
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/device_port_forwarder.dart'
;
import
'package:test/fake.dart'
;
...
...
packages/flutter_tools/test/general.shard/web/devfs_web_test.dart
View file @
e27a19e3
...
...
@@ -4,8 +4,6 @@
// @dart = 2.8
// ignore_for_file: avoid_redundant_argument_values
import
'dart:io'
hide
Directory
,
File
;
import
'package:flutter_tools/src/artifacts.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