Package com._1c.g5.v8.dt.testing.compare
Interface ICompareMergeResultChecker
-
public interface ICompareMergeResultChecker
Checker of comparison and merge results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ICompareMergeResultChecker.EXPECT_RESULT
Represents expectation result.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkComparisonResult(IComparisonSession session)
Validates comparison results.void
checkMergeResult(IV8Project v8Project)
Validates merge results.ICompareMergeResultChecker.EXPECT_RESULT
expectAdditionalFilesMergeFail()
Tells whether to expect fail of merging of additional (non DT) files (usually because of conflicts).ICompareMergeResultChecker.EXPECT_RESULT
expectMergeValidationErrors()
Tells whether to expect to meet merge validation errors.ICompareMergeResultChecker.EXPECT_RESULT
expectNothingToMerge()
Tells whether to expect that there is nothing to merge.ICompareMergeResultChecker.EXPECT_RESULT
expectPotentialProblems()
Tells whether to expect to meet potential merge problems.boolean
needCheckDiffAfterMerge()
Tells whether to check by a common algorithm the remaining diff with the merged project.
-
-
-
Method Detail
-
checkComparisonResult
void checkComparisonResult(IComparisonSession session)
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
void checkMergeResult(IV8Project v8Project)
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
-
-