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 Summary
Fields Modifier and Type Field Description protected org.assertj.core.api.SoftAssertionssoft-
Fields inherited from class org.projectnessie.versioned.tests.AbstractNestedVersionStore
store
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTransplant(org.projectnessie.versioned.VersionStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckInvalidBranchHash(boolean individualCommits)protected voidcheckTransplantOnEmptyBranch(boolean individualCommits)protected voidcheckTransplantOnEmptyBranchModify(boolean individualCommits)protected voidcheckTransplantOnNonExistingBranch(boolean individualCommits)protected voidcheckTransplantWitConflictingCommit(boolean individualCommits)protected voidcheckTransplantWithCommitsInWrongOrder(boolean individualCommits)protected voidcheckTransplantWithDelete(boolean individualCommits)protected voidcheckTransplantWithNoExpectedHash(boolean individualCommits)protected voidcheckTransplantWithNonExistingCommit(boolean individualCommits)protected voidcheckTransplantWithPreviousCommit(boolean individualCommits)protected voidsetupCommits()protected voidtransplantBasic(boolean individualCommits)-
Methods inherited from class org.projectnessie.versioned.tests.AbstractNestedVersionStore
assertCommitMeta, commit, commit, commit, commit, commitsList, commitsListMap, contentsWithoutId, contentWithoutId, contentWithoutId, delete, diffsWithoutContentId, filterMainBranch, forceCommit, operationsWithoutContentId, put, store, unchanged
-
-
-
-
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
-
checkTransplantWitConflictingCommit
@ParameterizedTest @ValueSource(booleans={false,true}) protected void checkTransplantWitConflictingCommit(boolean individualCommits) 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 @ValueSource(booleans={false,true}) protected void checkTransplantOnNonExistingBranch(boolean individualCommits)
-
checkTransplantWithNonExistingCommit
@ParameterizedTest @ValueSource(booleans={false,true}) protected void checkTransplantWithNonExistingCommit(boolean individualCommits) 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 @ValueSource(booleans={false,true}) protected void checkTransplantWithCommitsInWrongOrder(boolean individualCommits) throws org.projectnessie.versioned.VersionStoreException- Throws:
org.projectnessie.versioned.VersionStoreException
-
checkInvalidBranchHash
@ParameterizedTest @ValueSource(booleans={false,true}) protected void checkInvalidBranchHash(boolean individualCommits) 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
-
-