void FailedBuild_ConflictingRelativeLayout_RunTest(string testName, bool many, LocalBuilder builder) { string[] parameters = GetBuildProperties(many, "NOT_CONFLICTING_RELATIVELAYOUT"); bool success = builder.Build(TestProjectPath, "SignAndroidPackage", parameters); CopyLogs(testName, true); Assert.That(success, Is.False, "Build should have failed"); string logPath = GetTestLogPath(testName); bool haveError = HaveCompilerError_CS0266(logPath, "OnboardingActivityPartial.cs", 43, "Android.Views.View", "Android.Widget.RelativeLayout"); AssertHaveCompilerError(haveError, "OnboardingActivityPartial.cs", 43); haveError = HaveCompilerError_CS0266(logPath, "OnboardingActivity.cs", 37, "Android.Views.View", "Android.Widget.RelativeLayout"); AssertHaveCompilerError(haveError, "OnboardingActivity.cs", 37); }