Skip to content

Commit 3c5579e

Browse files
committed
BlenderSetupUtilsTest: only ignore tests that require Blender installation
The unit test for the error message formatting can run on github actions.
1 parent abadf22 commit 3c5579e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/test/java/org/mastodon/blender/setup/BlenderSetupUtilsTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
import static org.junit.Assert.assertFalse;
4141
import static org.junit.Assert.assertTrue;
4242

43-
@Ignore
4443
public class BlenderSetupUtilsTest
4544
{
4645
// TODO, improve tests
4746

4847
private final Path blenderBinaryPath = Paths.get("/home/arzt/Applications/blender-3.3.1-linux-x64/blender");
4948

49+
@Ignore("Test requires a Blender installation.")
5050
@Test
5151
public void testInstallAddon() throws IOException
5252
{
@@ -56,6 +56,7 @@ public void testInstallAddon() throws IOException
5656
assertTrue( BlenderSetupUtils.isMastodonAddonInstalled( blenderBinaryPath ) );
5757
}
5858

59+
@Ignore("Test requires a Blender installation.")
5960
@Test
6061
public void testAddon()
6162
throws IOException, InterruptedException
@@ -81,7 +82,7 @@ public void testResultToString() {
8182
"\n" +
8283
"Hello World!\n" +
8384
"\n" +
84-
"Commend Error:\n" +
85+
"Command Error:\n" +
8586
"\n" +
8687
"ERROR\n" +
8788
"String\n\n";

0 commit comments

Comments
 (0)