Package org.projectnessie.jaxrs.tests
Class BaseTestNessieApi
- java.lang.Object
-
- org.projectnessie.jaxrs.tests.BaseTestNessieApi
-
- Direct Known Subclasses:
BaseTestNessieRest
@Tag("nessie-multi-env") public abstract class BaseTestNessieApi extends java.lang.ObjectNessie-API tests.
-
-
Constructor Summary
Constructors Constructor Description BaseTestNessieApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallReferences()@NotNull @NotNull org.projectnessie.client.api.NessieApiV1api()org.projectnessie.client.api.NessieApiV2apiV2()voidcommitLog()voidcommitLogForNamelessReference()voidcommitMergeTransplant()voidcommitParents()voidconfig()voidcontents()voidcontentsOnDefaultBranch()protected <R extends org.projectnessie.model.Reference>
RcreateReference(R reference, java.lang.String sourceRefName)voiddiff()voiddiffWithLimitInFirstPage()protected org.projectnessie.model.Operation.PutdummyPut(java.lang.String... elements)voidentries()voidentriesWithLimitInFirstPage()voidentryContentId()voidfetchEntriesByNamelessReference()protected booleanfullPagingSupport()booleanisV2()voidmergeTransplantDryRunWithConflictInResult()voidnamespaces()protected booleanpagingSupported(org.projectnessie.client.api.PagingBuilder<?,?,?> apiRequestBuilder)protected org.projectnessie.client.api.CommitMultipleOperationsBuilderprepCommit(org.projectnessie.model.Branch branch, java.lang.String msg, org.projectnessie.model.Operation... operations)voidreferenceHistory()voidreferences()voidreferencesUntyped(org.projectnessie.model.Reference.ReferenceType referenceType)voidreferencesWithLimitInFirstPage()voidrelativeCommitLocations()voidspecVersion()voidtearDown()voidtestDiffByNamelessReference()voidtestErrorsV2()
-
-
-
Method Detail
-
api
@NotNull @NotNull public @NotNull @NotNull org.projectnessie.client.api.NessieApiV1 api()
-
apiV2
public org.projectnessie.client.api.NessieApiV2 apiV2()
-
isV2
public boolean isV2()
-
tearDown
@AfterEach public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
createReference
protected <R extends org.projectnessie.model.Reference> R createReference(R reference, java.lang.String sourceRefName) throws org.projectnessie.error.NessieConflictException, org.projectnessie.error.NessieNotFoundException- Throws:
org.projectnessie.error.NessieConflictExceptionorg.projectnessie.error.NessieNotFoundException
-
prepCommit
protected org.projectnessie.client.api.CommitMultipleOperationsBuilder prepCommit(org.projectnessie.model.Branch branch, java.lang.String msg, org.projectnessie.model.Operation... operations)
-
dummyPut
protected org.projectnessie.model.Operation.Put dummyPut(java.lang.String... elements)
-
fullPagingSupport
protected boolean fullPagingSupport()
-
pagingSupported
protected boolean pagingSupported(org.projectnessie.client.api.PagingBuilder<?,?,?> apiRequestBuilder)
-
config
@Test public void config() throws org.projectnessie.error.NessieNotFoundException- Throws:
org.projectnessie.error.NessieNotFoundException
-
specVersion
@Test public void specVersion()
-
references
@Test public void references() throws java.lang.Exception- Throws:
java.lang.Exception
-
referencesUntyped
@ParameterizedTest @EnumSource(org.projectnessie.model.Reference.ReferenceType.class) public void referencesUntyped(org.projectnessie.model.Reference.ReferenceType referenceType) throws java.lang.Exception- Throws:
java.lang.Exception
-
referencesWithLimitInFirstPage
@Test public void referencesWithLimitInFirstPage() throws java.lang.Exception- Throws:
java.lang.Exception
-
commitMergeTransplant
@Test public void commitMergeTransplant() throws java.lang.Exception- Throws:
java.lang.Exception
-
mergeTransplantDryRunWithConflictInResult
@Test public void mergeTransplantDryRunWithConflictInResult() throws java.lang.Exception- Throws:
java.lang.Exception
-
commitParents
@Test public void commitParents() throws java.lang.Exception- Throws:
java.lang.Exception
-
diff
@Test public void diff() throws java.lang.Exception- Throws:
java.lang.Exception
-
diffWithLimitInFirstPage
@Test public void diffWithLimitInFirstPage() throws java.lang.Exception- Throws:
java.lang.Exception
-
commitLog
@Test public void commitLog() throws java.lang.Exception- Throws:
java.lang.Exception
-
allReferences
@Test public void allReferences() throws java.lang.Exception- Throws:
java.lang.Exception
-
contentsOnDefaultBranch
@Test public void contentsOnDefaultBranch() throws java.lang.Exception- Throws:
java.lang.Exception
-
contents
@Test public void contents() throws java.lang.Exception- Throws:
java.lang.Exception
-
entries
@Test public void entries() throws java.lang.Exception- Throws:
java.lang.Exception
-
entryContentId
@Test public void entryContentId() throws java.lang.Exception- Throws:
java.lang.Exception
-
entriesWithLimitInFirstPage
@Test public void entriesWithLimitInFirstPage() throws java.lang.Exception- Throws:
java.lang.Exception
-
namespaces
@Test public void namespaces() throws java.lang.Exception- Throws:
java.lang.Exception
-
commitLogForNamelessReference
@Test public void commitLogForNamelessReference() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
testDiffByNamelessReference
@Test public void testDiffByNamelessReference() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
fetchEntriesByNamelessReference
@Test public void fetchEntriesByNamelessReference() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
relativeCommitLocations
@Test @DisabledOnOs(WINDOWS) public void relativeCommitLocations() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
testErrorsV2
@Test public void testErrorsV2() throws java.lang.Exception- Throws:
java.lang.Exception
-
referenceHistory
@Test public void referenceHistory() throws java.lang.Exception- Throws:
java.lang.Exception
-
-