Disabling SwtImage tests for Mac as they fail with 'Invalid thread access'.
This commit is contained in:
parent
5a313bf9b8
commit
6b1bdab366
|
@ -16,21 +16,29 @@ import org.junit.Test;
|
|||
public class SwtImageTest {
|
||||
@Test
|
||||
public void testPNG() throws Exception {
|
||||
// SwtImage unit test fails on Mac, appears to be the thread deal. Disabling for now.
|
||||
assumeThat(SystemUtils.IS_OS_MAC, is(false));
|
||||
performTest("PNG"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testJPEG() throws Exception {
|
||||
// SwtImage unit test fails on Mac, appears to be the thread deal. Disabling for now.
|
||||
assumeThat(SystemUtils.IS_OS_MAC, is(false));
|
||||
performTest("JPEG"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBMP() throws Exception {
|
||||
// SwtImage unit test fails on Mac, appears to be the thread deal. Disabling for now.
|
||||
assumeThat(SystemUtils.IS_OS_MAC, is(false));
|
||||
performTest("BMP"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBMP_RLE() throws Exception {
|
||||
// SwtImage unit test fails on Mac, appears to be the thread deal. Disabling for now.
|
||||
assumeThat(SystemUtils.IS_OS_MAC, is(false));
|
||||
performTest("RLE"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
|
@ -38,11 +46,15 @@ public class SwtImageTest {
|
|||
public void testGIF() throws Exception {
|
||||
// GIF unit test fails on Linux, assuming it is an SWT component issue...
|
||||
assumeThat(SystemUtils.IS_OS_LINUX, is(false));
|
||||
// SwtImage unit test fails on Mac, appears to be the thread deal. Disabling for now.
|
||||
assumeThat(SystemUtils.IS_OS_MAC, is(false));
|
||||
performTest("GIF"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testICO() throws Exception {
|
||||
// SwtImage unit test fails on Mac, appears to be the thread deal. Disabling for now.
|
||||
assumeThat(SystemUtils.IS_OS_MAC, is(false));
|
||||
performTest("ICO"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue