mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RUBY-17820 RSpec describe names truncated
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ public class GeneralToSMTRunnerEventsConvertor extends GeneralTestEventsProcesso
|
||||
SMTestProxy newSuite = findChildByName(parentSuite, suiteName);
|
||||
if (newSuite == null) {
|
||||
//new suite
|
||||
newSuite = new SMTestProxy(suiteName, true, locationUrl);
|
||||
newSuite = new SMTestProxy(suiteName, true, locationUrl, parentSuite.isPreservePresentableName());
|
||||
|
||||
if (myLocator != null) {
|
||||
newSuite.setLocator(myLocator);
|
||||
|
||||
+9
-1
@@ -90,6 +90,10 @@ public class SMTestProxy extends AbstractTestProxy {
|
||||
myPreservePresentableName = preservePresentableName;
|
||||
}
|
||||
|
||||
public boolean isPreservePresentableName() {
|
||||
return myPreservePresentableName;
|
||||
}
|
||||
|
||||
public void setLocator(@NotNull SMTestLocator testLocator) {
|
||||
myLocator = testLocator;
|
||||
}
|
||||
@@ -851,7 +855,11 @@ public class SMTestProxy extends AbstractTestProxy {
|
||||
private ProcessHandler myHandler;
|
||||
|
||||
public SMRootTestProxy() {
|
||||
super("[root]", true, null);
|
||||
this(false);
|
||||
}
|
||||
|
||||
public SMRootTestProxy(boolean preservePresentableName) {
|
||||
super("[root]", true, null, preservePresentableName);
|
||||
}
|
||||
|
||||
public void setTestsReporterAttached() {
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ public class SMTestRunnerResultsForm extends TestResultsPanel
|
||||
|
||||
//Create tests common suite root
|
||||
//noinspection HardCodedStringLiteral
|
||||
myTestsRootNode = new SMTestProxy.SMRootTestProxy();
|
||||
myTestsRootNode = new SMTestProxy.SMRootTestProxy(consoleProperties.isPreservePresentableName());
|
||||
//todo myTestsRootNode.setOutputFilePath(runConfiguration.getOutputFilePath());
|
||||
|
||||
// Fire selection changed and move focus on SHIFT+ENTER
|
||||
|
||||
+9
@@ -69,6 +69,7 @@ public abstract class TestConsoleProperties extends StoringPropertyContainer imp
|
||||
private ConsoleView myConsole;
|
||||
private boolean myUsePredefinedMessageFilter = true;
|
||||
private GlobalSearchScope myScope;
|
||||
private boolean myPreservePresentableName = false;
|
||||
|
||||
protected final Map<AbstractProperty, List<TestFrameworkPropertyListener>> myListeners = ContainerUtil.newHashMap();
|
||||
|
||||
@@ -109,6 +110,14 @@ public abstract class TestConsoleProperties extends StoringPropertyContainer imp
|
||||
return scope;
|
||||
}
|
||||
|
||||
public boolean isPreservePresentableName() {
|
||||
return myPreservePresentableName;
|
||||
}
|
||||
|
||||
public void setPreservePresentableName(boolean preservePresentableName) {
|
||||
myPreservePresentableName = preservePresentableName;
|
||||
}
|
||||
|
||||
public <T> void addListener(@NotNull AbstractProperty<T> property, @NotNull TestFrameworkPropertyListener<T> listener) {
|
||||
List<TestFrameworkPropertyListener> listeners = myListeners.get(property);
|
||||
if (listeners == null) {
|
||||
|
||||
Reference in New Issue
Block a user