ergerodr / fest

Automatically exported from code.google.com/p/fest
0 stars 0 forks source link

JTextComponentFixture.doubleClick() does not exhibit expected behavior #313

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a JPanel which contains a JTextField.
2. Observe that double-click causes selectAll when exercised manually.
3. Create a FEST test case and invoke:

FrameFixture frameFixture = new FrameFixture(frame);
JPanelFixture pf = new JPanelFixture(frameFixture.robot, panel);
pf.textBox(textField).doubleClick();

compare this to
pf.textBox(textField).selectAll() or manually double-clicking

What is the expected output? What do you see instead?
Expected: text in JTextField should be highlighted as with selectAll()
Actual: Nothing visible occurs, effect is similar to slowly clicking twice.

What version of the product are you using? On what operating system?
FEST 1.2a2

Please provide any additional information below.
n/a

Original issue reported on code.google.com by woody.fo...@gmail.com on 9 Jun 2009 at 9:22

GoogleCodeExporter commented 8 years ago
Hi Woody,

Now we use JIRA for issue tracking. I have migrated this bug to
http://jira.codehaus.org/browse/FEST-137

Thanks!
-Alex

Original comment by Alex.Rui...@gmail.com on 9 Jun 2009 at 9:38