From 867c62c23d99dea4681aae74143996679b4c1472 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 17 Dec 2018 17:28:28 +0000 Subject: [PATCH] JAL-3048 updated test class (not on classpath!) for code changes --- test/jalview/util/dialogrunner/DialogRunnerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/jalview/util/dialogrunner/DialogRunnerTest.java b/test/jalview/util/dialogrunner/DialogRunnerTest.java index e69ae87..ec61551 100644 --- a/test/jalview/util/dialogrunner/DialogRunnerTest.java +++ b/test/jalview/util/dialogrunner/DialogRunnerTest.java @@ -5,14 +5,14 @@ import org.testng.annotations.Test; public class DialogRunnerTest { - public class MockDialog implements DialogRunnerI + public class MockDialog implements DialogRunnerI { DialogRunner runner = new DialogRunner<>(this); @Override - public MockDialog response(RunResponse action) + public MockDialog addResponse(RunResponse action) { - return runner.response(action); + return runner.addResponse(action); } public void doDialog(String resp) @@ -80,7 +80,7 @@ public class DialogRunnerTest Assert.assertFalse(dialog.runner.isRegistered(ok)); - dialog.response(ok).response(cancel).response(help).response(ineed); + dialog.addResponse(ok).addResponse(cancel).addResponse(help).addResponse(ineed); Assert.assertTrue(dialog.runner.isRegistered(ok)); -- 1.7.10.2