Welcome to Open Discussion

2006-11-03
2013-05-20
  • Andrii Kokhan
    Andrii Kokhan
    2006-11-03

    Guys, Abbot is an Open Project, isn't it? What about free sources?
    THe question arised after having continuous problems with XXXTester.waitForIdle().
    General picture is: test runs "green", but Console view shows (taking a very specific case, but tester is of JTextFieldComponent), before invoking waitForIdle() I have two JTextComponentTester methods invoked. What is it, I can't understand in this very case?
    Is it possible to have sources?

    abbot.tester.Robot.waitForIdle(Robot.java:558)
        at abbot.tester.Robot.waitForIdle(Robot.java:593)
        at abbot.tester.JComponentTester.actionActionMap(JComponentTester.java:271)
        at abbot.tester.JTextComponentTester.actionEnterText(JTextComponentTester.java:23)
    here goes my case name nad error line
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.extensions.abbot.ResolverFixture.runBare(ResolverFixture.java:91)
        at junit.extensions.abbot.ComponentTestFixture.runBare(ComponentTestFixture.java:399)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    : Timed out waiting for posted invocation event: 10000ms (after 0 events)
    abbot.tester.Robot.waitForIdle(Robot.java:564): Timed out waiting for idle event queue after 1 events