Package org.projectnessie.jaxrs.tests
Class BaseTestNessieApi
- java.lang.Object
-
- org.projectnessie.jaxrs.tests.BaseTestNessieApi
-
- Direct Known Subclasses:
BaseTestNessieRest
public abstract class BaseTestNessieApi extends java.lang.ObjectNessie-API tests.
-
-
Constructor Summary
Constructors Constructor Description BaseTestNessieApi()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallReferences()@NotNull org.projectnessie.client.api.NessieApiV1api()voidcommitLog()voidcommitLogForNamelessReference()voidcommitMergeTransplant()voidconfig()voidcontents()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()booleanisV2()voidnamespaces()protected static 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)voidreferences()voidreferencesWithLimitInFirstPage()voidtearDown()voidtestDiffByNamelessReference()
-
-
-
Method Detail
-
api
@NotNull public @NotNull org.projectnessie.client.api.NessieApiV1 api()
-
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)
-
pagingSupported
protected static boolean pagingSupported(org.projectnessie.client.api.PagingBuilder<?,?,?> apiRequestBuilder)
-
config
@Test public void config() throws org.projectnessie.error.NessieNotFoundException- Throws:
org.projectnessie.error.NessieNotFoundException
-
references
@Test public void references() 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
-
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
-
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
-
-