www.linuxbase.org -> Application Battery -> LSB 3 Functional Verification Test for lsb-xpaint

Functional Verification Test for lsb-xpaint

Install & Setup

  1. Download the lsb-xpaint application package that corresponds to the LSB version and processor architecture for which certification is being sought from the Download Page.
  2. Install package on system. Example command line:
    rpm -ivh lsb-xpaint-2.7.8.1-2.lsb3.i486.rpm
    
    NOTE: Application MUST be installed without use of --nodeps option, the dependency checks are part of the test.
    - Expected result: application should be installed to
    /opt/lsb/appbat
    
  3. Make sure that the DISPLAY variable points to an appropriate X display, and the host will allow you to create windows on it. For a remote display, or if running as a user other than the user logged in on the local display, you may have to use the xhost + command to enable this functionality. Remember to restore the default setting as this setting is insecure.

Functional Verification Test (FVT)

  Expected result  
achieved?
Test case scenerio
1. Yes No Run the command: /opt/lsb/appbat/bin/xpaint
- Expected result: xpaint application window comes up
2. Yes No Select Canvas -> New Canvas from the pull-down menu
- Expected result: window with a new blank canvas comes up
3. Yes No Select a solid color from the primary palette and then draw on canvas by holding down left mouse button and dragging mouse
- Expected result: canvas shows figure in solid color chosen
4. Yes No Select one of the multi-color patterns from the primary palette and draw more figures on the canvas
- Expected result: canvas shows figure using pattern chosen
5. Yes No Select File -> Close from the canvas window and select OK when asked if you really want to close the window.
- Expected result: canvas window closes
6. Yes No Select Canvas -> Take Snapshot from the pull-down menu. Take a snapshot of some portion of the screen by moving the cursor to the upper left of the desired target, hold down left mouse button, drag cursor to the lower right of the desired target and release mouse button
- Expected result: New canvas comes up with selected portion of screen on the canvas

Results

1. Yes No Were there any errors recorded above?
2. Yes No Were there any deviations in the install, setup, or test described above?
If yes, please describe.

Reporting Test Results

Include the results of testing this application in the Conformance Statement submitted to the LSB Certification Authority when seeking LSB Runtime Environment Certification. Note this is not a submittable form, instead you affirm on the certification form that you have followed these steps.


last change 2005-08-03 Mats Wichmann