com.github.aoreshin.junit5.extensions.DisplayNameExecutionConditionUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit5-extensions Show documentation
Show all versions of junit5-extensions Show documentation
Little useful extensions for JUnit 5
package com.github.aoreshin.junit5.extensions;
import java.util.Arrays;
import java.util.List;
class DisplayNameExecutionConditionUtil {
private DisplayNameExecutionConditionUtil() {}
static List getDisplayNamesForSystemProperty(String property) {
String displayNames = System.getProperty(property);
if (displayNames != null) {
return Arrays.asList(displayNames.split(","));
} else {
return List.of();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy