|
2 | 2 |
|
3 | 3 | import static org.junit.jupiter.api.Assertions.assertTrue; |
4 | 4 |
|
| 5 | +import java.io.IOException; |
5 | 6 | import java.util.ArrayList; |
6 | 7 | import java.util.List; |
7 | 8 | import java.util.Map; |
|
10 | 11 | import org.apposed.appose.Builder; |
11 | 12 | import org.apposed.appose.Environment; |
12 | 13 | import org.apposed.appose.Service; |
13 | | -import org.apposed.appose.TaskException; |
14 | | -import org.apposed.appose.BuildException; |
15 | 14 | import org.junit.jupiter.api.Test; |
16 | 15 |
|
17 | 16 | class ApposePixiTest |
@@ -116,7 +115,7 @@ class ApposePixiTest |
116 | 115 | + "cuda-dev = { features = ['cuda', 'dev'], solve-group = 'default' }"; |
117 | 116 |
|
118 | 117 | @Test |
119 | | - void testApposePixi() throws BuildException, InterruptedException, TaskException |
| 118 | + void testApposePixi() throws InterruptedException, IOException |
120 | 119 | { |
121 | 120 | Environment env = Appose.pixi().content( ENV_CONTENT ).logDebug().build(); |
122 | 121 | List< String > launchArgs = new ArrayList<>( env.launchArgs() ); |
@@ -165,7 +164,7 @@ public Map< String, String > envVars() |
165 | 164 | } |
166 | 165 |
|
167 | 166 | @Test |
168 | | - void testApposePixiToml() throws BuildException, InterruptedException, TaskException |
| 167 | + void testApposePixiToml() throws InterruptedException, IOException |
169 | 168 | { |
170 | 169 | Environment env = Appose.pixi( "src/test/resources/org/mastodon/mamut/appose/stardist.toml" ).logDebug().build(); |
171 | 170 | List< String > launchArgs = new ArrayList<>( env.launchArgs() ); |
@@ -214,7 +213,7 @@ public Map< String, String > envVars() |
214 | 213 | } |
215 | 214 |
|
216 | 215 | @Test |
217 | | - void testApposePixiTomlGpu() throws BuildException, InterruptedException, TaskException |
| 216 | + void testApposePixiTomlGpu() throws InterruptedException, IOException |
218 | 217 | { |
219 | 218 | Environment env = Appose.pixi( "src/test/resources/org/mastodon/mamut/appose/stardist-gpu.toml" ).logDebug().build(); |
220 | 219 | try (Service python = env.python()) |
|
0 commit comments