Class BaseTestNessieRest


  • public abstract class BaseTestNessieRest
    extends BaseTestNessieApi
    REST specific tests.
    • Field Detail

      • clientUri

        protected java.net.URI clientUri
    • Constructor Detail

      • BaseTestNessieRest

        public BaseTestNessieRest()
    • Method Detail

      • isNewModel

        protected abstract boolean isNewModel()
      • enableLogging

        @BeforeEach
        public void enableLogging()
      • rest

        protected static io.restassured.specification.RequestSpecification rest()
      • testNotFoundUrls

        @ParameterizedTest
        @ValueSource(strings={"trees/not-there-using","contents/not-there-using","something/not-there-using",""})
        public void testNotFoundUrls​(java.lang.String path)
      • testReferenceConflictDetailsV1

        @Test
        public void testReferenceConflictDetailsV1()
      • testReferenceConflictDetailsV2

        @Test
        public void testReferenceConflictDetailsV2()
      • 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)
                            throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • 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()
      • referenceTypeInvalidValue

        @Test
        public void referenceTypeInvalidValue()
      • getRefByNameHashNotAllowed

        @Test
        public void getRefByNameHashNotAllowed()
      • assignAndDeleteRefWithoutType

        @Test
        public void assignAndDeleteRefWithoutType()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception