Package org.projectnessie.jaxrs
Class AbstractRestReferences
- java.lang.Object
-
- Direct Known Subclasses:
AbstractRestRefLog
public abstract class AbstractRestReferences extends AbstractRestMisc
SeeAbstractTestRestfor details about and reason for the inheritance model.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.projectnessie.jaxrs.AbstractRestContents
AbstractRestContents.ContentAndOperationType
-
-
Field Summary
-
Fields inherited from class org.projectnessie.jaxrs.AbstractRestInvalidWithHttp
COMMA_VALID_HASH_1, COMMA_VALID_HASH_2, COMMA_VALID_HASH_3
-
-
Constructor Summary
Constructors Constructor Description AbstractRestReferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateReferences()voiddefaultBranchProtection()voidfilterReferences()voidforbiddenReferenceNames(java.lang.String refName)voidgetAllReferences()voidgetUnknownReference()voidreferenceNames(java.lang.String refNamePart)voidtestReferencesHaveMetadataProperties()voidtestSingleReferenceHasMetadataProperties()-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestMisc
checkCelScriptFailureReporting, checkServerErrorPropagation, checkSpecialCharacterRoundTrip, testSupportedApiVersions
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestMergeTransplant
merge, mergeWithNamespaces, transplant
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestInvalidWithHttp
invalidBranchNames, invalidHashes, invalidTags
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestInvalidRefs
testInvalidNamedRefs, testUnknownHashesOnValidNamedRefs, testValidHashesOnValidNamedRefs
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestEntries
filterEntriesByFullKeyName, filterEntriesByName, filterEntriesByNamespace, filterEntriesByNamespaceAndPrefixDepth, filterEntriesByType
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestDiff
diffRefModes, testDiff
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestContents
contentAndOperationTypes, multiget, verifyAllContentAndOperationTypes, verifyContentAndOperationTypesIndividually
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestCommitLog
commitLogExtended, commitLogExtendedForUnchangedOperation, commitLogPaging, commitLogPagingAndFilteringByAuthor, filterCommitLogByAuthor, filterCommitLogByCommitRange, filterCommitLogByProperties, filterCommitLogByTimeRange, filterCommitLogOperations
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRestAssign
testAssignRefToFreshMain
-
Methods inherited from class org.projectnessie.jaxrs.AbstractRest
createBranch, createBranch, createCommits, deleteBranch, getApi, getHttpClient, getOrCreateEmptyBranch, getUri, init, init, maybeAsDetachedName, setUp, tearDown
-
-
-
-
Method Detail
-
defaultBranchProtection
@Test public void defaultBranchProtection() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
getAllReferences
@Test public void getAllReferences() throws java.lang.Exception- Throws:
java.lang.Exception
-
getUnknownReference
@Test public void getUnknownReference()
-
forbiddenReferenceNames
@ParameterizedTest @ValueSource(strings={"HEAD","DETACHED","cafebabedeadbeef","a234567890123456","CAFEBABEDEADBEEF","A234567890123456","caffee20","caffee2022"}) public void forbiddenReferenceNames(java.lang.String refName) throws org.projectnessie.error.NessieNotFoundException- Throws:
org.projectnessie.error.NessieNotFoundException
-
createReferences
@Test public void createReferences() throws org.projectnessie.error.NessieNotFoundException- Throws:
org.projectnessie.error.NessieNotFoundException
-
referenceNames
@ParameterizedTest @ValueSource(strings={"normal","with-no_space","slash/thing"}) public void referenceNames(java.lang.String refNamePart) throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
filterReferences
@Test public void filterReferences() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
testReferencesHaveMetadataProperties
@Test public void testReferencesHaveMetadataProperties() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
testSingleReferenceHasMetadataProperties
@Test public void testSingleReferenceHasMetadataProperties() throws org.projectnessie.error.BaseNessieClientServerException- Throws:
org.projectnessie.error.BaseNessieClientServerException
-
-