public DualPaneUIVersion1 createDualPaneUI() {
    TestSingleDualPaneUIInteractionVersion1 testSingleDualPaneUIInteractionVersion1 =
        new TestSingleDualPaneUIInteractionVersion1(
            new TestAlternateUIInteractionVersion1(), new TestSettingsNodeVersion1());
    DualPaneUIVersion1 dualPane;
    try {
      dualPane =
          UIFactory.createDualPaneUI(
              getClass().getClassLoader(),
              buildContext.getGradleHomeDir(),
              testSingleDualPaneUIInteractionVersion1,
              false);
    } catch (Exception e) {
      throw UncheckedException.throwAsUncheckedException(e);
    }

    // make sure we got something
    Assert.assertNotNull(dualPane);

    dualPane.setCurrentDirectory(testDirectoryProvider.getTestDirectory());
    dualPane.addCommandLineArgumentAlteringListener(
        new ExtraTestCommandLineOptionsListener(buildContext.getGradleUserHomeDir()));

    return dualPane;
  }
 public GradleExecuter requireIsolatedDaemons() {
   return withDaemonBaseDir(testDirectoryProvider.getTestDirectory().file("daemon"));
 }
 public GradleExecuter requireOwnGradleUserHomeDir() {
   return withGradleUserHomeDir(testDirectoryProvider.getTestDirectory().file("user-home"));
 }