Package com._1c.g5.v8.dt.testing.compare
Interface ICompareMergeResultChecker
public interface ICompareMergeResultChecker
Checker of comparison and merge results.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumRepresents expectation result. -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckComparisonResult(IComparisonSession session) Validates comparison results.voidcheckMergeResult(IV8Project v8Project) Validates merge results.Tells whether to expect fail of merging of additional (non DT) files (usually because of conflicts).Tells whether to expect to meet merge validation errors.Tells whether to expect that there is nothing to merge.Tells whether to expect to meet potential merge problems.booleanTells whether to check by a common algorithm the remaining diff with the merged project.
-
Method Details
-
checkComparisonResult
Validates comparison results. Can throwAssertionErroror other exceptions in case of any errors.- Parameters:
session- the active comparison session which comparison result to be checked, nevernull
-
checkMergeResult
Validates merge results. Can throwAssertionErroror other exceptions in case of any errors.- Parameters:
v8Project- the active V8 project updated by merge and to be validated, nevernull
-
needCheckDiffAfterMerge
boolean needCheckDiffAfterMerge()Tells whether to check by a common algorithm the remaining diff with the merged project.- Returns:
trueif diff to be checked,falseotherwise
-
expectAdditionalFilesMergeFail
ICompareMergeResultChecker.EXPECT_RESULT expectAdditionalFilesMergeFail()Tells whether to expect fail of merging of additional (non DT) files (usually because of conflicts).- Returns:
- the expectation result, cannot be
null
-
expectMergeValidationErrors
ICompareMergeResultChecker.EXPECT_RESULT expectMergeValidationErrors()Tells whether to expect to meet merge validation errors.- Returns:
- the expectation result, cannot be
null
-
expectPotentialProblems
ICompareMergeResultChecker.EXPECT_RESULT expectPotentialProblems()Tells whether to expect to meet potential merge problems.- Returns:
- the expectation result, cannot be
null
-
expectNothingToMerge
ICompareMergeResultChecker.EXPECT_RESULT expectNothingToMerge()Tells whether to expect that there is nothing to merge.- Returns:
- the expectation result, cannot be
null
-