Blame tests/doc/CompareVisual.3X

Packit b099d7
.\" Motif
Packit b099d7
.\"
Packit b099d7
.\" Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
.\"
Packit b099d7
.\" These libraries and programs are free software; you can
Packit b099d7
.\" redistribute them and/or modify them under the terms of the GNU
Packit b099d7
.\" Lesser General Public License as published by the Free Software
Packit b099d7
.\" Foundation; either version 2 of the License, or (at your option)
Packit b099d7
.\" any later version.
Packit b099d7
.\"
Packit b099d7
.\" These libraries and programs are distributed in the hope that
Packit b099d7
.\" they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
.\" implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
.\" PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
.\" details.
Packit b099d7
.\"
Packit b099d7
.\" You should have received a copy of the GNU Lesser General Public
Packit b099d7
.\" License along with these librararies and programs; if not, write
Packit b099d7
.\" to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
.\" Floor, Boston, MA 02110-1301 USA
Packit b099d7
...\" 
Packit b099d7
...\" 
Packit b099d7
...\" HISTORY
Packit b099d7
# $XConsortium: CompareVisual.3X /main/4 1995/07/13 19:58:20 drk $
Packit b099d7
...\" **
Packit b099d7
...\" **
Packit b099d7
...\" **  (c) Copyright 1991, 1992 by Open Software Foundation, Inc.
Packit b099d7
...\" **      All Rights Reserved.
Packit b099d7
...\" **
Packit b099d7
...\" **
Packit b099d7
.TH CompareVisual 3X
Packit b099d7
.SH NAME
Packit b099d7
\*LCompareVisual \*O\(em Command to compare/record widget visuals.
Packit b099d7
.SH SYNOPSIS
Packit b099d7
\*LCompareVisual\*O
Packit b099d7
\*VWidgetName [Component]\*O
Packit b099d7
.SH DESCRIPTION
Packit b099d7
The
Packit b099d7
\*LCompareVisual\*O
Packit b099d7
command will either record or compare the visual of the widget \*VWidgetName\*O.
Packit b099d7
In record mode, \*LCompareVisual\*O will
Packit b099d7
record a visual image of the specified widget.
Packit b099d7
In playback mode, \*LCompareVisual\*O will
Packit b099d7
compare the requested widget or component of the widget against the image
Packit b099d7
stored in the visual comparison file.
Packit b099d7
If the stored image cannot be read, a warning will be
Packit b099d7
issued and visual comparisons will be turned off for the remainder
Packit b099d7
of the test. The visual algorithm records visual images independently
Packit b099d7
of the current colormap, therefore 
Packit b099d7
the specific colors used will not be compared. 
Packit b099d7
If the environment variable \*L$AUTOVPATH\*O is set, this path will
Packit b099d7
be prepended to the name of the visual comparison file for writing or
Packit b099d7
reading the visual file.
Packit b099d7
.IP "\*VWidgetName\*O" 10n
Packit b099d7
The XtName representing the widget you wish to take an action on.
Packit b099d7
.IP "\*V[Component]\*O"
Packit b099d7
Particular component within the widget. See \*LComponentList(3X)\*O for
Packit b099d7
a full list of supported Components.
Packit b099d7
.PP 
Packit b099d7
For more information about \*LCompareVisual\*O, see
Packit b099d7
the \*EOSF/Motif Quality Assurance Test Suite User's Guide\*O.
Packit b099d7
.SH EXAMPLE
Packit b099d7
\*LCompareVisual ArrowButton1\*O
Packit b099d7
.PP
Packit b099d7
This will either record or compare the widget ArrowButton1.
Packit b099d7
If the test is run with the -r option visuals will be 
Packit b099d7
recorded, else the visual comparisons will take place.
Packit b099d7
.PP
Packit b099d7
.SH "RELATED INFORMATION"
Packit b099d7
.na
Packit b099d7
\*LLocatePointer(3X)\*O
Packit b099d7
.ad