-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Execute tools at the end of each test case
- Loading branch information
1 parent
84e1233
commit 4224a9e
Showing
8 changed files
with
264 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
338 changes: 246 additions & 92 deletions
338
project-api-tests/src/test/java/org/ballerina/projectapi/BalToolTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...ct-api-tests/src/test/resources/bal-tool/cmd-outputs/tool-execute-specific-help-1.0.0.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Sample tool used for testing the bal tools in ballerina distribution tests. | ||
bal disttest <arg1> | ||
|
||
--args-- | ||
<arg1> | ||
The argument to be printed. | ||
|
||
version: 1.0.0 |
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...i-tests/src/test/resources/bal-tool/cmd-outputs/tool-execute-unknown-cmd-non-existing.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ballerina: unknown command 'disttest2' | ||
Run 'bal help' for usage. |
2 changes: 2 additions & 0 deletions
2
project-api-tests/src/test/resources/bal-tool/cmd-outputs/tool-execute-unknown-cmd.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ballerina: unknown command 'disttest' | ||
Run 'bal help' for usage. |
8 changes: 4 additions & 4 deletions
8
...i-tests/src/test/resources/bal-tool/cmd-outputs/tool-list-with-multiple-tool-versions.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|TOOL ID |VERSION | | ||
|----------------------|----------------| | ||
|disttest | 1.1.0 | | ||
|disttest |* 1.0.0 | | ||
|TOOL ID |VERSION |REPO | | ||
|----------------------|----------------|-----------| | ||
|disttest | 1.1.0 |central | | ||
|disttest |* 1.0.0 |central | |