mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
change some imports and types in GuiBoosterDraftTest.java and GuiQuestOptionsTest.java (I don't know if the fixes are correct, but it fixes a broken build...)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package forge;
|
||||
|
||||
import forge.deck.Deck;
|
||||
import forge.gui.deckeditor.Gui_BoosterDraft;
|
||||
import forge.gui.deckeditor.DeckEditorDraft;
|
||||
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.Test;
|
||||
@@ -22,7 +22,7 @@ public class GuiBoosterDraftTest {
|
||||
Constant.Runtime.GameType[0] = Constant.GameType.Draft;
|
||||
Constant.Runtime.HumanDeck[0] = new Deck(Constant.GameType.Sealed);
|
||||
|
||||
Gui_BoosterDraft g = new Gui_BoosterDraft();
|
||||
DeckEditorDraft g = new DeckEditorDraft();
|
||||
g.showGui(new BoosterDraft_1());
|
||||
Assert.assertNotNull(g);
|
||||
g.dispose();
|
||||
|
||||
@@ -3,6 +3,8 @@ package forge;
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import forge.quest.gui.QuestOptions;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA.
|
||||
* User: dhudson
|
||||
@@ -15,7 +17,7 @@ public class GuiQuestOptionsTest {
|
||||
*/
|
||||
@Test(groups = {"UnitTest", "fast"})
|
||||
public void GuiQuestOptionsTest1() {
|
||||
Gui_QuestOptions dialog = new Gui_QuestOptions();
|
||||
QuestOptions dialog = new QuestOptions();
|
||||
dialog.setVisible(true);
|
||||
Assert.assertNotNull(dialog);
|
||||
dialog.dispose();
|
||||
|
||||
Reference in New Issue
Block a user