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 27, 2024
1 parent ad32f4a commit 029bd5d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 376 deletions.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion devtools-integration-tests/src/test/resources/testng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<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 @@ -108,6 +108,12 @@ public static Process executeSearchCommand(String distributionName, Path sourceD
return executeCommand("search", 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 029bd5d

Please sign in to comment.