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