类的使用
org.springframework.boot.test.util.TestPropertyValues.Pair
使用TestPropertyValues.Pair的程序包
-
org.springframework.boot.test.util中TestPropertyValues.Pair的使用
修饰符和类型方法说明static TestPropertyValues.Pair
TestPropertyValues.Pair.fromMapEntry
(Map.Entry<String, String> entry) Factory method to create aTestPropertyValues.Pair
from aMap.Entry
.static TestPropertyValues.Pair
Factory method to create aTestPropertyValues.Pair
from a name and value.static TestPropertyValues.Pair
修饰符和类型方法说明TestPropertyValues.and
(Stream<T> stream, Function<T, TestPropertyValues.Pair> mapper) Return a newTestPropertyValues
instance with additional entries.static <T> TestPropertyValues
TestPropertyValues.of
(Stream<T> stream, Function<T, TestPropertyValues.Pair> mapper) Return a newTestPropertyValues
with the underlying map populated with the given stream.