Package org.projectnessie.jaxrs.tests
Class BaseTestNessieRest
- java.lang.Object
-
- org.projectnessie.jaxrs.tests.BaseTestNessieApi
-
- org.projectnessie.jaxrs.tests.BaseTestNessieRest
-
public abstract class BaseTestNessieRest extends BaseTestNessieApi
REST specific tests.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.net.URIclientUri-
Fields inherited from class org.projectnessie.jaxrs.tests.BaseTestNessieApi
EMPTY, soft
-
-
Constructor Summary
Constructors Constructor Description BaseTestNessieRest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenableLogging()protected static io.restassured.specification.RequestSpecificationrest()voidtestCommitMetaAttributes()voidtestGetContent(java.lang.String ns, java.lang.String name)voidtestGetUnknownContentType()voidtestInvalidTag(java.lang.String invalidTagName)voidtestNullMergePayload()voidtestNullTagPayload()-
Methods inherited from class org.projectnessie.jaxrs.tests.BaseTestNessieApi
allReferences, api, commitLog, commitLogForNamelessReference, commitMergeTransplant, config, contents, createReference, diff, diffWithLimitInFirstPage, dummyPut, entries, entriesWithLimitInFirstPage, entryContentId, fetchEntriesByNamelessReference, isV2, namespaces, pagingSupported, prepCommit, references, referencesWithLimitInFirstPage, tearDown, testDiffByNamelessReference
-
-
-
-
Method Detail
-
enableLogging
@BeforeEach public void enableLogging()
-
rest
protected static io.restassured.specification.RequestSpecification rest()
-
testGetContent
@ParameterizedTest @CsvSource({"simple,name","simple,dotted.txt","dotted.prefix,name","dotted.prefix,dotted.txt"}) public void testGetContent(java.lang.String ns, java.lang.String name)
-
testGetUnknownContentType
@Test public void testGetUnknownContentType()
-
testNullMergePayload
@Test public void testNullMergePayload()
-
testNullTagPayload
@Test public void testNullTagPayload()
-
testInvalidTag
@ParameterizedTest @ValueSource(strings={"","abc\'",".foo","abc\'def\'..\'blah","abc\'de..blah","abc\'de@{blah"}) public void testInvalidTag(java.lang.String invalidTagName)
-
testCommitMetaAttributes
@Test public void testCommitMetaAttributes()
-
-