google-code-export / gwt-test-utils

Automatically exported from code.google.com/p/gwt-test-utils
1 stars 0 forks source link

Event problem with PushButton #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

    @Test
    public void testButton() {

        Assert.assertFalse(clicked);
        PushButton b = new PushButton();
        b.addClickHandler(new ClickHandler() {

            @Override
            public void onClick(ClickEvent event) {
                clicked = true;
            }
        });

        Browser.click(b);

        Assert.assertTrue(clicked);
    }

What is the expected output? What do you see instead?

Test doesn't pass

Please use labels and text to provide additional information.

Replace the Pushbutton by a simple "Button"-Widget and It will pass again

Original issue reported on code.google.com by gael.laz...@gmail.com on 25 Sep 2011 at 11:37

GoogleCodeExporter commented 9 years ago

Original comment by gael.laz...@gmail.com on 25 Sep 2011 at 11:37

GoogleCodeExporter commented 9 years ago
Fixed on 0.35-SNAPSHOT, 0.33.1-SNAPSHOT, 0.28.8-SNAPSHOT, 0.25.5-SNAPSHOT and 
0.22.5-SNAPSHOT.

Could anyone give it a try an report some feedback so I could close this issue ?

Original comment by gael.laz...@gmail.com on 25 Sep 2011 at 12:15

GoogleCodeExporter commented 9 years ago
Just checked the 0.33.1-SNAPSHOT Version. It works :)

Original comment by Vieg...@gmail.com on 26 Sep 2011 at 7:30

GoogleCodeExporter commented 9 years ago
thx :-)

Original comment by gael.laz...@gmail.com on 26 Sep 2011 at 2:43