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
06ed3622
Unverified
Commit
06ed3622
authored
Apr 06, 2018
by
Todd Volkert
Committed by
GitHub
Apr 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll engine to d2b69fec751d6d11f62019c863b2cba4ce575bfe (#16307)
parent
c02ad6fd
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
65 additions
and
6 deletions
+65
-6
engine.version
bin/internal/engine.version
+1
-1
decoration_test.dart
packages/flutter/test/painting/decoration_test.dart
+7
-1
image_stream_test.dart
packages/flutter/test/painting/image_stream_test.dart
+6
-0
paint_image_test.dart
packages/flutter/test/painting/paint_image_test.dart
+7
-0
shape_decoration_test.dart
packages/flutter/test/painting/shape_decoration_test.dart
+7
-0
image_test.dart
packages/flutter/test/rendering/image_test.dart
+18
-1
image_resolution_test.dart
packages/flutter/test/widgets/image_resolution_test.dart
+6
-1
image_rtl_test.dart
packages/flutter/test/widgets/image_rtl_test.dart
+7
-1
image_test.dart
packages/flutter/test/widgets/image_test.dart
+6
-1
No files found.
bin/internal/engine.version
View file @
06ed3622
aa9ce7092801e7ed8f3f86df0d1067279d13784d
d2b69fec751d6d11f62019c863b2cba4ce575bfe
packages/flutter/test/painting/decoration_test.dart
View file @
06ed3622
...
...
@@ -3,7 +3,8 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:ui'
as
ui
show
Image
,
ColorFilter
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
show
EncodingFormat
,
Image
,
ColorFilter
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/painting.dart'
;
...
...
@@ -87,6 +88,11 @@ class TestImage implements ui.Image {
@override
void
dispose
()
{
}
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
}
void
main
(
)
{
...
...
packages/flutter/test/painting/image_stream_test.dart
View file @
06ed3622
...
...
@@ -3,6 +3,7 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
;
import
'package:flutter/painting.dart'
;
...
...
@@ -37,6 +38,11 @@ class FakeImage implements Image {
@override
void
dispose
()
{}
@override
Future
<
ByteData
>
toByteData
({
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
}
class
MockCodec
implements
Codec
{
...
...
packages/flutter/test/painting/paint_image_test.dart
View file @
06ed3622
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
import
'package:flutter/painting.dart'
;
...
...
@@ -19,6 +21,11 @@ class TestImage implements ui.Image {
@override
void
dispose
()
{
}
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
}
class
TestCanvas
implements
Canvas
{
...
...
packages/flutter/test/painting/shape_decoration_test.dart
View file @
06ed3622
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
;
import
'package:flutter/foundation.dart'
;
...
...
@@ -121,4 +123,9 @@ class TestImage implements ui.Image {
@override
void
dispose
()
{
}
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
}
packages/flutter/test/rendering/image_test.dart
View file @
06ed3622
...
...
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:ui'
as
ui
show
Image
;
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
show
EncodingFormat
,
Image
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
@@ -16,6 +18,11 @@ class SquareImage implements ui.Image {
@override
int
get
height
=>
10
;
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
@override
String
toString
()
=>
'[
$width
\
u00D7
$height
]'
;
...
...
@@ -30,6 +37,11 @@ class WideImage implements ui.Image {
@override
int
get
height
=>
10
;
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
@override
String
toString
()
=>
'[
$width
\
u00D7
$height
]'
;
...
...
@@ -44,6 +56,11 @@ class TallImage implements ui.Image {
@override
int
get
height
=>
20
;
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
@override
String
toString
()
=>
'[
$width
\
u00D7
$height
]'
;
...
...
packages/flutter/test/widgets/image_resolution_test.dart
View file @
06ed3622
...
...
@@ -4,7 +4,7 @@
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
show
Image
;
import
'dart:ui'
as
ui
show
EncodingFormat
,
Image
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
@@ -24,6 +24,11 @@ class TestImage implements ui.Image {
@override
void
dispose
()
{
}
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
}
class
TestByteData
implements
ByteData
{
...
...
packages/flutter/test/widgets/image_rtl_test.dart
View file @
06ed3622
...
...
@@ -3,7 +3,8 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:ui'
as
ui
show
Image
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
show
EncodingFormat
,
Image
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
...
...
@@ -34,6 +35,11 @@ class TestImage implements ui.Image {
@override
void
dispose
()
{
}
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
}
void
main
(
)
{
...
...
packages/flutter/test/widgets/image_test.dart
View file @
06ed3622
...
...
@@ -4,7 +4,7 @@
import
'dart:async'
;
import
'dart:typed_data'
;
import
'dart:ui'
as
ui
show
Image
;
import
'dart:ui'
as
ui
show
EncodingFormat
,
Image
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
...
...
@@ -483,6 +483,11 @@ class TestImage implements ui.Image {
@override
void
dispose
()
{
}
@override
Future
<
ByteData
>
toByteData
({
ui
.
EncodingFormat
format
})
async
{
throw
new
UnsupportedError
(
'Cannot encode test image'
);
}
@override
String
toString
()
=>
'[
$width
\
u00D7
$height
]'
;
}
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