diff --git a/app-ui/src/main/java/com/mercury/platform/ui/frame/impl/test/TestCasesFrame.java b/app-ui/src/main/java/com/mercury/platform/ui/frame/impl/test/TestCasesFrame.java index 6030a067..c9dde51b 100644 --- a/app-ui/src/main/java/com/mercury/platform/ui/frame/impl/test/TestCasesFrame.java +++ b/app-ui/src/main/java/com/mercury/platform/ui/frame/impl/test/TestCasesFrame.java @@ -23,8 +23,9 @@ public class TestCasesFrame extends TitledComponentFrame { private List currency; private List nickNames; private List offer; - private String poeTradeTemplate = "2017/02/11 18:40:32 9029890 951 [INFO Client 8980] @From %s: Hi, I would like to buy your %s listed for %d %s in Breach (stash tab \"%d\"; position: left %d, top %d) %s"; - private String currencyTemplate = "2017/02/11 18:56:15 9973390 951 [INFO Client 8980] @From %s: Hi, I'd like to buy your %d %s for my %d %s in Breach. %s"; + private List leagues; + private String poeTradeTemplate = "2017/02/11 18:40:32 9029890 951 [INFO Client 8980] @From %s: Hi, I would like to buy your %s listed for %d %s in %s (stash tab \"%d\"; position: left %d, top %d) %s"; + private String currencyTemplate = "2017/02/11 18:56:15 9973390 951 [INFO Client 8980] @From %s: Hi, I'd like to buy your %d %s for my %d %s %s. %s"; public TestCasesFrame() { super("MercuryTrade"); @@ -32,6 +33,7 @@ public TestCasesFrame() { currency = new ArrayList<>(); nickNames = new ArrayList<>(); offer = new ArrayList<>(); + leagues = new ArrayList<>(); items.add("Wondertrap Velvet Slippers"); items.add("Rain of Arrows"); @@ -124,6 +126,11 @@ public TestCasesFrame() { offer.add("offer offer offer offer offer offer offer offer"); offer.add("offer offer"); offer.add("offer"); + + leagues.add("Standard"); + leagues.add("Hardcore Legacy"); + leagues.add("Legacy"); + leagues.add("Hardcore"); } @Override @@ -167,6 +174,7 @@ public void mousePressed(MouseEvent e) { items.get(random.nextInt(items.size())), random.nextInt(200), currency.get(random.nextInt(currency.size())), + leagues.get(random.nextInt(leagues.size())), random.nextInt(30), random.nextInt(12) + 1, random.nextInt(12) + 1, @@ -191,6 +199,7 @@ public void mousePressed(MouseEvent e) { currency.get(random.nextInt(currency.size())), random.nextInt(200), currency.get(random.nextInt(currency.size())), + leagues.get(random.nextInt(leagues.size())), offer.get(random.nextInt(offer.size())) )); EventRouter.CORE.fireEvent(new NewWhispersEvent(message));