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
0de20a33
Unverified
Commit
0de20a33
authored
Apr 21, 2021
by
Abhishek Ghaskata
Committed by
GitHub
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIgrate dev_integration_tests_web to null safety (#80625)
parent
dc43da9d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
framework_stack_trace.dart
dev/integration_tests/web/lib/framework_stack_trace.dart
+1
-1
service_worker_test.dart
dev/integration_tests/web/lib/service_worker_test.dart
+2
-2
stack_trace.dart
dev/integration_tests/web/lib/stack_trace.dart
+1
-1
web_directory_loading.dart
dev/integration_tests/web/lib/web_directory_loading.dart
+1
-1
pubspec.yaml
dev/integration_tests/web/pubspec.yaml
+1
-1
No files found.
dev/integration_tests/web/lib/framework_stack_trace.dart
View file @
0de20a33
...
...
@@ -17,7 +17,7 @@ import 'package:flutter/widgets.dart';
// framework's ability to parse stack traces in all build modes.
void
main
(
)
async
{
final
StringBuffer
errorMessage
=
StringBuffer
();
debugPrint
=
(
String
message
,
{
int
wrapWidth
})
{
debugPrint
=
(
String
?
message
,
{
int
?
wrapWidth
})
{
errorMessage
.
writeln
(
message
);
};
...
...
dev/integration_tests/web/lib/service_worker_test.dart
View file @
0de20a33
...
...
@@ -4,8 +4,8 @@
import
'dart:html'
as
html
;
Future
<
void
>
main
()
async
{
await
html
.
window
.
navigator
.
serviceWorker
.
ready
;
await
html
.
window
.
navigator
.
serviceWorker
?
.
ready
;
final
String
response
=
'CLOSE?version=1'
;
await
html
.
HttpRequest
.
getString
(
response
);
html
.
document
.
body
.
appendHtml
(
response
);
html
.
document
.
body
?
.
appendHtml
(
response
);
}
dev/integration_tests/web/lib/stack_trace.dart
View file @
0de20a33
...
...
@@ -158,5 +158,5 @@ class StackFrameEquality implements Equality<StackFrame> {
}
@override
bool
isValidKey
(
Object
o
)
=>
o
is
StackFrame
;
bool
isValidKey
(
Object
?
o
)
=>
o
is
StackFrame
;
}
dev/integration_tests/web/lib/web_directory_loading.dart
View file @
0de20a33
...
...
@@ -11,7 +11,7 @@ Future<void> main() async {
'/example'
,
method:
'GET'
,
);
final
String
body
=
request
.
responseText
;
final
String
?
body
=
request
.
responseText
;
if
(
body
==
'This is an Example'
)
{
print
(
'--- TEST SUCCEEDED ---'
);
}
else
{
...
...
dev/integration_tests/web/pubspec.yaml
View file @
0de20a33
...
...
@@ -2,7 +2,7 @@ name: web_integration
description
:
Integration test for web compilation.
environment
:
sdk
:
"
>=2.
6
.0
<3.0.0"
sdk
:
"
>=2.
12
.0
<3.0.0"
flutter
:
assets
:
...
...
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