-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds unit tests for all supported backends
- Loading branch information
Showing
6 changed files
with
57 additions
and
9 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
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
10 changes: 10 additions & 0 deletions
10
src/test/resources/regressions/features/backends/carbon.gobra
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,10 @@ | ||
package carbon | ||
|
||
// ##(--backend CARBON) | ||
|
||
// tests whether the carbon backend is operational | ||
|
||
func foo() { | ||
//:: ExpectedOutput(assert_error:assertion_error) | ||
assert false; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/test/resources/regressions/features/backends/silicon.gobra
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,10 @@ | ||
package silicon | ||
|
||
// ##(--backend SILICON) | ||
|
||
// tests whether the silicon backend is operational | ||
|
||
func foo() { | ||
//:: ExpectedOutput(assert_error:assertion_error) | ||
assert false; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/test/resources/regressions/features/backends/vs-with-carbon.gobra
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,10 @@ | ||
package vswithcarbon | ||
|
||
// ##(--backend VSWITHCARBON) | ||
|
||
// tests whether the carbon backend in connection with ViperServer is operational | ||
|
||
func foo() { | ||
//:: ExpectedOutput(assert_error:assertion_error) | ||
assert false; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/test/resources/regressions/features/backends/vs-with-silicon.gobra
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,10 @@ | ||
package vswithsilicon | ||
|
||
// ##(--backend VSWITHSILICON) | ||
|
||
// tests whether the silicon backend in connection with ViperServer is operational | ||
|
||
func foo() { | ||
//:: ExpectedOutput(assert_error:assertion_error) | ||
assert false; | ||
} |