Skip to content

Commit

Permalink
Fix imports and formatting stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
simonharrer committed Mar 15, 2016
1 parent 3f46f1b commit 91f2a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package net.sf.jabref.gui;

import junit.framework.AssertionFailedError;
import org.junit.Assert;

import javax.swing.*;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
Expand All @@ -19,7 +16,7 @@ public void installExceptionDetectionInEDT() {
}

public void assertNoExceptions() {
if(!list.isEmpty()) {
if (!list.isEmpty()) {
throw new AssertionError("Uncaught exception in EDT", list.get(0));
}
}
Expand Down
7 changes: 2 additions & 5 deletions src/integrationTest/java/net/sf/jabref/gui/GUITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
import net.sf.jabref.gui.preftabs.PreferencesDialog;
import org.assertj.swing.core.GenericTypeMatcher;
import org.assertj.swing.dependency.jsr305.Nonnull;
import org.assertj.swing.fixture.Containers;
import org.assertj.swing.fixture.FrameFixture;
import org.assertj.swing.timing.Pause;
import org.assertj.swing.junit.testcase.AssertJSwingJUnitTestCase;
import org.assertj.swing.timing.Pause;
import org.junit.Ignore;
import org.junit.Test;

Expand All @@ -33,8 +32,6 @@ protected void onSetUp() {
robot().settings().delayBetweenEvents(50);
}



@Test
public void testExit() {
FrameFixture mainFrame = findFrame(JabRefFrame.class).withTimeout(10_000).using(robot());
Expand Down Expand Up @@ -114,5 +111,5 @@ public void testViewChanges() {
mainFrame.menuItemWithPath("File", "Close database").click();
exitJabRef(mainFrame);
}

}

0 comments on commit 91f2a74

Please sign in to comment.