Class AbstractTransplant

java.lang.Object
org.projectnessie.versioned.tests.AbstractNestedVersionStore
org.projectnessie.versioned.tests.AbstractTransplant
Direct Known Subclasses:
AbstractVersionStoreTestBase.Transplant

@ExtendWith(org.assertj.core.api.junit.jupiter.SoftAssertionsExtension.class) public abstract class AbstractTransplant extends AbstractNestedVersionStore
  • Field Details

    • soft

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

    • AbstractTransplant

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

    • setupCommits

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

      @Test protected void checkTransplantOnEmptyBranch() throws org.projectnessie.versioned.VersionStoreException
      Throws:
      org.projectnessie.versioned.VersionStoreException
    • checkTransplantWithPreviousCommit

      @Test protected void checkTransplantWithPreviousCommit() throws org.projectnessie.versioned.VersionStoreException
      Throws:
      org.projectnessie.versioned.VersionStoreException
    • checkTransplantWithConflictingCommit

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

      @Test protected void checkTransplantWithDelete() throws org.projectnessie.versioned.VersionStoreException
      Throws:
      org.projectnessie.versioned.VersionStoreException
    • checkTransplantOnNonExistingBranch

      @ParameterizedTest @ValueSource(booleans={false,true}) protected void checkTransplantOnNonExistingBranch(boolean dryRun)
    • checkTransplantWithNonExistingCommit

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

      @Test protected void checkTransplantWithNoExpectedHash() throws org.projectnessie.versioned.VersionStoreException
      Throws:
      org.projectnessie.versioned.VersionStoreException
    • checkTransplantWithCommitsInWrongOrder

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

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

      @Test protected void transplantBasic() throws org.projectnessie.versioned.VersionStoreException
      Throws:
      org.projectnessie.versioned.VersionStoreException
    • transplantEmptyCommit

      @Test protected void transplantEmptyCommit() throws org.projectnessie.versioned.VersionStoreException
      Throws:
      org.projectnessie.versioned.VersionStoreException