File tree 1 file changed +15
-1
lines changed
source/AndroidResolver/test/src
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -484,10 +484,24 @@ private static void ValidateAndroidTargetSelected(
484
484
} ) ;
485
485
IntegrationTester . Runner . LogSummaryAndExit ( ) ;
486
486
}
487
+
488
+ // Verify if PlayServicesResolver properties are working properly.
489
+ var testCaseResult = new IntegrationTester . TestCaseResult ( testCase ) ;
490
+
491
+ if ( String . IsNullOrEmpty ( PlayServicesResolver . AndroidGradlePluginVersion ) ) {
492
+ testCaseResult . ErrorMessages . Add ( String . Format (
493
+ "PlayServicesResolver.AndroidGradlePluginVersion is empty or null" ) ) ;
494
+ }
495
+
496
+ if ( String . IsNullOrEmpty ( PlayServicesResolver . GradleVersion ) ) {
497
+ testCaseResult . ErrorMessages . Add ( String . Format (
498
+ "PlayServicesResolver.GradleVersion is empty or null" ) ) ;
499
+ }
500
+
487
501
// Also, set the internal Gradle version to a deterministic version number. This controls
488
502
// how gradle template snippets are generated by GradleTemplateResolver.
489
503
PlayServicesResolver . GradleVersion = "2.14" ;
490
- testCaseComplete ( new IntegrationTester . TestCaseResult ( testCase ) ) ;
504
+ testCaseComplete ( testCaseResult ) ;
491
505
}
492
506
493
507
/// <summary>
You can’t perform that action at this time.
0 commit comments