-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[flutter_tools] fix test asset loading #103667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[flutter_tools] fix test asset loading #103667
Conversation
|
Actually this will impact g3, holding off for now |
|
Updated this change so that we can have the google3 tester pass in the correct asset path and fix test asset loading |
|
Now that flutter/engine#33323 has rolled in this should be safe to reland. |
| '--enable-dart-profiling', | ||
| '--non-interactive', | ||
| '--use-test-fonts', | ||
| '--disable-asset-fonts', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the new flag that prevents the tester from registering fonts bundled in the asset directory. It allows us to load other assets as normal while keeping the same font behavior
Ensure that flutter_tester has the asset directory so that it can load test assets, fix automated test that was indented wrong.
Part of #103724