File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,16 @@ public void CheckConcurrentGC ()
162162 }
163163
164164 [ Test ]
165- public void CheckForInvalidHttpClientHandlerType ( )
165+ public void CheckForInvalidHttpClientHandlerType ( [ Values ] AndroidRuntime runtime )
166166 {
167+ const bool isRelease = true ;
168+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
169+ return ;
170+ }
167171 var proj = new XamarinAndroidApplicationProject ( ) {
168- IsRelease = true ,
172+ IsRelease = isRelease ,
169173 } ;
174+ proj . SetRuntime ( runtime ) ;
170175 using ( var b = CreateApkBuilder ( ) ) {
171176 b . ThrowOnBuildFailure = false ;
172177 proj . SetProperty ( "AndroidHttpClientHandlerType" , "Android.App.Application" ) ;
You can’t perform that action at this time.
0 commit comments