Class AbstractTransplant

    • Field Detail

      • soft

        protected org.assertj.core.api.SoftAssertions soft
    • Constructor Detail

      • AbstractTransplant

        protected AbstractTransplant​(org.projectnessie.versioned.VersionStore store)
    • Method Detail

      • setupCommits

        @BeforeEach
        protected void setupCommits()
                             throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantOnEmptyBranch

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void checkTransplantOnEmptyBranch​(boolean individualCommits)
                                             throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantOnEmptyBranchModify

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void checkTransplantOnEmptyBranchModify​(boolean individualCommits)
                                                   throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantWithPreviousCommit

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void checkTransplantWithPreviousCommit​(boolean individualCommits)
                                                  throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantWithConflictingCommit

        @ParameterizedTest
        @CsvSource({"false,false","false,true","true,false","true,true"})
        protected void checkTransplantWithConflictingCommit​(boolean individualCommits,
                                                            boolean dryRun)
                                                     throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantWithDelete

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void checkTransplantWithDelete​(boolean individualCommits)
                                          throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantOnNonExistingBranch

        @ParameterizedTest
        @CsvSource({"false,false","false,true","true,false","true,true"})
        protected void checkTransplantOnNonExistingBranch​(boolean individualCommits,
                                                          boolean dryRun)
      • checkTransplantWithNonExistingCommit

        @ParameterizedTest
        @CsvSource({"false,false","false,true","true,false","true,true"})
        protected void checkTransplantWithNonExistingCommit​(boolean individualCommits,
                                                            boolean dryRun)
                                                     throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantWithNoExpectedHash

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void checkTransplantWithNoExpectedHash​(boolean individualCommits)
                                                  throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkTransplantWithCommitsInWrongOrder

        @ParameterizedTest
        @CsvSource({"false,false","false,true","true,false","true,true"})
        protected void checkTransplantWithCommitsInWrongOrder​(boolean individualCommits,
                                                              boolean dryRun)
                                                       throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • checkInvalidBranchHash

        @ParameterizedTest
        @CsvSource({"false,false","false,true","true,false","true,true"})
        protected void checkInvalidBranchHash​(boolean individualCommits,
                                              boolean dryRun)
                                       throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • transplantBasic

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void transplantBasic​(boolean individualCommits)
                                throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException
      • transplantEmptyCommit

        @ParameterizedTest
        @ValueSource(booleans={false,true})
        protected void transplantEmptyCommit​(boolean individualCommits)
                                      throws org.projectnessie.versioned.VersionStoreException
        Throws:
        org.projectnessie.versioned.VersionStoreException