42 |
@Test |
@Test |
43 |
public void testDialog() throws Throwable { |
public void testDialog() throws Throwable { |
44 |
|
|
45 |
if (!TestingUtil.INTERACTIVE) |
if (!TestingUtil.isInteractive()) |
46 |
// Test needed here because following GUI creation would crash |
// Test needed here because following GUI creation would crash |
47 |
// without X11 DISPLAY |
// without X11 DISPLAY |
48 |
return; |
return; |
55 |
|
|
56 |
@Test |
@Test |
57 |
public void testDialogDoesntAppearIf0OrOneLangOnly() throws Throwable { |
public void testDialogDoesntAppearIf0OrOneLangOnly() throws Throwable { |
58 |
if (!TestingUtil.INTERACTIVE) |
if (!TestingUtil.isInteractive()) |
59 |
// Test needed here because following GUI creation would crash |
// Test needed here because following GUI creation would crash |
60 |
// without X11 DISPLAY |
// without X11 DISPLAY |
61 |
return; |
return; |