Blame tests/Auto/lib/Util/AutoMessages.c

Packit b099d7
/* $TOG: AutoMessages.c /main/6 1999/04/23 18:12:32 jff $ */
Packit b099d7
/*p
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
 */
Packit b099d7
Packit b099d7
#include "AutoMessages.h"
Packit b099d7
Packit b099d7
char * _AutoMessages[] = {
Packit b099d7
"SIGNAL** :  Automation: hangup signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** :  Automation: interrupt signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** :  Automation: quit signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** : Automation: kill signal received: Closing input/output files...            Begin exiting ... please standby ... ", 
Packit b099d7
"SIGNAL** : Automation: segmentation violation signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** : Automation: arithmetic exception signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** : Automation: illegal instruction signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** : Automation: software termination signal received: Closing input/output files...            Begin exiting ... please standby ... ", 
Packit b099d7
"SIGNAL** : Automation: abort signal received: Closing input/output files...            Begin exiting ... please standby ... ", 
Packit b099d7
"SIGNAL** : Automation: bus error signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** : Automation: bad argument to system call signal received: Closing input/output files...            Begin exiting ... please standby ... ",
Packit b099d7
"SIGNAL** : Automation: undetermined signal received: Closing input/output files...            Begin exiting ... please standby ...", 
Packit b099d7
"SCRWARNING** : LocatePointer : Max and Min valid only for Text and List Widgets",
Packit b099d7
"SCRWARNING** : DragRelative : Incorrect Direction",
Packit b099d7
"SCRWARNING** : DragSliderValue : Incorrect Direction",
Packit b099d7
"SCRWARNING** : Invalid size specified for window resize",
Packit b099d7
"SCRWARNING** : Can not move icon inside iconBox",
Packit b099d7
"SCRWARNING** : Illegal group specified for WindowItemCheck",
Packit b099d7
"SCRWARNING** : Window not iconified",
Packit b099d7
"SCRWARNING** : Menu not visible",
Packit b099d7
"SCRWARNING** : Window is in iconic state",
Packit b099d7
"SCRWARNING** : Illegal item_name for WindowItemCheck.",
Packit b099d7
"SCRWARNING** : Requested object not visible - xisMovePointerTo ()",
Packit b099d7
"SCRWARNING** : Requested object does not exist - xisMovePointerTo ()",
Packit b099d7
"SCRWARNING** : Item no. specified (%d) is > than total no. of menu items (%d)",
Packit b099d7
"SCRWARNING** : Item no. specified (%d) is > than Max no. of menu items (%d)",
Packit b099d7
"SCRWARNING** : Menu item %s NOT present in the WindowMenu.",
Packit b099d7
"SCRWARNING** : Menu item %d (%s) insensitive.",                
Packit b099d7
"SCRWARNING** : Move and Size not currently supported through MenuSelect. Please use WindowMove and WindowResize.",
Packit b099d7
"SCRWARNING** : AutoDragSliderValue: Null widget returned",
Packit b099d7
"SCRWARNING** : AutoDragSliderValue: command must be used on a ScrollBar or Scale Widget",
Packit b099d7
"SCRWARNING** : AutoDragSliderValue: composite child is not a ScrollBar",
Packit b099d7
"SCRWARNING** : GetWidgetID: XtNameToWidget() Failed on %s",
Packit b099d7
"SCRWARNING** : WindowMaximize : Command failure",
Packit b099d7
"SCRWARNING** : WindowNormalize : Command failure",
Packit b099d7
"SCRWARNING** : WindowIconify : Command failure",
Packit b099d7
"SCRWARNING** : WindowDeiconify : Command failure",
Packit b099d7
"SCRWARNING** : WindowFocus : Command Failure",
Packit b099d7
"SCRWARNING** : WindowClick : Command Failure",
Packit b099d7
"SCRWARNING** : WindowMenuPost : Command Failure",
Packit b099d7
"SCRWARNING** : WindowMenuUnpost : Command failure",
Packit b099d7
"SCRWARNING** : IconMenuPost : Command failure",
Packit b099d7
"SCRWARNING** : IconMenuUnpost : Command failure",
Packit b099d7
"SCRWARNING** : WindowMenuSelect : Command failure",
Packit b099d7
"SCRWARNING** : IconMenuSelect : Command failure",
Packit b099d7
"SCRWARNING** : WindowResize : Command failure",
Packit b099d7
"SCRWARNING** : WindowMove : Command failure",
Packit b099d7
"SCRWARNING** : WindowItemCheck : Command failure",
Packit b099d7
"SCRWARNING** : IconMove : Command failure",
Packit b099d7
"SCRWARNING** : InputString: Key %c is not supported",
Packit b099d7
"SCRWARNING** : Can't move over object! Will ignore xisMovePointerTo()",
Packit b099d7
"SCRWARNING** : xisRestorePointer() called without first calling xisSavePointer()",
Packit b099d7
"SCRWARNING** : WindowRaise : Command failure",
Packit b099d7
"AUTOWARNING** : System: Fork() failed on system call",
Packit b099d7
"AUTOWARNING** : ProcessKey : Unknown Key",
Packit b099d7
"AUTOWARNING** : AutoParseAndGenerateCommands : Invalid Command",
Packit b099d7
"AUTOWARNING** : GetXMask : Unknown Mask",
Packit b099d7
"AUTOWARNING** : Get Button : Unknown Button",
Packit b099d7
"AUTOWARNING** : Get Component : Unknown Component",
Packit b099d7
"AUTOWARNING** : CreateWidget: Null widget_info",
Packit b099d7
"AUTOWARNING** : PopupShellCreate: Null widget_info",
Packit b099d7
"AUTOWARNING** : SetValues: Null widget_info",
Packit b099d7
"AUTOWARNING** : DestroyWidget: Null widget_info",
Packit b099d7
"AUTOWARNING** : No known good image exists in image file for this testcase",
Packit b099d7
"AUTOWARNING** : %s Image record file has corrupt data",
Packit b099d7
"AUTOWARNING** : Recovery : Visual screen appearance not checked for this testcase", 
Packit b099d7
"AUTOWARNING** : Pixmap error in allocating image data: no more space",
Packit b099d7
"AUTOWARNING** : Pixmap error in creating XImage",
Packit b099d7
"AUTOWARNING** : Got NULL widget in xisMapWidget",
Packit b099d7
"AUTOWARNING** : Location of Destination Object is not in hierarchy",
Packit b099d7
"AUTOWARNING** : Current Object and Destination Object are not the same",
Packit b099d7
"AUTOWARNING** : Bad direction code '%d' sent to xisMovePointerTo ()",
Packit b099d7
"AUTOWARNING** : ...will assume direction Move Right",
Packit b099d7
"AUTOWARNING** : Could not find window to send release to",
Packit b099d7
"AUTOWARNING** : Got NULL widget in xisUnmapWidget ()",
Packit b099d7
"AUTOWARNING** : XmString value corrupt in resource '%s'",
Packit b099d7
"AUTOWARNING** : %s truncated to %d chars",
Packit b099d7
"AUTOWARNING** : Number of allowed assertions exceeded.",
Packit b099d7
"AUTOWARNING** : %s mvsAllocColor<1> failure",
Packit b099d7
"AUTOWARNING** : %s could not alloc Black color",
Packit b099d7
"AUTOWARNING** : %s mvsAllocColor<2> failure",
Packit b099d7
"AUTOWARNING** : color table black pixel not equal to XBlackPixel()",
Packit b099d7
"AUTOWARNING** : Black default for non-pixel",
Packit b099d7
"AUTOWARNING** : %s mvsAllocColor<3> failure",
Packit b099d7
"AUTOWARNING** : mvsAssignParentVal(): no parent of %d",
Packit b099d7
"AUTOWARNING** : mvsAssignParentRes(): no parent of %d",
Packit b099d7
"AUTOWARNING** : mvsAssignResInWidget: %s resource refers to NULL widget",
Packit b099d7
"AUTOWARNING** : mvsAssignValInWidget: %s resource refers to NULL widget",
Packit b099d7
"AUTOWARNING** : mvsAssignValInParentWidget: Illegal argument values",
Packit b099d7
"AUTOWARNING** : mvsAssignValInWidRefWidget: Illegal argument values",
Packit b099d7
"AUTOWARNING** : In mvsFreeWidgetInfo passed bad widget_info",
Packit b099d7
"AUTOWARNING** : mvsAllocColor() failed in mvsSetupNewWidgetInfo()",
Packit b099d7
"AUTOWARNING** : mvsCreateWidget called with NULL parent_info",
Packit b099d7
"AUTOWARNING** : Created widget was re-parented out of hierarchy",
Packit b099d7
"AUTOWARNING** : xisFreeObject():Did not find child in parent list",
Packit b099d7
"AUTOWARNING** : Session info being used in %s without prior BeginSession call!",
Packit b099d7
"AUTOWARNING** : xisGetDragDistance() called with invalid Inform record",
Packit b099d7
"AUTOWARNING** : in xisPortableRandom() j=%d is out of range",
Packit b099d7
"AUTOWARNING** : %s Synthesized 2 consecutive button %d presses--will recover by releasing mouse button",
Packit b099d7
"AUTOWARNING** : Unknown event type '%d' passed to xisSendEvent()",
Packit b099d7
"AUTOWARNING** : %s Pressing mouse button with pointer grab existing",
Packit b099d7
"AUTOWARNING** : xisIsActiveKey() not called while in InformExpectedActions()",
Packit b099d7
"AUTOWARNING** : xisIsActiveWidget() not called while in InformExpectedActions()",
Packit b099d7
"AUTOWARNING** : xisIsActiveButton() called while not in InformExpectedActions()",
Packit b099d7
"AUTOWARNING** : xisIsKeyboardFocusRegion(): invalid xisInform record",
Packit b099d7
"AUTOWARNING** : xisIsPointerOverRegion(): invalid In form record",
Packit b099d7
"AUTOWARNING** : xisIsPointerOverWidget() called with invalid Inform record",  
Packit b099d7
"AUTOWARNING** : xisIsSelectedRegion(): invalid Inform record",
Packit b099d7
"AUTOWARNING** : xisIsWidgetInKeyboardFocus() Called with invalid xisInform record",
Packit b099d7
"AUTOWARNING** : xisIsParentWidgetInKeyboardFocus() Called with invalid xisInform record",
Packit b099d7
"AUTOWARNING** : xisIsWidgetSelected() called with invalid xisInform record",
Packit b099d7
"AUTOWARNING** : synthesized 2 button %d releases in a row without any press!",
Packit b099d7
"AUTOWARNING** : Bump up size of color_cache[MAX_COLORS] array",
Packit b099d7
"AUTOWARNING** : Geometry request for NULL widget in mvsGetWidgetGeometry",
Packit b099d7
"AUTOWARNING** : XGetGeometry() failure in mvsGetWidgetGeometry",
Packit b099d7
"AUTOWARNING** : Bad XTranslateCoordinates return status in mvsGetWidgetGeometry",
Packit b099d7
"AUTOWARNING** : Bad resource type=%d in mvsCompareResources()",
Packit b099d7
"AUTOWARNING** : Unknown arg type=#%d in ConvertToType()",
Packit b099d7
"AUTOWARNING** : mvsCopyReplace1Arg() :Invalid resource name '%s'",
Packit b099d7
"AUTOWARNING** : bad resource type code=%d in mvsCopyResource",
Packit b099d7
"AUTOWARNING** : bad resource type code=%d in mvsFreeResource",
Packit b099d7
"AUTOWARNING** : bad resource type '%s' passed to mvsGetLocalResource()",
Packit b099d7
"AUTOWARNING** : mvsGetParentResource(): No parent to find %s's value",
Packit b099d7
"AUTOWARNING** : bad internal resource type code=%d in mvsFreeIntRes",
Packit b099d7
"AUTOWARNING** : mvsGetInternalResource(): Bad internal resource name '%s'",
Packit b099d7
"AUTOWARNING** : mvsGetParentIntRes(): No parent to find %s's value",
Packit b099d7
"AUTOWARNING** : %s Bad arg name '%s'",
Packit b099d7
"AUTOWARNING** : %s Bad type code=%d",
Packit b099d7
"AUTOWARNING** : mvsSetIntToDefaults():default conversion not allowed",
Packit b099d7
"AUTOWARNING** : got timer callback with bad timer_id!!!",
Packit b099d7
"AUTOWARNING** : unknown ref_type=%d in ResourceValueToString", 
Packit b099d7
"AUTOWARNING** : %s called before display open",
Packit b099d7
"AUTOWARNING** : %s NULL function", 
Packit b099d7
"AUTOWARNING** : %s Source resource name '%s' invalid",
Packit b099d7
"AUTOWARNING** : %s Destination resource '%s' invalid",
Packit b099d7
"AUTOWARNING** : %s Incompatible resource types %s & %s",
Packit b099d7
"AUTOWARNING** : %s Bad destination resource '%s'",
Packit b099d7
"AUTOWARNING** : %s Bad operation (use ADD/SUBTRACT)",
Packit b099d7
"AUTOWARNING** : mvsFreeWidgetInfo() widget_info not connected",
Packit b099d7
"AUTOWARNING** : Bad function type in ProcessKey",
Packit b099d7
"AUTOWARNING** : AutoParseAndGenerateCommands: Commands exhausted",
Packit b099d7
"AUTOWARNING** : Object NULL",
Packit b099d7
"AUTOWARNING** : Bad function in AutoTraceKeyAction",
Packit b099d7
"AUTOWARNING** : Wrong Gravity in Window Resize",
Packit b099d7
"AUTOWARNING** : Pointer not on root window anymore!!",
Packit b099d7
"AUTOWARNING** : Pointer not on root window anymore!",
Packit b099d7
"AUTOWARNING** : xisCreateWidget called with uncreated widget",
Packit b099d7
"AUTOWARNING** : It is not permissible to create a Sash widget alone",
Packit b099d7
"AUTOWARNING** : It is not permissible to create a TearOffButton widget alone",
Packit b099d7
"AUTOWARNING** : can't open image file for input!",
Packit b099d7
"AUTOWARNING** : can't open image file for output!",
Packit b099d7
"AUTOWARNING** : <mvsCreateWidget> NULL widget pointer",
Packit b099d7
"AUTOWARNING** : <mvsCreateWidget> Gadget Child of Shell",
Packit b099d7
"AUTOWARNING** : %s Exceeded MAX_NUM_OBJECTS(xislib.h)",
Packit b099d7
"AUTOWARNING** : %s XQueryTree() failure",
Packit b099d7
"AUTOWARNING** : %s called with NULL display",
Packit b099d7
"AUTOWARNING** : %s called with NULL app_context",
Packit b099d7
"AUTOWARNING** : %s called with NULL get_subobjects", 
Packit b099d7
"AUTOWARNING** : %s called with NULL get_object_type_name_func",
Packit b099d7
"AUTOWARNING** : %s called with NULL display", 
Packit b099d7
"AUTOWARNING** : %s called with NULL get_subobjects",
Packit b099d7
"AUTOWARNING** : %s called with NULL get_object_type_name_func",
Packit b099d7
"AUTOWARNING** : %s called with NULL get_widget_class_name_func",
Packit b099d7
"AUTOWARNING** : %s called with NULL window_to_widget_func",
Packit b099d7
"AUTOWARNING** : %s called with NULL trace_msg_func", 
Packit b099d7
"AUTOWARNING** : %s called with NULL warning_msg_func", 
Packit b099d7
"AUTOWARNING** : Key %s is undefined(Check your motif key bindings)",
Packit b099d7
"AUTOWARNING** : %s called with NULL error_msg_func", 
Packit b099d7
"AUTOWARNING** : bad resource name '%s' passed to mvsGetLocalResource()",
Packit b099d7
"AUTOWARNING** : bad resource type code=%d in mvsLoadResources",
Packit b099d7
"AUTOWARNING** : mvsGetParentResource(): No parent to find %s's value",
Packit b099d7
"AUTOWARNING** : bad resource type code=%d in mvsSetLocalValues",
Packit b099d7
"AUTOWARNING** : MAX_NUM_WIDGET_INFOS exceeded: increase",
Packit b099d7
"AUTOWARNING** : %s:< Image file record data corrupt!",
Packit b099d7
"AUTOWARNING** : System: execvp() command failure errno = %d", 
Packit b099d7
"AUTOWARNING** : Recovery: Don't check visuals for this testcase",
Packit b099d7
"AUTOWARNING** : Recovery: Pixmap checking disabled through remainder of test",
Packit b099d7
"AUTOWARNING** : Bad event type %d sent to xisPrintEvent",
Packit b099d7
"AUTOWARNING** : Could not gettimeofday",
Packit b099d7
"AUTOWARNING** : AutoGetTime not start or end time",
Packit b099d7
"AUTOWARNING** : Could not get string context",
Packit b099d7
"AUTOWARNING** : FontType is XFontSet",
Packit b099d7
"AUTOWARNING** : Selection value is NULL!",
Packit b099d7
"VISERROR** : no more colors available in color_alloc array",
Packit b099d7
"VISERROR** : Color name '%s' not found in color table!",
Packit b099d7
"VISERROR** : %s called with NULL Display",
Packit b099d7
"VISERROR** : %s called with NULL trace_msg_func",
Packit b099d7
"VISERROR** : called with NULL warning_msg_func",
Packit b099d7
"VISERROR** : CompareVisual: Expected %d x %d and found %d x %d for %s",
Packit b099d7
"VISERROR** : CompareVisual: XGetImage failed for %s",
Packit b099d7
"VISERROR** : CompareVisual: picture %s: pixel at x=%d:y=%d: Over foreign object",
Packit b099d7
"VISERROR** : CompareVisual: Bad pixel value read from data file: %d at x=%d:y=%d",
Packit b099d7
"VISERROR** : CompareVisual: picture %s: pixel at x=%d:y=%d: expected %d: received %d",
Packit b099d7
"VISERROR** : Out of avail slots in mvsRecIdTable in generate",
Packit b099d7
"VISERROR** : XGetImage returns 0 in generate_pixmap()",
Packit b099d7
"VISERROR** : Exiting program",
Packit b099d7
"VISERROR** : mvsInitVisualInfo() called with NULL display",
Packit b099d7
"VISERROR** : XGetVisualInfo returned NULL in mvsInitVisualInfo()",
Packit b099d7
"VISERROR** : can't open image file for input!",
Packit b099d7
"VISERROR** : unrecognizable visual mode '%d' in mvsOpenVisual",
Packit b099d7
"VISERROR** : XAllocColor() in mvsAllocNamedColor() failed!",
Packit b099d7
"VISERROR** : Recovery: try to allocated closest match RGB pixel myself.",
Packit b099d7
"VISERROR** : Recovery plan failed; will just use white pixel instead.",
Packit b099d7
"VISERROR** : mvsAllocNumFromPixel() could not find pixel %d",
Packit b099d7
"VISERROR** : Recovery: returning alloc_num=0",
Packit b099d7
"VISERROR** : Alloced too many unique colors in CompPixmap; Bump up MAX_UNIQUE_COLORS.",
Packit b099d7
"VISERROR** : bad mode=%d in mvsCheckVisual()",
Packit b099d7
"VISERROR** : checking rgb database: could not allocate '%s'",
Packit b099d7
"VISERROR** : checking rgb database: color '%s' red=%x: expected=%x",
Packit b099d7
"VISERROR** : checking rgb database: color '%s' green=%x: expected=%x",
Packit b099d7
"VISERROR** : checking rgb database: color '%s' blue=%x: expected=%x",
Packit b099d7
"VISERROR** : checking rgb database: could not allocate '%s'",
Packit b099d7
"VISERROR** : checking rgb database: color '%s' red=%x: expected=%x",
Packit b099d7
"VISERROR** : checking rgb database: color '%s' green=%x: expected=%x",
Packit b099d7
"VISERROR** : checking rgb database: color '%s' blue=%x: expected=%x",
Packit b099d7
"VISERROR** : Could not write num_recids to beginning of image file!",
Packit b099d7
"VISERROR** : CompareVisual: picture %s contains a foreign object",
Packit b099d7
"VISERROR** : CompareVisual: Visual image of widget %s incorrect!!",       
Packit b099d7
"VISERROR** : Bad pixel value '%d' passed to mvsFreeUniqueColor",
Packit b099d7
"VISERROR** : Pixel '%d' freed too many times in mvsFreeUniqueColor",
Packit b099d7
"VISERROR** : Bad char set name '%s': trying default '%s'",
Packit b099d7
"VISERROR** : Char set '%s' could not be loaded: substituting an appropriate replacement.",
Packit b099d7
"VISERROR** : mvsNumAvailPixmaps > MAX_PIXMAPS! Bump up MAX_PIXMAPS",
Packit b099d7
"VISERROR** : Unable to load mvs font:\t'%s'",
Packit b099d7
"VISERROR** : mvsInitVisual() could not allocate black color!",
Packit b099d7
"VISERROR** : mvsInitVisual() could not allocate white color!",
Packit b099d7
"VISERROR** : Could not alloc %s color in OpenVisual()",
Packit b099d7
"VISERROR** : mvsSetVisualMode() received bad mode: %d",
Packit b099d7
"VISERROR** : Unable to find valid widget at location %d,%d",
Packit b099d7
"VISERROR** : Unable to find widget info for widget %s",
Packit b099d7
"VISERROR** : Freeing pixel %d one too many times!",
Packit b099d7
"AUTOMESSAGE** : DumpWindow: xwd -id %s -out %s for widget %s",
Packit b099d7
"AUTOMESSAGE** : Performance measuring turned on",
Packit b099d7
"AUTOMESSAGE** : Performance measuring turned off",
Packit b099d7
"PERFORMANCE_MESSAGE** : Automation command duration is %d.%03d seconds"
Packit b099d7
};