Permalink
Browse files

fix test

  • Loading branch information...
1 parent 0eedd62 commit 9506e627862a363cb1f502c35b3e348038a3c8c5 @angryziber committed May 25, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/net/azib/ipscan/gui/feeders/FeederGUIRegistryTest.java
@@ -7,14 +7,14 @@
import net.azib.ipscan.config.Labels;
import net.azib.ipscan.feeders.Feeder;
-
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TableItem;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
+
import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
@@ -37,6 +37,7 @@ public void createRegistry() {
feederSelectionCombo = mock(Combo.class);
feederGUI = new RangeFeederGUI(parent);
+ feederGUI.initialize();
registry = new FeederGUIRegistry(new AbstractFeederGUI[] {feederGUI}, feederSelectionCombo, null);
}

0 comments on commit 9506e62

Please sign in to comment.