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

org.approvaltests.machine_specific_tests.MachineSpecific Maven / Gradle / Ivy

There is a newer version: 24.9.0
Show newest version
package org.approvaltests.machine_specific_tests;

import com.spun.util.SystemUtils;

import java.util.Arrays;
import java.util.List;

public class MachineSpecific
{
  public static boolean       FORCE_RUN = false;
  private static List MACHINES  = Arrays.asList("LLEWELLYN-FALCOs-MacBook-Pro-2.local",
      "llewelllcosmbp2.lan");
  public static boolean isMachineConfiguredForTesting()
  {
    return FORCE_RUN || MACHINES.contains(SystemUtils.getComputerName());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy