return singlePane;
}
public DualPaneUIVersion1 createDualPaneUI() {
TestSingleDualPaneUIInteractionVersion1 testSingleDualPaneUIInteractionVersion1 = new TestSingleDualPaneUIInteractionVersion1(new TestAlternateUIInteractionVersion1(), new TestSettingsNodeVersion1());
DualPaneUIVersion1 dualPane;
try {
dualPane = UIFactory.createDualPaneUI(getClass().getClassLoader(), dist.getGradleHomeDir(), testSingleDualPaneUIInteractionVersion1, false);
} catch (Exception e) {
throw UncheckedException.asUncheckedException(e);
}
//make sure we got something
Assert.assertNotNull(dualPane);
dualPane.setCurrentDirectory(dist.getTestDir());
dualPane.addCommandLineArgumentAlteringListener(new ExtraTestCommandLineOptionsListener(dist.getUserHomeDir()));
return dualPane;
}