Skip to content

Commit

Permalink
Move BuildNewCommandTest to project api
Browse files Browse the repository at this point in the history
  • Loading branch information
gayaldassanayake committed Aug 23, 2024
1 parent 896fee2 commit 3628a12
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 377 deletions.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions devtools-integration-tests/src/test/resources/testng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
<classes>
<class name="org.ballerina.devtools.debug.ModuleBreakpointTest"/>
<class name="org.ballerina.devtools.debug.ServiceDebugTest"/>
<!-- <class name="org.ballerina.devtools.debug.ExpressionEvaluationTest"/>-->
<class name="org.ballerina.devtools.cmd.BuildNewCommandTest"/>
</classes>
</test>
</suite>
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ public static Process executeHelpCommand(String distributionName, Path sourceDir
return executeCommand("help", distributionName, sourceDirectory, args, envProperties);
}

public static Process executeNewCommand(String distributionName, Path sourceDirectory,
List<String> args, Map<String, String> envProperties)
throws IOException, InterruptedException {
return executeCommand("new", distributionName, sourceDirectory, args, envProperties);
}

/**
* Clean and setup the distribution.
*
Expand Down

0 comments on commit 3628a12

Please sign in to comment.