Class GoogleHttpFunctionRule

All Implemented Interfaces:
org.junit.rules.TestRule

public class GoogleHttpFunctionRule extends AbstractGoogleHttpFunctionJUnit<GoogleHttpFunctionRule> implements org.junit.rules.TestRule
JUnit 4 rule for Google HTTP function testing.
  • Constructor Details

    • GoogleHttpFunctionRule

      public GoogleHttpFunctionRule(Class<?> httpFunctionClass)
      Instantiate with the Google HttpFunction.
      Parameters:
      httpFunctionClass - HttpFunction Class.
    • GoogleHttpFunctionRule

      public GoogleHttpFunctionRule()
      Instantiate using the OfficeFloor HttpFunction.
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule