[2019-06-20T02:20:36.51] # [2019-06-20T02:20:36.51] export GTK_MODULES [2019-06-20T02:20:36.51] export AWTSQE_JAR [2019-06-20T02:20:36.51] export KSH [2019-06-20T02:20:36.51] export STABLE_VM_OPTS [2019-06-20T02:20:36.51] export TARGETBUILD [2019-06-20T02:20:36.51] export DISPLAY [2019-06-20T02:20:36.51] export HOME [2019-06-20T02:20:36.51] export BASEBUILD [2019-06-20T02:20:36.51] export LD [2019-06-20T02:20:36.51] export GNOME_DESKTOP_SESSION_ID [2019-06-20T02:20:36.51] export JAKE [2019-06-20T02:20:36.51] export CC [2019-06-20T02:20:36.51] export USER_HOME [2019-06-20T02:20:36.51] export TEMP [2019-06-20T02:20:36.51] export APPLETVIEWER [2019-06-20T02:20:36.51] export GTKFILE [2019-06-20T02:20:36.51] export PATH [2019-06-20T02:20:36.51] TEST_DEST_DIR="JFrameLAFTest" [2019-06-20T02:20:36.51] # Actual: TEST_DEST_DIR=JFrameLAFTest [2019-06-20T02:20:36.51] [2019-06-20T02:20:36.51] TESTNAME="${test_case_name}" [2019-06-20T02:20:36.51] # Actual: TESTNAME=JFrameLAFTest [2019-06-20T02:20:36.51] [2019-06-20T02:20:36.51] testName="Swing_AllComponents/Manual/LAFTests//JFrameLAFTest" [2019-06-20T02:20:36.51] # Actual: testName=Swing_AllComponents/Manual/LAFTests//JFrameLAFTest [2019-06-20T02:20:36.51] [2019-06-20T02:20:36.51] TESTDIR="${test_work_dir}" [2019-06-20T02:20:36.51] # Actual: TESTDIR=/home/egtc/swing/results/ResultDir/JFrameLAFTest [2019-06-20T02:20:36.51] [2019-06-20T02:20:36.51] testWorkDir="${test_work_dir}/" [2019-06-20T02:20:36.51] # Actual: testWorkDir=/home/egtc/swing/results/ResultDir/JFrameLAFTest/ [2019-06-20T02:20:36.51] [2019-06-20T02:20:36.51] export testWorkDir [2019-06-20T02:20:36.52] tlogOutFile="${test_work_dir}/${test_name}.tlog" [2019-06-20T02:20:36.52] # Actual: tlogOutFile=/home/egtc/swing/results/ResultDir/JFrameLAFTest/JFrameLAFTest.tlog [2019-06-20T02:20:36.52] [2019-06-20T02:20:36.52] testErrFile="${test_work_dir}/${test_name}.err" [2019-06-20T02:20:36.52] # Actual: testErrFile=/home/egtc/swing/results/ResultDir/JFrameLAFTest/JFrameLAFTest.err [2019-06-20T02:20:36.52] [2019-06-20T02:20:36.52] EXECUTE_CLASS="${test_name}" [2019-06-20T02:20:36.52] # Actual: EXECUTE_CLASS=JFrameLAFTest [2019-06-20T02:20:36.52] [2019-06-20T02:20:36.52] CLASSPATH="${SWING_WORKSPACE}/share/lib/fmclasses${PS}${AWTSQE_JAR}${PS}${JAVATEST_JAR}${PS}${MASTER_WORKSPACE}/share/lib/jemmy/jemmy.jar${PS}${SWING_WORKSPACE}/share/lib/SwingSet2.jar" [2019-06-20T02:20:36.52] # Actual: CLASSPATH=/home/egtc/swing/13/swing/share/lib/fmclasses:/home/egtc/swing/13/share/lib/awtsqe/awtsqe.jar::/home/egtc/swing/13/share/lib/jemmy/jemmy.jar:/home/egtc/swing/13/swing/share/lib/SwingSet2.jar [2019-06-20T02:20:36.52] [2019-06-20T02:20:36.52] export CLASSPATH [2019-06-20T02:20:36.52] cp ${SWING_WORKSPACE}/share/lib/SwingSet2.jar ${TESTDIR} [2019-06-20T02:20:36.52] # Actual: cp /home/egtc/swing/13/swing/share/lib/SwingSet2.jar /home/egtc/swing/results/ResultDir/JFrameLAFTest [2019-06-20T02:20:36.52] [2019-06-20T02:20:36.53] cp ${SWING_WORKSPACE}/share/lib/Java2Demo.jar ${TESTDIR} [2019-06-20T02:20:36.53] # Actual: cp /home/egtc/swing/13/swing/share/lib/Java2Demo.jar /home/egtc/swing/results/ResultDir/JFrameLAFTest [2019-06-20T02:20:36.53] [2019-06-20T02:20:36.56] echo "Inside JFrameTest.cfg" [2019-06-20T02:20:36.57] # Actual: echo "Inside JFrameTest.cfg" [2019-06-20T02:20:36.57] [2019-06-20T02:20:36.57] Inside JFrameTest.cfg [2019-06-20T02:20:36.57] TONGA_EXECUTE="${KSH} ${testWorkDir}build_run.ksh ${testWorkDir} ${JAVA_HOME} ${BASEBUILD} ${SWING_WORKSPACE} ${JAVA_OPTS} ${STABLE_VM_OPTS}" [2019-06-20T02:20:36.57] # Actual: TONGA_EXECUTE=/bin/bash /home/egtc/swing/results/ResultDir/JFrameLAFTest/build_run.ksh /home/egtc/swing/results/ResultDir/JFrameLAFTest/ /home/egtc/swing/jdk-13 /home/egtc/swing/jdk-13_base /home/egtc/swing/13/swing "-Dresultsdir=/home/egtc/swing/results -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" "-Dresultsdir=/home/egtc/swing/results -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" [2019-06-20T02:20:36.57] [2019-06-20T02:20:36.57] TIMEOUT="80" [2019-06-20T02:20:36.57] # Actual: TIMEOUT=80 [2019-06-20T02:20:36.57] [2019-06-20T02:20:36.57] export TIMEOUT [2019-06-20T02:20:36.57] APPLICATION_TIMEOUT="${TIMEOUT}" [2019-06-20T02:20:36.57] # Actual: APPLICATION_TIMEOUT=80 [2019-06-20T02:20:36.57] [2019-06-20T02:20:36.57] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}" [2019-06-20T02:20:36.57] # Actual: CLASSPATH=/home/egtc/swing/results/ResultDir/JFrameLAFTest:/home/egtc/swing/13/swing/share/lib/fmclasses:/home/egtc/swing/13/share/lib/awtsqe/awtsqe.jar::/home/egtc/swing/13/share/lib/jemmy/jemmy.jar:/home/egtc/swing/13/swing/share/lib/SwingSet2.jar [2019-06-20T02:20:36.57] [2019-06-20T02:20:36.57] export CLASSPATH [2019-06-20T02:20:36.57] ${TONGA_EXECUTE} ${TEST_ARGS} [2019-06-20T02:20:36.57] # Actual: /bin/bash /home/egtc/swing/results/ResultDir/JFrameLAFTest/build_run.ksh /home/egtc/swing/results/ResultDir/JFrameLAFTest/ /home/egtc/swing/jdk-13 /home/egtc/swing/jdk-13_base /home/egtc/swing/13/swing "-Dresultsdir=/home/egtc/swing/results -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" "-Dresultsdir=/home/egtc/swing/results -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" [2019-06-20T02:20:36.57] [2019-06-20T02:20:36.61] ############### Start of JFrameLAFTest/build_run.ksh ################ [2019-06-20T02:20:36.62] Copying the resources to testworkdir... [2019-06-20T02:20:36.62] Copying done... [2019-06-20T02:20:36.64] /home/egtc/swing/results/ResultDir/JFrameLAFTest/ [2019-06-20T02:20:36.64] CLASSPATH is ********* /home/egtc/swing/results/ResultDir/JFrameLAFTest:/home/egtc/swing/13/swing/share/lib/fmclasses:/home/egtc/swing/13/share/lib/awtsqe/awtsqe.jar::/home/egtc/swing/13/share/lib/jemmy/jemmy.jar:/home/egtc/swing/13/swing/share/lib/SwingSet2.jar:/home/egtc/swing/13/swing/share/lib/JAXB_LIBS/jaxb-libs.jar:/home/egtc/swing/13/swing/share/lib/JAXB_LIBS/jaxb-api.jar:/home/egtc/swing/13/swing/share/lib/JAXB_LIBS/jaxb-impl.jar:/home/egtc/swing/13/swing/src/Swing_AllComponents/Manual/LAFTests/lib/testlist.jar [2019-06-20T02:20:36.64] ##############Compiling the src #################### [2019-06-20T02:20:36.64] Creating classes directory [2019-06-20T02:20:36.65] Sucessfully created classes directory [2019-06-20T02:20:40.63] /home/egtc/swing/13/swing/src/Swing_AllComponents/Manual/LAFTests/JFrameLAFTest/../src/LAFMainTest.java:361: warning: non-varargs call of varargs method with inexact argument type for last parameter; [2019-06-20T02:20:40.63] testMethod = classMap.get(str).getMethod(tmpStr, null); [2019-06-20T02:20:40.63] ^ [2019-06-20T02:20:40.63] cast to Class for a varargs call [2019-06-20T02:20:40.63] cast to Class[] for a non-varargs call and to suppress this warning [2019-06-20T02:20:40.67] /home/egtc/swing/13/swing/src/Swing_AllComponents/Manual/LAFTests/JFrameLAFTest/../src/LAFMainTest.java:419: warning: non-varargs call of varargs method with inexact argument type for last parameter; [2019-06-20T02:20:40.68] testMethod = classMap.get(testName).getMethod(tmpStr, null); [2019-06-20T02:20:40.68] ^ [2019-06-20T02:20:40.68] cast to Class for a varargs call [2019-06-20T02:20:40.68] cast to Class[] for a non-varargs call and to suppress this warning [2019-06-20T02:20:41.89] Note: Some input files use or override a deprecated API. [2019-06-20T02:20:41.89] Note: Recompile with -Xlint:deprecation for details. [2019-06-20T02:20:41.89] Note: Some input files use unchecked or unsafe operations. [2019-06-20T02:20:41.90] Note: Recompile with -Xlint:unchecked for details. [2019-06-20T02:20:41.90] 2 warnings [2019-06-20T02:20:41.91] ##############Compilation done #################### [2019-06-20T02:20:41.91] Get the user's permission before starting the test... [2019-06-20T02:21:09.29] Changing the directory to fix the path problem... [2019-06-20T02:21:09.29] System default LaF will be applied because LOOK_AND_FEEL env variable is not set. [2019-06-20T02:21:09.29] Starting the test with BaseBuild... [2019-06-20T02:21:10.75] LOOK_AND_FEEL: Metal [2019-06-20T02:21:10.75] LAFMainTest in constructor!!! [2019-06-20T02:21:10.75] Resource file resources/JFrameLAFTestNew_Metal.properties [2019-06-20T02:21:11.15] Testlist entries: [2019-06-20T02:21:11.15] JFrameLAFTestNew [2019-06-20T02:21:14.89] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:17.20] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:19.60] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:21.91] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:23.60] Starting the test with Target build... [2019-06-20T02:21:24.86] LOOK_AND_FEEL: Metal [2019-06-20T02:21:24.86] LAFMainTest in constructor!!! [2019-06-20T02:21:24.87] Resource file resources/JFrameLAFTestNew_Metal.properties [2019-06-20T02:21:25.27] Testlist entries: [2019-06-20T02:21:25.28] JFrameLAFTestNew [2019-06-20T02:21:29.49] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:31.65] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:33.79] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:35.96] ReportsDir ..../home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:36.58] BaseImage path /home/egtc/swing/results/ResultDir/JFrameLAFTest//JFrameLAFTestNew [2019-06-20T02:21:36.59] No... 4 4 [2019-06-20T02:21:36.59] Create report testFocused [2019-06-20T02:21:36.59] Create sub report testFocused [2019-06-20T02:21:36.60] BAse file /home/egtc/swing/results/ResultDir/JFrameLAFTest/JFrameLAFTestNew/testFocused.html [2019-06-20T02:21:36.61] Create report testFrameWithIcon [2019-06-20T02:21:36.61] Create sub report testFrameWithIcon [2019-06-20T02:21:36.61] BAse file /home/egtc/swing/results/ResultDir/JFrameLAFTest/JFrameLAFTestNew/testFrameWithIcon.html [2019-06-20T02:21:36.61] Create report testFrameWithoutResizableControl [2019-06-20T02:21:36.61] Create sub report testFrameWithoutResizableControl [2019-06-20T02:21:36.61] BAse file /home/egtc/swing/results/ResultDir/JFrameLAFTest/JFrameLAFTestNew/testFrameWithoutResizableControl.html [2019-06-20T02:21:36.62] Create report inActiveFrame [2019-06-20T02:21:36.62] Create sub report inActiveFrame [2019-06-20T02:21:36.62] BAse file /home/egtc/swing/results/ResultDir/JFrameLAFTest/JFrameLAFTestNew/inActiveFrame.html [2019-06-20T02:22:30.96] Description:testFocused.html [2019-06-20T02:22:30.96] Description:testFocused [2019-06-20T02:23:06.54] Description:testFrameWithIcon.html [2019-06-20T02:23:06.54] Description:testFrameWithIcon [2019-06-20T02:24:43.88] Description:testFrameWithoutResizableControl.html [2019-06-20T02:24:43.89] Description:testFrameWithoutResizableControl [2019-06-20T02:27:39.75] Description:inActiveFrame.html [2019-06-20T02:27:39.75] Description:inActiveFrame [2019-06-20T02:28:26.11] Description:testFocused.html [2019-06-20T02:28:26.11] Description:testFocused [2019-06-20T02:29:05.66] Scenario 1: [2019-06-20T02:29:05.66] Following points need to be checked for the JFrame, please compare the base image and target image and check for the following points.
  1. Check whether three window control buttons(Maximize,Minimize and close) should be align right most corner in the JFrame's title bar.
  2. Check whether three window control buttons egdes shape should be similar while comparing with base image.
  3. Check whether window controls should have a space between them and it should looks similar while comparing with base image.
  4. Check whether the outline of the controls should be similar while comparing with base image.
  5. Check whether the background color of 'minimize,maximize and close' controls should be similar while comparing with base image.
  6. The first button should be iconify control and the representation of icon should be similar by comparing with base image.
  7. The second button should be maximize control and the representation of icon should be similar by comparing with base image.
  8. The third button should be close control and the representation of icon should be similar by comparing with base image.
  9. Check whether the JFrame's should have focus, i.e. the title bar color, background, and Window Controls should look like the Native Focussed Active Window
  10. Check whether the font on the title text looks similar with Native Window
If the above stated observations are proper please press PASS else press FAIL and comment the differences that you are seeing in the comments section
[2019-06-20T02:29:05.66] Status : Test Passed! [2019-06-20T02:29:05.66] [2019-06-20T02:29:05.66] Scenario 2: [2019-06-20T02:29:05.66] Following points need to be checked for the JFrame, please compare the base image and target image and check for the following points.
This test is for checking the justification of the long title and icon on the title bar of the JFrame
  1. Check whether the JFrame's Icon should look similar with Target Image
  2. Check whether the Gap is similar between the Icon and Title of the JFrame
  3. Check whether the title is not overlapping the Window Controls
  4. Check whether the title bar should not be too large on height and it should be similar while comparing with base image.
If the above stated observations are proper please press PASS else press FAIL and comment the differences that you are seeing in the comments section
[2019-06-20T02:29:05.66] User Comments:step1:There is no JFrame's Icon. [2019-06-20T02:29:05.67] Status : Test Failed! [2019-06-20T02:29:05.67] [2019-06-20T02:29:05.67] Scenario 3: [2019-06-20T02:29:05.67] Following points need to be checked for the JFrame, please compare the base image and target image and check for the following points.
This test is for checking when the setResizable(false) should not display the Window resizable control on the title bar.
  1. Check whether the JFrame's Icon should look similar with Target Image
  2. Check whether the Gap is similar between the Icon and Title of the JFrame
  3. Check whether the title bar should not be too large on height and it should be similar while comparing with base image.
  4. Check window title bar: should have three window control buttons, maximize button should be disabled, all should similar while comparing with base image.
  5. Check whether the buttons align to right most corner in the window title bar.
  6. Check whether top/bottom edges of the JFrame should be same in base and target image.
If the above stated observations are proper please press PASS else press FAIL and comment the differences that you are seeing in the comments section
[2019-06-20T02:29:05.67] User Comments:step1:There is no JFrame's icon.step4:The window title bar have two window control buttons and there is no maximize button. [2019-06-20T02:29:05.67] Status : Test Failed! [2019-06-20T02:29:05.67] [2019-06-20T02:29:05.67] Scenario 4: [2019-06-20T02:29:05.67] Following points need to be checked for the JFrame, please compare the base image and target image and check for the following points.
This test is checking whether the In-Active JFrame should look like the native.
  1. Check whether the JFrame's Icon should look similar with Target Image
  2. Check whether the Gap is similar between the Icon and Title of the JFrame
  3. Check whether the title bar should not be too large on height and it should be similar while comparing with base image.
  4. The title bar background color should be similar on both the base and target image
  5. Check whether the title of the JFrame should exactly resembles the native inactive window
  6. Check whether the font on the title text looks similar with Native Window
If the above stated observations are proper please press PASS else press FAIL and comment the differences that you are seeing in the comments section
[2019-06-20T02:29:05.67] User Comments:step4:There is no JFrame's Icon. [2019-06-20T02:29:05.67] Status : Test Failed! [2019-06-20T02:29:05.67] [2019-06-20T02:29:05.68] Status: Testsuite Failed! [2019-06-20T02:29:05.83] Test suite failed. Please refer the comments provided by the user for the failed tests [2019-06-20T02:29:05.83] ############### End of JFrameLAFTest/build_run.sh ################ [2019-06-20T02:29:05.83] # Test level exit status: 1 # Host info: Linux ubuntu19 5.0.0-16-generic #17-Ubuntu SMP Wed May 15 10:52:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux