Package org.projectnessie.jaxrs.tests
Class AbstractRestMergeTransplant
- java.lang.Object
-
- org.projectnessie.jaxrs.tests.AbstractRest
-
- org.projectnessie.jaxrs.tests.AbstractRestAssign
-
- org.projectnessie.jaxrs.tests.AbstractRestCommitLog
-
- org.projectnessie.jaxrs.tests.AbstractRestContents
-
- org.projectnessie.jaxrs.tests.AbstractRestDiff
-
- org.projectnessie.jaxrs.tests.AbstractRestEntries
-
- org.projectnessie.jaxrs.tests.AbstractRestInvalidRefs
-
- org.projectnessie.jaxrs.tests.AbstractRestInvalid
-
- org.projectnessie.jaxrs.tests.AbstractRestMergeTransplant
-
- Direct Known Subclasses:
AbstractRestMisc
public abstract class AbstractRestMergeTransplant extends AbstractRestInvalid
SeeAbstractTestRestfor details about and reason for the inheritance model.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.projectnessie.jaxrs.tests.AbstractRestContents
AbstractRestContents.ContentAndOperationType
-
-
Field Summary
-
Fields inherited from class org.projectnessie.jaxrs.tests.AbstractRestInvalid
COMMA_VALID_HASH_1, COMMA_VALID_HASH_2, COMMA_VALID_HASH_3
-
Fields inherited from class org.projectnessie.jaxrs.tests.AbstractRest
soft
-
-
Constructor Summary
Constructors Constructor Description AbstractRestMergeTransplant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmergeKeepCommits(org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode refMode)voidmergeMessage()voidmergeMessageDefault()voidmergeSquashed(org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode refMode)voidmergeWithCustomModes()voidmergeWithNamespaces(org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode refMode)voidtransplantKeepCommits(boolean withDetachedCommit)voidtransplantMessageOverrideMultiple()voidtransplantMessageSingle()voidtransplantMessageSquashed()voidtransplantSquashed(boolean withDetachedCommit)voidtransplantWithCustomModes()-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestInvalid
invalidBranchNames, invalidHashes, invalidTags, missingExpectedHash
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestInvalidRefs
testInvalidNamedRefs, testUnknownHashesOnValidNamedRefs, testValidHashesOnValidNamedRefs
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestEntries
fetchEntriesByNamelessReference, filterEntriesByFullKeyName, filterEntriesByName, filterEntriesByNamespace, filterEntriesByNamespaceAndPrefixDepth, filterEntriesByType
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestDiff
diffRefModes, testDiff, testDiffByNamelessReference, testDiffFullPage, testDiffStream
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestContents
contentAndOperationTypes, fetchContentByNamelessReference, multiget, verifyAllContentAndOperationTypes, verifyContentAndOperationTypesIndividually
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestCommitLog
commitLogExtended, commitLogExtendedForUnchangedOperation, commitLogForNamelessReference, commitLogPaging, commitLogPagingAndFilteringByAuthor, commitResponse, filterCommitLogByAuthor, filterCommitLogByCommitRange, filterCommitLogByProperties, filterCommitLogByTimeRange, filterCommitLogOperations
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRestAssign
testAssignAndGetBranch, testAssignAndGetTag, testAssignBranch, testAssignRefToFreshMain, testAssignTag
-
Methods inherited from class org.projectnessie.jaxrs.tests.AbstractRest
contentWithoutId, createBranch, createBranch, createCommits, createTag, diffEntriesWithoutContentId, diffEntryWithoutContentId, getApi, maybeAsDetachedName, operationsWithoutContentId, operationWithoutContentId, tearDown
-
-
-
-
Method Detail
-
transplantKeepCommits
@ParameterizedTest @ValueSource(booleans={true,false}) public void transplantKeepCommits(boolean withDetachedCommit) throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
transplantSquashed
@ParameterizedTest @ValueSource(booleans={true,false}) public void transplantSquashed(boolean withDetachedCommit) throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
mergeKeepCommits
@ParameterizedTest @EnumSource(names={"UNCHANGED","DETACHED"}) public void mergeKeepCommits(org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode refMode) throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
mergeSquashed
@ParameterizedTest @EnumSource(names={"UNCHANGED","DETACHED"}) public void mergeSquashed(org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode refMode) throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
mergeMessage
@Test public void mergeMessage() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
mergeMessageDefault
@Test public void mergeMessageDefault() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
transplantMessageSquashed
@Test public void transplantMessageSquashed() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
transplantMessageSingle
@Test public void transplantMessageSingle() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
transplantMessageOverrideMultiple
@Test public void transplantMessageOverrideMultiple() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
mergeWithNamespaces
@ParameterizedTest @EnumSource(value=org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode.class, mode=EXCLUDE, names="NAME_ONLY") public void mergeWithNamespaces(org.projectnessie.jaxrs.tests.AbstractRest.ReferenceMode refMode) throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
mergeWithCustomModes
@Test public void mergeWithCustomModes() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
transplantWithCustomModes
@Test public void transplantWithCustomModes() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
-