类 MergedTestPropertySources

java.lang.Object
cn.taketoday.test.context.support.MergedTestPropertySources

class MergedTestPropertySources extends Object
MergedTestPropertySources encapsulates the merged property sources declared on a test class and all of its superclasses via @TestPropertySource.
从以下版本开始:
4.0
作者:
Sam Brannen, Harry Yang
另请参阅:
  • 字段详细资料

    • empty

      private static final MergedTestPropertySources empty
    • descriptors

      private final List<cn.taketoday.core.io.PropertySourceDescriptor> descriptors
    • properties

      private final String[] properties
  • 构造器详细资料

    • MergedTestPropertySources

      MergedTestPropertySources(List<cn.taketoday.core.io.PropertySourceDescriptor> descriptors, String[] properties)
      Create a MergedTestPropertySources instance with the supplied descriptors and properties.
      参数:
      descriptors - the descriptors for resource locations of properties files; may be empty but never null
      properties - the properties in the form of key=value pairs; may be empty but never null
  • 方法详细资料