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
67c843f7
Commit
67c843f7
authored
Jan 08, 2020
by
Lau Ching Jun
Committed by
Flutter GitHub Bot
Jan 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename conditional imported files to match convention (#48356)
parent
f7b8d62c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
_extension_io.dart
packages/flutter_driver/lib/src/extension/_extension_io.dart
+1
-1
_extension_web.dart
...ages/flutter_driver/lib/src/extension/_extension_web.dart
+1
-1
extension.dart
packages/flutter_driver/lib/src/extension/extension.dart
+1
-1
io_extension_test.dart
...flutter_driver/test/src/real_tests/io_extension_test.dart
+1
-1
web_extension_test.dart
...flutter_driver/test/src/web_tests/web_extension_test.dart
+1
-1
No files found.
packages/flutter_driver/lib/src/extension/_
io_extension
.dart
→
packages/flutter_driver/lib/src/extension/_
extension_io
.dart
View file @
67c843f7
...
...
@@ -6,7 +6,7 @@
///
/// See also:
///
/// * [_
web_extension
.dart], which has the dart:html implementation
/// * [_
extension_web
.dart], which has the dart:html implementation
void
registerWebServiceExtension
(
Future
<
Map
<
String
,
dynamic
>>
Function
(
Map
<
String
,
String
>)
call
)
{
throw
UnsupportedError
(
'Use registerServiceExtension instead'
);
}
packages/flutter_driver/lib/src/extension/_
web_extension
.dart
→
packages/flutter_driver/lib/src/extension/_
extension_web
.dart
View file @
67c843f7
...
...
@@ -17,7 +17,7 @@ import 'dart:js_util' as js_util;
///
/// See also:
///
/// * [_
io_extension
.dart], which has the dart:io implementation
/// * [_
extension_io
.dart], which has the dart:io implementation
void
registerWebServiceExtension
(
Future
<
Map
<
String
,
dynamic
>>
Function
(
Map
<
String
,
String
>)
call
)
{
js_util
.
setProperty
(
html
.
window
,
'
\
$flutterDriver
'
,
allowInterop
((
dynamic
message
)
async
{
// ignore: undefined_function, undefined_identifier
...
...
packages/flutter_driver/lib/src/extension/extension.dart
View file @
67c843f7
...
...
@@ -30,7 +30,7 @@ import '../common/request_data.dart';
import
'../common/semantics.dart'
;
import
'../common/text.dart'
;
import
'../common/wait.dart'
;
import
'_
io_extension.dart'
if
(
dart
.
library
.
html
)
'_web_extension
.dart'
;
import
'_
extension_io.dart'
if
(
dart
.
library
.
html
)
'_extension_web
.dart'
;
import
'wait_conditions.dart'
;
const
String
_extensionMethodName
=
'driver'
;
...
...
packages/flutter_driver/test/src/real_tests/io_extension_test.dart
View file @
67c843f7
...
...
@@ -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
'package:flutter_driver/src/extension/_
io_extension
.dart'
;
import
'package:flutter_driver/src/extension/_
extension_io
.dart'
;
import
'../../common.dart'
;
...
...
packages/flutter_driver/test/src/web_tests/web_extension_test.dart
View file @
67c843f7
...
...
@@ -4,7 +4,7 @@
import
'dart:js'
as
js
;
import
'package:flutter_driver/src/extension/_
web_extension
.dart'
;
import
'package:flutter_driver/src/extension/_
extension_web
.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
void
main
(
)
{
...
...
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