22- (instancetype)initWithManager:(
GoldenTestManager*)manager invocation:(NSInvocation*)invocation {
23 self = [
super initWithInvocation:invocation];
31 self.continueAfterFailure = NO;
33 self.application = [[XCUIApplication alloc] init];
34 self.application.launchArguments = @[
self.manager.launchArg, @"--enable-software-rendering" ];
35 [
self.application launch];
40 XCUIElement* element =
self.application.textViews.firstMatch;
41 BOOL exists = [element waitForExistenceWithTimeout:kSecondsToWaitForPlatformView];
43 XCTFail(
@"It took longer than %@ second to find the platform view."
44 @"There might be issues with the platform view's construction,"
45 @"or with how the scenario is built.",
49 [
self.manager checkGoldenForTest:self rmesThreshold:self.rmseThreadhold];
const double kDefaultRmseThreshold
static void copy(void *dst, const uint8_t *src, int width, int bpp, int deltaSrc, int offset, const SkPMColor ctable[])
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