-
-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate exceptions from java api operations
- Loading branch information
1 parent
a47a627
commit c088d68
Showing
4 changed files
with
47 additions
and
1 deletion.
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
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
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
13 changes: 13 additions & 0 deletions
13
.../test/resources/unit_test_files/java_apis/03_test_json_java_service_method_Exception.json
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,13 @@ | ||
{ | ||
"scenarioName": "Given_When_Then-Flow name For Java Service", | ||
"steps": [ | ||
{ | ||
"name": "javaMethodException", | ||
"url": "org.jsmart.zerocode.core.AddService", | ||
"operation": "squareRoot", | ||
"request": "-255.0", //<-- This negative number should throw an exception | ||
"assertions": { | ||
} | ||
} | ||
] | ||
} |