Unverified Commit a48a51b0 authored by Siva's avatar Siva Committed by GitHub

Trial PR to use an engine that has the null safety unfork CL in it. (#56309)

* Trial PR to use an engine that has the null safety unfork CL in it.

* Fix mack specification for test.
parent 9a99403a
95ecd9a4050c38ce82a99c8fce70cacaf41a5a1b 494a63c4117fec7ea4b3d8b01346522aa61cff68
...@@ -35,7 +35,7 @@ void main() { ...@@ -35,7 +35,7 @@ void main() {
final MockFile pluginJavaMainClass = MockFile(); final MockFile pluginJavaMainClass = MockFile();
when(pluginJavaMainClass.existsSync()).thenReturn(true); when(pluginJavaMainClass.existsSync()).thenReturn(true);
when(pluginJavaMainClass.readAsStringSync()).thenThrow(const FileSystemException()); when(pluginJavaMainClass.readAsStringSync(encoding: anyNamed('encoding'))).thenThrow(const FileSystemException());
when(mockFileSystem.file('.pub_cache/plugin_a/android/src/main/java/com/company/PluginA.java')) when(mockFileSystem.file('.pub_cache/plugin_a/android/src/main/java/com/company/PluginA.java'))
.thenReturn(pluginJavaMainClass); .thenReturn(pluginJavaMainClass);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment