Class NessieJaxRsExtension

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.Extension

    public class NessieJaxRsExtension
    extends Object
    implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
    A JUnit 5 extension that starts up Weld/JerseyTest.
    • Constructor Detail

      • NessieJaxRsExtension

        public NessieJaxRsExtension()
      • NessieJaxRsExtension

        public NessieJaxRsExtension​(Supplier<org.projectnessie.versioned.persist.adapter.DatabaseAdapter> databaseAdapterSupplier)
    • Method Detail

      • beforeAll

        public void beforeAll​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
                       throws Exception
        Specified by:
        beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
        Throws:
        Exception
      • afterAll

        public void afterAll​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
                      throws Exception
        Specified by:
        afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
        Throws:
        Exception
      • getURI

        public URI getURI()