public void setUp1()

in rake-runner-test/src/jetbrains/slow/plugins/rakerunner/AbstractRakeRunnerTest.java [77:100]


  public void setUp1() throws Throwable {
    setAgentOwnPort();
    super.setUp1();
    setMockingOptions(FAKE_STACK_TRACE, FAKE_LOCATION_URL, FAKE_ERROR_MSG);
    setMessagesTranslationEnabled(false);
    if (myRubyVersion == null) {
      if (SystemInfo.isWindows) {
        setInterpreterPath();
      } else if (SystemInfo.isUnix) {
        setRubyConfiguration();
      }
    } else {
      if (SystemInfo.isWindows) {
        setInterpreterPath(myRubyVersion);
      } else if (SystemInfo.isUnix) {
        setRubyConfiguration(myRubyVersion);
      }
    }

    getBuildType().addRunParameter(
      new SimpleParameter(RakeRunnerConstants.SERVER_CONFIGURATION_VERSION_PROPERTY, RakeRunnerConstants.CURRENT_CONFIG_VERSION));
    getBuildType().addRunParameter(
      new SimpleParameter(ServerProvidedProperties.TEAMCITY_VERSION_ENV, "2020.2"));
  }