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
674fb7e1
Unverified
Commit
674fb7e1
authored
May 14, 2020
by
Ferhat
Committed by
GitHub
May 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unskip TextStyle web tests (#56710)
parent
a2f5364d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
text_style_test.dart
packages/flutter/test/painting/text_style_test.dart
+3
-3
No files found.
packages/flutter/test/painting/text_style_test.dart
View file @
674fb7e1
...
...
@@ -178,7 +178,7 @@ void main() {
expect
(
ps2
,
equals
(
ui
.
ParagraphStyle
(
textAlign:
TextAlign
.
center
,
fontWeight:
FontWeight
.
w800
,
fontSize:
10.0
,
height:
100.0
)));
final
ui
.
ParagraphStyle
ps5
=
s5
.
getParagraphStyle
();
expect
(
ps5
,
equals
(
ui
.
ParagraphStyle
(
fontWeight:
FontWeight
.
w700
,
fontSize:
12.0
,
height:
123.0
)));
}
,
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/56307
}
);
test
(
'TextStyle with text direction'
,
()
{
...
...
@@ -208,7 +208,7 @@ void main() {
const
TextStyle
s10
=
TextStyle
(
fontFamilyFallback:
<
String
>[],
package:
'p'
);
expect
(
s10
.
fontFamilyFallback
,
<
String
>[]);
}
,
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/56307
}
);
test
(
'TextStyle font family fallback'
,
()
{
const
TextStyle
s1
=
TextStyle
(
fontFamilyFallback:
<
String
>[
'Roboto'
,
'test'
]);
...
...
@@ -238,7 +238,7 @@ void main() {
expect
(
s2
.
apply
().
fontFamilyFallback
,
const
<
String
>[
'Roboto'
,
'test'
]);
expect
(
s2
.
apply
(
fontFamily:
'bar'
).
fontFamily
,
'bar'
);
expect
(
s2
.
apply
(
fontFamilyFallback:
const
<
String
>[
'Banana'
]).
fontFamilyFallback
,
const
<
String
>[
'Banana'
]);
}
,
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/32233
}
);
test
(
'TextStyle.debugLabel'
,
()
{
const
TextStyle
unknown
=
TextStyle
();
...
...
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