-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] cleanup and fix failing MSBuild tests (#4641)
Since a648981, we have a few MSBuild tests failing related to multi-dex, because a648981 bumps our minimum Android API level to API-21, which is *also* the minimum that `d8` requires in order to automatically use multi-dex. `BuildApplicationRequiresMultiDex("d8")`: for now I've just ignored this test when running with `$(AndroidDexTool)`=d8. When API-21 is the minimum, `d8` is able to setup multi-dex automatically and the build won't fail. I will need to revisit this in the future to decide what Xamarin.Android should do about multi-dex going forward. `BuildHasNoWarnings(False,True,True,"apk")`: one case we were asserting there was 1 warning. Now there are 0 warnings. `BuildMultiDexApplication(False,"v7.1")`: this test needed to be parameterized for `AndroidDexTool` of `dx` and `d8`. I also generally cleaned it up, removing `useJackAndJill` and simplifying assertions.
- Loading branch information
1 parent
24227f8
commit 64d0c0c
Showing
2 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters