类 DefaultTestContext

java.lang.Object
cn.taketoday.test.context.support.DefaultTestContext
所有已实现的接口:
cn.taketoday.core.AttributeAccessor, TestContext, Serializable

public class DefaultTestContext extends Object implements TestContext
Default implementation of the TestContext interface.
从以下版本开始:
4.0
作者:
Sam Brannen, Juergen Hoeller, Rob Harrop, Harry Yang
另请参阅:
  • 字段详细资料

  • 构造器详细资料

    • DefaultTestContext

      public DefaultTestContext(DefaultTestContext testContext)
      Copy constructor for creating a new DefaultTestContext based on the attributes and immutable state of the supplied context.

      Immutable state includes all arguments supplied to the standard constructor.

      抛出:
      NullPointerException - if the supplied DefaultTestContext is null
    • DefaultTestContext

      public DefaultTestContext(Class<?> testClass, MergedContextConfiguration mergedConfig, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)
      Construct a new DefaultTestContext from the supplied arguments.
      参数:
      testClass - the test class for this test context
      mergedConfig - the merged application context configuration for this test context
      cacheAwareContextLoaderDelegate - the delegate to use for loading and closing the application context for this test context
  • 方法详细资料