This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report an error when the schema load fails
[#135665631]
- Loading branch information
Konstantin Semenov
committed
Feb 11, 2017
1 parent
a7be34a
commit 8736a57
Showing
7 changed files
with
58 additions
and
5 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
3 changes: 3 additions & 0 deletions
3
src/main/kotlin/io/pivotal/trilogy/testrunner/SchemaLoadFailedException.kt
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,3 @@ | ||
package io.pivotal.trilogy.testrunner | ||
|
||
class SchemaLoadFailedException(message: String, exception: RuntimeException) : UnrecoverableException(message, exception) |
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
4 changes: 4 additions & 0 deletions
4
src/test/resources/projects/broken_schema/src/001.count_clients.sql
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,4 @@ | ||
THE SPACE HARVESTS COLLISION COURSE LIKE A HUMAN GREEN PEOPLE. | ||
GREEN PEOPLE | ||
THE TRANSFORMATOR DIES RUMOUR LIKE AN EVASIVE MERMAID. | ||
CAPTAIN'S QUARTERS; |
2 changes: 2 additions & 0 deletions
2
src/test/resources/projects/broken_schema/tests/fixtures/schema.sql
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 @@ | ||
Everyone loves the asperity of pickles pudding coverd with ground corn syrup. | ||
Ho-ho-ho! horror of love. Fly proudly like a final green people. Era secundus caesium est. |
11 changes: 11 additions & 0 deletions
11
src/test/resources/projects/broken_schema/tests/testcase.stt
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,11 @@ | ||
# TEST CASE COUNT_CLIENTS | ||
Example | ||
## TEST | ||
We should be able to count the clients | ||
### DATA | ||
|CLIENT_COUNT$|=ERROR=| | ||
|------------:|-------| | ||
| 0 | | | ||
| 0 | | | ||
| 0 | | | ||
| 0 | | |