Skip to content
Permalink
Browse files

remove unused variables

  • Loading branch information...
pabender committed Apr 4, 2019
1 parent 04fe692 commit fbb5c92a185ca3be03929dcc9cc994c88c2ced1f
@@ -119,7 +119,6 @@ public void testEditButton() {
JFrameOperator jfo = new JFrameOperator(f);
jmri.util.swing.JemmyUtil.pressButton(jfo,Bundle.getMessage("ButtonAdd"));
JFrame f1 = JFrameOperator.waitJFrame(getAddFrameName(), true, true);
JFrameOperator jf = new JFrameOperator(f1);
//Enter 1 in the text field labeled "Hardware address:"
JTextField hwAddressField = JTextFieldOperator.findJTextField(f1, new NameComponentChooser("hwAddressTextField"));
Assert.assertNotNull("hwAddressTextField", hwAddressField);
@@ -129,7 +129,6 @@ public void testEditButton() {
JFrameOperator jfo = new JFrameOperator(f);
jmri.util.swing.JemmyUtil.pressButton(jfo,Bundle.getMessage("ButtonAdd"));
JFrame f1 = JFrameOperator.waitJFrame(getAddFrameName(), true, true);
JFrameOperator jf = new JFrameOperator(f1);
//Enter 1 in the text field labeled "Hardware address:"
JTextField hwAddressField = JTextFieldOperator.findJTextField(f1, new NameComponentChooser("hwAddressTextField"));
Assert.assertNotNull("hwAddressTextField", hwAddressField);
@@ -162,7 +162,6 @@ public void testEditButton() {
JFrameOperator jfo = new JFrameOperator(f);
jmri.util.swing.JemmyUtil.pressButton(jfo,Bundle.getMessage("ButtonAdd"));
JFrame f1 = JFrameOperator.waitJFrame(getAddFrameName(), true, true);
JFrameOperator jf = new JFrameOperator(f1);
//Enter 1 in the text field labeled "Hardware address:"
JTextField hwAddressField = JTextFieldOperator.findJTextField(f1, new NameComponentChooser("hwAddressTextField"));
Assert.assertNotNull("hwAddressTextField", hwAddressField);

0 comments on commit fbb5c92

Please sign in to comment.
You can’t perform that action at this time.