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
33f4f8e6
Unverified
Commit
33f4f8e6
authored
Oct 02, 2019
by
Yegor
Committed by
GitHub
Oct 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run services tests on the Web (#41806)
parent
8c6d60bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
test.dart
dev/bots/test.dart
+1
-2
channel_buffers_test.dart
packages/flutter/test/services/channel_buffers_test.dart
+4
-1
No files found.
dev/bots/test.dart
View file @
33f4f8e6
...
...
@@ -435,13 +435,12 @@ Future<void> _runTests() async {
}
Future
<
void
>
_runWebTests
()
async
{
// TODO(yjbanov): re-enable when web test cirrus flakiness is resolved
await
_runFlutterWebTest
(
path
.
join
(
flutterRoot
,
'packages'
,
'flutter'
),
tests:
<
String
>[
'test/foundation/'
,
'test/physics/'
,
'test/services/'
,
// TODO(yjbanov): re-enable when flakiness is resolved
// 'test/rendering/',
// 'test/services/',
// 'test/painting/',
// 'test/scheduler/',
// 'test/semantics/',
...
...
packages/flutter/test/services/channel_buffers_test.dart
View file @
33f4f8e6
...
...
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(yjbanov): enable Web when https://github.com/flutter/engine/pull/12747 rolls into the framework.
@TestOn
(
'!chrome'
)
import
'dart:convert'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
...
...
@@ -39,7 +42,7 @@ void main() {
bool
didDrainData
=
false
;
binding
.
defaultBinaryMessenger
.
setMessageHandler
(
channel
,
(
ByteData
message
)
async
{
expect
(
_getString
(
message
),
payload
);
didDrainData
=
true
;
didDrainData
=
true
;
return
null
;
});
// Flush the event queue.
...
...
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