Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 090dd6b

Browse files
committed
Add test that it never uses original context to get asset manager
1 parent 81eef77 commit 090dd6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shell/platform/android/test/io/flutter/embedding/engine/FlutterEngineTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ public void itUsesPackageContextForAssetManager() throws NameNotFoundException {
159159
/*automaticallyRegisterPlugins=*/ false);
160160

161161
verify(packageContext, atLeast(1)).getAssets();
162+
verify(context, times(0)).getAssets();
162163
}
163164

164165
@Test

0 commit comments

Comments
 (0)