All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.aoreshin.junit5.extensions.DisplayNameExecutionConditionUtil Maven / Gradle / Ivy

There is a newer version: 83
Show newest version
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