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
FieldsFields inherited from class org.projectnessie.versioned.tests.AbstractNestedVersionStore
store -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTransplant(org.projectnessie.versioned.VersionStore store) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckInvalidBranchHash(boolean dryRun) protected voidprotected voidcheckTransplantOnNonExistingBranch(boolean dryRun) protected voidcheckTransplantWithCommitsInWrongOrder(boolean dryRun) protected voidcheckTransplantWithConflictingCommit(boolean dryRun) protected voidprotected voidprotected voidcheckTransplantWithNonExistingCommit(boolean dryRun) protected voidprotected voidprotected voidprotected voidMethods inherited from class org.projectnessie.versioned.tests.AbstractNestedVersionStore
assertCommitMeta, commit, commit, commit, commit, commit, commitsList, commitsListMap, contentsWithoutId, contentWithoutId, contentWithoutId, contentWithoutId, delete, diffsWithoutContentId, filterMainBranch, forceCommit, operationsWithoutContentId, put, storageCheckpoint, store, unchanged
-
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
-