类的使用
org.springframework.boot.test.util.TestPropertyValues
使用TestPropertyValues的程序包
-
org.springframework.boot.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.