Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
testing
scenario_app
ios
Scenarios
ScenariosUITests
BogusFontTextTest.m
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#import <Flutter/Flutter.h>
6
#import <XCTest/XCTest.h>
7
#import "
GoldenTestManager.h
"
8
9
FLUTTER_ASSERT_ARC
10
11
@interface
BogusFontTextTest
: XCTestCase
12
13
@end
14
15
@implementation
BogusFontTextTest
16
17
- (void)
testFontRenderingWhenSuppliedWithBogusFont
{
18
self
.continueAfterFailure = NO;
19
20
XCUIApplication* application = [[XCUIApplication alloc] init];
21
application.launchArguments = @[ @"--bogus-font-text" ];
22
[application launch];
23
24
XCUIElement* addTextField = application.textFields[@"ready"];
25
XCTAssertTrue([addTextField waitForExistenceWithTimeout:30]);
26
27
GoldenTestManager
*
manager
= [[
GoldenTestManager
alloc] initWithLaunchArg:@"--bogus-font-text"];
28
[manager
checkGoldenForTest
:self
rmesThreshold
:kDefaultRmseThreshold];
29
}
30
31
@end
GoldenTestManager.h
BogusFontTextTest
Definition:
BogusFontTextTest.m:12
-[BogusFontTextTest testFontRenderingWhenSuppliedWithBogusFont]
void testFontRenderingWhenSuppliedWithBogusFont()
Definition:
BogusFontTextTest.m:17
GoldenTestManager
Definition:
GoldenTestManager.h:22
-[GoldenTestManager checkGoldenForTest:rmesThreshold:]
void checkGoldenForTest:rmesThreshold:(XCTestCase *test,[rmesThreshold] double rmesThreshold)
Definition:
GoldenTestManager.m:79
FLUTTER_ASSERT_ARC
Definition:
FlutterChannelKeyResponder.mm:13
flutter::manager
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font manager
Definition:
switches.h:218
Generated on Sun Jun 23 2024 21:55:19 for Flutter Engine by
1.9.4