Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-05-09 11:25:50 +0000
committerAlexander Kurtakov2017-05-09 11:25:50 +0000
commit1a1800326f357553f9b0106a729b7764899d909d (patch)
tree62be5e0ae6d185944f5baf65980675ab1b62eb75
parent8e20ac7f1a854c0bb5dc17aae2b3e0851c40fae8 (diff)
downloadorg.eclipse.dltk.ruby-1a1800326f357553f9b0106a729b7764899d909d.tar.gz
org.eclipse.dltk.ruby-1a1800326f357553f9b0106a729b7764899d909d.tar.xz
org.eclipse.dltk.ruby-1a1800326f357553f9b0106a729b7764899d909d.zip
Make minitest runner use the tests view always.
Change-Id: I62ff85f988125afb88b96e61f5d024f0d3ff50bf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--plugins/org.eclipse.dltk.ruby.testing/src/org/eclipse/dltk/ruby/testing/internal/miniunit/MiniTestingEngine.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/org.eclipse.dltk.ruby.testing/src/org/eclipse/dltk/ruby/testing/internal/miniunit/MiniTestingEngine.java b/plugins/org.eclipse.dltk.ruby.testing/src/org/eclipse/dltk/ruby/testing/internal/miniunit/MiniTestingEngine.java
index 10ff3748..26d3ac80 100644
--- a/plugins/org.eclipse.dltk.ruby.testing/src/org/eclipse/dltk/ruby/testing/internal/miniunit/MiniTestingEngine.java
+++ b/plugins/org.eclipse.dltk.ruby.testing/src/org/eclipse/dltk/ruby/testing/internal/miniunit/MiniTestingEngine.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2016 Red Hat Inc. and others
+ * Copyright (c) 2016, 2017 Red Hat Inc. and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -119,11 +119,9 @@ public class MiniTestingEngine extends AbstractRubyTestingEngine {
if (!RubyTestingLaunchConfigurationDelegate.isContainerMode(configuration)) {
if (config.getEnvironment().isLocal()) {
final String runnerName = MINITEST_RUNNER;
- if (!isDevelopmentMode(config, runnerName)) {
- final File runnerFile = getRunnerFile(getBundle(), RUNNER_PATH, runnerName);
- config.addInterpreterArg("-r"); //$NON-NLS-1$
- config.addInterpreterArg(runnerFile.getPath());
- }
+ final File runnerFile = getRunnerFile(getBundle(), RUNNER_PATH, runnerName);
+ config.addInterpreterArg("-r"); //$NON-NLS-1$
+ config.addInterpreterArg(runnerFile.getPath());
}
} else {
final String containerHandle = configuration.getAttribute(DLTKTestingConstants.ATTR_TEST_CONTAINER,

Back to the top