<Swing Dev> [11]JDK-8200605: Create test for GridBagLayoutDemo

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Apr 6 23:08:21 UTC 2018


Hi, Vikrant.
I tried to run the new test but it fails on my local system(macos):

===============================================
sanity/client/SwingSet/src/GridBagLayoutDemoTest.java
Total tests run: 4, Failures: 1, Skips: 0
===============================================

----------System.err:(16/1069)----------
Error:
"Wait "Component reaches location between :java.awt.Point[x=0,y=0]and 
java.awt.Point[x=0,y=0]" state to be reached 
(ComponentOperator.WaitStateTimeout)" action has not been produced in 
60001 milliseconds
java.lang.Exception: failures: 1
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
	at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
	at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at 
com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
	at java.base/java.lang.Thread.run(Thread.java:831)

JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test



On 03/04/2018 03:10, Vikrant Agarwal wrote:
> Hi All,
> 
> Please review this new test for SwingSet GridBagLayoutDemo:
> 
> Webrev: http://cr.openjdk.java.net/~vagarwal/8200605/webrev.0/
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8200605
> 
> Summary: This adds an automated test for SwingSet GridBagLayoutDemo for 
> all the available look and feels.
> 
> We have set up Same Binaries Run to check for stability and this test is 
> consistently passing for Linux, Mac and Windows for all the look and feels.
> 
> Best Regards,
> 
> Vikrant
> 


-- 
Best regards, Sergey.



More information about the swing-dev mailing list