类的使用
cn.taketoday.test.util.TestPropertyValues
使用TestPropertyValues的程序包
程序包
说明
Test utilities to run application contexts for testing.
General utility classes for use in unit and integration tests.
-
cn.taketoday.framework.test.context.runner中TestPropertyValues的使用
修饰符和类型字段说明private TestPropertyValuesAbstractApplicationContextRunner.RunnerConfiguration.environmentPropertiesprivate TestPropertyValuesAbstractApplicationContextRunner.RunnerConfiguration.systemProperties -
cn.taketoday.test.util中TestPropertyValues的使用
修饰符和类型方法说明Return a newTestPropertyValuesinstance with additional entries.Return a newTestPropertyValuesinstance with additional entries.Return a newTestPropertyValuesinstance with additional entries.Return a newTestPropertyValuesinstance with additional entries.TestPropertyValues.and(Stream<T> stream, Function<T, TestPropertyValues.Pair> mapper) Return a newTestPropertyValuesinstance with additional entries.static TestPropertyValuesTestPropertyValues.empty()Return an emptyTestPropertyValuesinstance.static TestPropertyValuesReturn a newTestPropertyValueswith the underlying map populated with the given property pairs.static TestPropertyValuesReturn a newTestPropertyValueswith the underlying map populated with the given property pairs.static TestPropertyValuesReturn a newTestPropertyValueswith the underlying map populated with the given map entries.static TestPropertyValuesReturn a newTestPropertyValueswith the underlying map populated with the given property pairs.static <T> TestPropertyValuesTestPropertyValues.of(Stream<T> stream, Function<T, TestPropertyValues.Pair> mapper) Return a newTestPropertyValueswith the underlying map populated with the given stream.