Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debugger terminal tests on windows #43743

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.ballerinalang.debugger.test.utils.DebugUtils;
import org.ballerinalang.test.context.BallerinaTestException;
import org.testng.Assert;
import org.testng.SkipException;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
Expand All @@ -30,7 +29,6 @@
* Test class to test the runInTerminal feature for project based sources.
*/
public class ProjectBasedRunInTerminalTest {

DebugTestRunner debugTestRunner;
boolean didRunInIntegratedTerminal;

Expand All @@ -43,12 +41,6 @@ public void setup() {

@Test(description = "Debug launch test in integrated terminal for project based source")
public void testRunInIntegratedTerminal() throws BallerinaTestException {
// Skipping the test on Windows
// TODO: enable after fixing intermittent failures
if (System.getProperty("os.name").toLowerCase().contains("win")) {
throw new SkipException("Skipping test on Windows OS");
}

String integratedTerminal = "integrated";
debugTestRunner.setClientSupportsRunInTerminal(true);
didRunInIntegratedTerminal = debugTestRunner.initDebugSession(DebugUtils.DebuggeeExecutionKind.RUN,
Expand All @@ -58,12 +50,6 @@ public void testRunInIntegratedTerminal() throws BallerinaTestException {

@Test(description = "Debug launch test in external terminal for project based source")
public void testRunInExternalTerminal() throws BallerinaTestException {
// Skipping the test on Windows
// TODO: enable after fixing intermittent failures
if (System.getProperty("os.name").toLowerCase().contains("win")) {
throw new SkipException("Skipping test on Windows OS");
}

String externalTerminal = "external";
debugTestRunner.setClientSupportsRunInTerminal(true);
didRunInIntegratedTerminal = debugTestRunner.initDebugSession(DebugUtils.DebuggeeExecutionKind.RUN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.ballerinalang.debugger.test.utils.DebugUtils;
import org.ballerinalang.test.context.BallerinaTestException;
import org.testng.Assert;
import org.testng.SkipException;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
Expand All @@ -44,12 +43,6 @@ public void setup() {

@Test(description = "Debug launch test in integrated terminal for single file")
public void testRunInIntegratedTerminal() throws BallerinaTestException {
// Skipping the test on Windows
// TODO: enable after fixing intermittent failures
if (System.getProperty("os.name").toLowerCase().contains("win")) {
throw new SkipException("Skipping test on Windows OS");
}

String integratedTerminal = "integrated";
debugTestRunner.setClientSupportsRunInTerminal(true);
didRunInIntegratedTerminal = debugTestRunner.initDebugSession(DebugUtils.DebuggeeExecutionKind.RUN,
Expand All @@ -59,12 +52,6 @@ public void testRunInIntegratedTerminal() throws BallerinaTestException {

@Test(description = "Debug launch test in external terminal for single file")
public void testRunInExternalTerminal() throws BallerinaTestException {
// Skipping the test on Windows
// TODO: enable after fixing intermittent failures
if (System.getProperty("os.name").toLowerCase().contains("win")) {
throw new SkipException("Skipping test on Windows OS");
}

String externalTerminal = "external";
debugTestRunner.setClientSupportsRunInTerminal(true);
didRunInIntegratedTerminal = debugTestRunner.initDebugSession(DebugUtils.DebuggeeExecutionKind.RUN,
Expand Down
Loading