summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java
index dbd1227..d1f177d 100644
--- a/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java
+++ b/src/test/java/org/zwobble/hobgoblin/compiler/ExampleTests.java
@@ -32,6 +32,7 @@ public class ExampleTests {
var javaOutputPath = verifyJavaOutput(exampleSet);
var rustOutputPath = verifyRustOutput(exampleSet);
+ verifySqlite3Output(exampleSet);
verifyTypescriptOutput(exampleSet);
var transient0OutputDirs = Stream.of(javaOutputPath, rustOutputPath)
@@ -68,6 +69,18 @@ public class ExampleTests {
return verifyOutput(exampleSet, "rust", List.of(List.of("cargo", "test")));
}
+ private void verifySqlite3Output(
+ ExampleSet exampleSet
+ ) throws NoSuchAlgorithmException, IOException, InterruptedException {
+ verifyOutput(
+ exampleSet,
+ "sqlite3",
+ List.of(
+ List.of("python3", "-m", "unittest", "test.py")
+ )
+ );
+ }
+
private Optional<Path> verifyTypescriptOutput(ExampleSet exampleSet) throws NoSuchAlgorithmException, IOException, InterruptedException {
return verifyOutput(exampleSet, "typescript", List.of(
List.of("pnpm", "install"),