Class PrototypeServer

java.lang.Object
org.zkoss.test.webdriver.PrototypeServer
All Implemented Interfaces:
org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.TestInstancePostProcessor, org.junit.jupiter.api.extension.TestInstancePreDestroyCallback

public class PrototypeServer extends Object implements org.junit.jupiter.api.extension.TestInstancePostProcessor, org.junit.jupiter.api.extension.TestInstancePreDestroyCallback
A server instance per a test case instance.
Since:
1.0.4
Author:
jumperchen
  • Constructor Details

    • PrototypeServer

      public PrototypeServer()
  • Method Details

    • postProcessTestInstance

      public void postProcessTestInstance(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext eContext) throws Exception
      Specified by:
      postProcessTestInstance in interface org.junit.jupiter.api.extension.TestInstancePostProcessor
      Throws:
      Exception
    • getServer

      public org.eclipse.jetty.server.Server getServer()
    • preDestroyTestInstance

      public void preDestroyTestInstance(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
      Specified by:
      preDestroyTestInstance in interface org.junit.jupiter.api.extension.TestInstancePreDestroyCallback
      Throws:
      Exception