Class BaseTestNessieApi

  • Direct Known Subclasses:
    BaseTestNessieRest

    public abstract class BaseTestNessieApi
    extends java.lang.Object
    Nessie-API tests.
    • Field Detail

      • EMPTY

        public static final java.lang.String EMPTY
      • soft

        protected final org.assertj.core.api.SoftAssertions soft
    • Constructor Detail

      • BaseTestNessieApi

        public BaseTestNessieApi()
    • 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.NessieConflictException
        org.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