mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
checkstyle and refactor
This commit is contained in:
@@ -16,7 +16,7 @@ public class CardColorTest {
|
||||
@Test(groups = {"UnitTest", "fast"}, timeOut = 1000)
|
||||
public void CardColorTest1() {
|
||||
ManaCost mc = new ManaCost("R W U");
|
||||
EnumSet<Color> col = Color.ConvertManaCostToColor(mc);
|
||||
EnumSet<Color> col = Color.convertManaCostToColor(mc);
|
||||
System.out.println(col.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,8 @@ public class GuiBoosterDraftTest {
|
||||
*/
|
||||
@Test(groups = {"UnitTest", "fast"})
|
||||
public void GuiBoosterDraftTest1() {
|
||||
Constant.Runtime.gameType = GameType.Draft;
|
||||
Constant.Runtime.HumanDeck[0] = new Deck(GameType.Sealed);
|
||||
Constant.Runtime.setGameType(GameType.Draft);
|
||||
Constant.Runtime.HUMAN_DECK[0] = new Deck(GameType.Sealed);
|
||||
|
||||
DeckEditorDraft g = new DeckEditorDraft();
|
||||
g.showGui(new BoosterDraft_1(CardPoolLimitation.Full));
|
||||
|
||||
@@ -23,8 +23,7 @@ public final class BraidsAssertFunctions {
|
||||
*/
|
||||
public static void assertThrowsException(
|
||||
@SuppressWarnings("rawtypes") final Class exnClass,
|
||||
final ClumsyRunnable withScissors)
|
||||
{
|
||||
final ClumsyRunnable withScissors) {
|
||||
try {
|
||||
withScissors.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user