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 enum
Represents expectation result. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkComparisonResult
(IComparisonSession session) Validates comparison results.void
checkMergeResult
(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.boolean
Tells whether to check by a common algorithm the remaining diff with the merged project.
-
Method Details
-
checkComparisonResult
Validates comparison results. Can throwAssertionError
or 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 throwAssertionError
or 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:
true
if diff to be checked,false
otherwise
-
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
-