Interface ICompareMergeResultChecker


  • public interface ICompareMergeResultChecker
    Checker of comparison and merge results.
    • Method Detail

      • checkComparisonResult

        void checkComparisonResult​(IComparisonSession session)
        Validates comparison results. Can throw AssertionError or other exceptions in case of any errors.
        Parameters:
        session - the active comparison session which comparison result to be checked, never null
      • checkMergeResult

        void checkMergeResult​(IV8Project v8Project)
        Validates merge results. Can throw AssertionError or other exceptions in case of any errors.
        Parameters:
        v8Project - the active V8 project updated by merge and to be validated, never null
      • 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