Disable the deferred loading variant of gen_l10n_test (#61912)
This commit is contained in:
parent
9e658bc3d5
commit
b3f0f092ec
@ -151,17 +151,12 @@ void main() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO(jsimmons): need a localization test that uses deferred loading
|
||||||
|
// (see https://github.com/flutter/flutter/issues/61911)
|
||||||
test('generated l10n classes produce expected localized strings', () async {
|
test('generated l10n classes produce expected localized strings', () async {
|
||||||
await project.setUpIn(tempDir);
|
await project.setUpIn(tempDir);
|
||||||
flutter = FlutterRunTestDriver(tempDir);
|
flutter = FlutterRunTestDriver(tempDir);
|
||||||
final StringBuffer stdout = await runApp();
|
final StringBuffer stdout = await runApp();
|
||||||
expectOutput(stdout);
|
expectOutput(stdout);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('generated l10n classes produce expected localized strings with deferred loading', () async {
|
|
||||||
await project.setUpIn(tempDir, useDeferredLoading: true);
|
|
||||||
flutter = FlutterRunTestDriver(tempDir);
|
|
||||||
final StringBuffer stdout = await runApp();
|
|
||||||
expectOutput(stdout);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user