home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / Coverage / COV_LOCS.H < prev    next >
Encoding:
Text File  |  1998-05-01  |  15.2 KB  |  230 lines

  1. * COV_LOCS.H
  2. * String constants in use by Coverage app
  3.  
  4. * NB: some of these #DEFINEs are dependent on COV_CHAR.H
  5. * definitions, so this file is #INCLUDEd after COV_CHAR.H
  6. * in COVERAGE.H
  7.  
  8. #DEFINE COV_LOC                       "English-US"
  9.  
  10. #IF UPPER(COV_LOC) = "ENGLISH-US"
  11.  
  12.    #DEFINE COV_APPLICATION_NAME_LOC             "Coverage Profiler"
  13.    #DEFINE COV_DIALOG_CAPTION_LOC               COV_APPLICATION_NAME_LOC
  14.  
  15.    *&* error messages and other feedback:
  16.    #DEFINE COV_PROBLEM_LOC                      "Problem"
  17.    #DEFINE COV_INFO_LOC                         "Information"    
  18.    #DEFINE COV_DEBUG_ERROR_LOC                  "Error #"
  19.    #DEFINE COV_DEBUG_LINENO_LOC                 "Line #"
  20.    #DEFINE COV_LOG_NOT_SPECIFIED_LOC            "No log file specified."
  21.    #DEFINE COV_LOCATE_CLASSLIB_LOC              "Where is "+COV_APPLICATION_NAME_LOC+"'s VCX?"
  22.    #DEFINE COV_FILE_DOES_NOT_EXIST_LOC          "File specified does not exist."
  23.    #DEFINE COV_OKAY_TO_OVERWRITE_LOC            "File specified already exists. "+C_CR+"Okay to overwrite?"
  24.    #DEFINE COV_ADDIN_DOES_NOT_EXIST_LOC         "Add-In file specified does not exist."
  25.    #DEFINE COV_ADDIN_NOT_SUPPORTED_TYPE_LOC     "Add-In file specified is not a supported type."
  26.    #DEFINE COV_LOG_CANNOT_BE_OPENED_LOC         "Log file unavailable."
  27.    #DEFINE COV_SOURCE_CANNOT_BE_OPENED_LOC      "Source file unavailable."
  28.    #DEFINE COV_START_LOGGING_LOC                "The log file you chose does not exist yet."+C_DOUBLE_CR + ;
  29.                                                 "Test your application with COVERAGE SET TO "+C_CR + ;
  30.                                                 "<your chosen filename>, then run "+COV_APPLICATION_NAME_LOC+C_CR+;
  31.                                                 "against that log."+C_DOUBLE_CR+;
  32.                                                 COV_APPLICATION_NAME_LOC+" can SET COVERAGE TO your filename "+ C_CR+;
  33.                                                 "now and you can test your application.  When you re-run "+ C_CR+;
  34.                                                 COV_APPLICATION_NAME_LOC+", it will analyze the current "+ C_CR+;
  35.                                                 "contents of SET('COVERAGE') by default."+C_DOUBLE_CR+;
  36.                                                 "Would you like to: "+C_DOUBLE_CR+;
  37.                                                 "SET COVERAGE TO your log file now? (yes)"+C_DOUBLE_CR+;
  38.                                                 "Pick a filename from existing coverage logs? (no)"+C_DOUBLE_CR+;
  39.                                                 "Come back later? (cancel)"
  40.                                                 
  41.    #DEFINE COV_NO_COVERABLE_CODE_LOC            "A source code entry has no coverable code"+C_CR+;
  42.                                                 "or is a member of a container object."+C_DOUBLE_CR+;
  43.                                                 "This record will be deleted."
  44.  
  45.    #DEFINE COV_PROJECT_UNAVAILABLE_LOC          "Project file currently unavailable."
  46.    #DEFINE COV_CANNOT_RESUME_LOC                "Former coverage file is unavailable;"+C_CR+"COVERAGE will be off."
  47.    #DEFINE COV_LOG_WRONG_FORMAT_LOC             "File specified is not correct Coverage Log format for this version of VFP."
  48.    #DEFINE COV_LOG_HAS_NO_USABLE_RECORDS_LOC    "Log file has no usable records."
  49.    #DEFINE COV_NO_USABLE_PROJECT_RECORDS_LOC    "Project has no source-code-type records."
  50.    #DEFINE COV_NO_LOG_ENTRIES_SKIPPED_LOC       "No log entries were skipped."
  51.    #DEFINE COV_SWITCHING_OFF_COMMON_DIALOG_LOC  "Common Dialog OCX not found; "+ C_CR + ;
  52.                                                 "switching to native VFP code version."
  53.  
  54.    #DEFINE COV_FEATURE_NEEDS_OCX_LOC            "This feature is currently unavailable, "+C_CR+ ;
  55.                                                 "because it requires an ActiveX control "+C_CR+ ;
  56.                                                 "not found on your system."
  57.  
  58.    #DEFINE COV_ALREADY_ACTIVE_LOC               COV_APPLICATION_NAME_LOC+" already active!"
  59.    
  60.    #DEFINE COV_REOPEN_SAME_LOG_FILE_LOC         "You haven't changed the specified Coverage filename."+ ;
  61.                                                 C_DOUBLE_CR+;
  62.                                                 "Do you want to re-examine this Coverage file?"
  63.                                                 
  64.    #DEFINE COV_MARKS_CHANGED_LOC                "You have changed Coverage marks, but some records "+C_CR+;
  65.                                                 "in the current log are already marked. "+ ;
  66.                                                 C_DOUBLE_CR+ ;
  67.                                                 "Would you like to: "+ ;
  68.                                                 C_DOUBLE_CR+ ;
  69.                                                 "Preserve current marked records (yes) or "+ ;
  70.                                                 C_DOUBLE_CR+ ;
  71.                                                 "Empty and re-mark these records (no)?"
  72.  
  73.    #DEFINE COV_MARK_ALL_NOW_LOC                 "You have chosen to mark all records on load, but "+C_CR+;
  74.                                                 "some records in the current log may not be marked yet. "+ ;
  75.                                                 C_DOUBLE_CR+ ;
  76.                                                 "Would you like to mark all records now?"                                                
  77.    
  78.    #DEFINE COV_RESUME_LOC                       "Running Coverage Profiler temporarily suspended" + C_CR + ;
  79.                                                 "coverage logging to " + THIS.cSuspendedLog + "." + ;
  80.                                                 C_DOUBLE_CR + ;
  81.                                                 "How would you like to resume coverage logging to this file?" + ;
  82.                                                 C_DOUBLE_CR + ;
  83.                                                 "Click:"+ C_TAB + "To have this effect:" + ;
  84.                                                 C_DOUBLE_CR + ;  
  85.                                                 "Yes"+ SPACE(2) + C_TAB + "-- Append records to the log file" + C_CR + ;
  86.                                                 "No"+ SPACE(3) + C_TAB + "-- Overwrite the log file" + C_CR + ;
  87.                                                 "Cancel"+ C_TAB + "-- Leave coverage set off"
  88.  
  89.    #DEFINE COV_BAD_PARAMS_LOC                   "You have passed one or more parameters incorrectly." + ;
  90.                                                 C_DOUBLE_CR+ ;
  91.                                                 "This application takes the following "+ C_CR + ;
  92.                                                 "parameters, all optional:"+ ;
  93.                                                 C_DOUBLE_CR + ;
  94.                                                 "(1), type 'C'     the name of a coverage log to mark;"+ ;
  95.                                                 C_DOUBLE_CR + ;
  96.                                                 "(2), type 'L'     a switch to process the log unattended;" + ;
  97.                                                 C_DOUBLE_CR + ;
  98.                                                 "(3), type 'C'     the name of an Add-In program to run."
  99.   #DEFINE COV_BADDIALOGS_LOC                    "Cov_Standard's .cMainDialogClass and/or .cZoomDialogClass"+C_CR+;
  100.                                                 "have been incorrectly assigned."+C_DOUBLE_CR+;
  101.                                                 "This Coverage User Interface class must contain dialogs"+C_CR+;
  102.                                                 "descended from "+ ;
  103.                                                 "cov_MainDialog_Standard and cov_ZoomDialog."
  104.    
  105.    *&*GETFILE/PUTFILE dialog titles, filters, etc:
  106.    #DEFINE COV_GETMAINFILE_TITLE_LOC            "Please confirm main program for"
  107.    #DEFINE COV_GETSOURCEFILE_TITLE_LOC          "Please locate"
  108.    #DEFINE COV_SETTARGETDBF_TITLE_LOC           "Please specify location to save Coverage results for"
  109.    #DEFINE COV_SAVEDTARGET_AS_LOC               "Your coverage analysis is saved as"   
  110.    #DEFINE COV_SAVEDSKIPFILES_AS_LOC            "Some source files could not be located;"+C_CR+;
  111.                                                 "their names are saved in a second table"  
  112.    #DEFINE COV_GETLOGFILE_TITLE_LOC             "Please specify coverage log file"
  113.    #DEFINE COV_GETPROJECTFILE_TITLE_LOC         "Please specify a project file to check"
  114.    #DEFINE COV_GETADDINFILE_TITLE_LOC           "Please specify an Add-In to run"
  115.    #DEFINE COV_GETFILE_BUTTON_LOC               "Select"
  116.    #DEFINE COV_LOGFILES_LOC                     "Coverage Logs"
  117.    #DEFINE COV_ALLFILES_LOC                     "All Files"
  118.    #DEFINE COV_PROJECTSONLY_LOC                 "Projects Only"
  119.    #DEFINE COV_PROGRAMSONLY_LOC                 "Programs Only"
  120.    #DEFINE COV_DBFSONLY_LOC                     "Table/DBF"
  121.    #DEFINE COV_SOURCEFILES_LOC                  "Source Files"   
  122.  
  123.    *&* wait window nowait /status bar messages during processing
  124.    #DEFINE COV_FILLING_ALL_RECORDS_LOC          "Checking Coverage of all target source files..."
  125.    #DEFINE COV_MARKING_ALL_RECORDS_LOC          "Marking all source code..."
  126.    #DEFINE COV_EMPTYING_ALL_RECORDS_LOC         "Changing Coverage modes and emptying marked code..."
  127.    #DEFINE COV_CREATING_FILES_FROM_LOC          "Creating work files from"
  128.    #DEFINE COV_CHECKING_SOURCE_AVAIL_FROM_LOC   "Checking for source code for"
  129.    #DEFINE COV_MARKING_SOURCE_FOR_LOC           "Marking source code for"
  130.    #DEFINE COV_GETTING_SOURCECODE_FROM_LOC      "Getting source code from"
  131.    #DEFINE COV_CHECKING_FOR_VALID_LOG_LOC       "Validating source file..."
  132.    #DEFINE COV_INDEXING_SOURCE_RECORDS_LOC      "Indexing source records..."
  133.    #DEFINE COV_CREATING_TARGET_ITEMS_LOC        "Creating target items..."
  134.                                                 
  135.    *&* main dialog buttons (tooltips and default captions if no pictures)
  136.    #DEFINE COV_OPEN_LOC                         "Open"
  137.    #DEFINE COV_SAVE_LOC                         "Save"   
  138.    #DEFINE COV_COVERAGE_MODE_LOC                "Coverage Mode"
  139.    #DEFINE COV_PROFILE_MODE_LOC                 "Profile Mode"
  140.    #DEFINE COV_PREVIEW_MODE_LOC                 "Preview Mode"
  141.    #DEFINE COV_ZOOM_MODE_LOC                    "Zoom Mode"
  142.    #DEFINE COV_STATISTICS_LOC                   "Statistics"
  143.    #DEFINE COV_OPTIONS_LOC                      "Options"
  144.    #DEFINE COV_ADDINS_LOC                       "Add-Ins"   
  145.    #DEFINE COV_HELP_LOC                         "Help"
  146.    #DEFINE COV_OKCLOSE_LOC                      "OK"
  147.    #DEFINE COV_CANCEL_LOC                       "Cancel"   
  148.    
  149.    *&* Main and Zoom dialog strings      
  150.    #DEFINE COV_FULL_SOURCE_FILE_LOC             "All Classes, Objects, Procs"
  151.    #DEFINE COV_ZOOM_MARKED_CODE_FOR_LOC         "Marked Code For"  
  152.    #DEFINE COV_ZOOM_GET_CODE_LOC                "Fast Mode: DoubleClick/Enter on List for Code"
  153.    #DEFINE COV_PROFILE_MARK_1ST_LOC             "1st"
  154.    #DEFINE COV_PROFILE_MARK_AVG_LOC             "Avg"   
  155.    #DEFINE COV_PROFILE_ONE_HIT_LOC              "Hit"
  156.    #DEFINE COV_PROFILE_HITS_LOC                 "Hits"
  157.  
  158.    *&* Statistics dialog and reporting
  159.    #DEFINE COV_STATS_VIEW_DETAILS_LOC           "View details"
  160.    #DEFINE COV_STATS_VIEW_FILES_SKIPPED_LOC     "\<Source Files Skipped"
  161.    #DEFINE COV_STATS_VIEW_SOURCE_LOG_LOC        "Source Text \<Log"
  162.    #DEFINE COV_STATS_VIEW_PROJECT_LOC           "Statistics by \<Project..."
  163.    
  164.    #DEFINE COV_STATS_LINES_COVERABLE_LOC        "Total coverable lines"
  165.    #DEFINE COV_STATS_LINES_HIT_LOC              "Line(s) hit"
  166.    #DEFINE COV_STATS_LINES_MISSED_LOC           "Line(s) missed"
  167.    #DEFINE COV_STATS_PCT_LINES_LOC              "% Covered Linecount"
  168.    #DEFINE COV_STATS_OBJS_COVERABLE_LOC         "Classes with code"
  169.    #DEFINE COV_STATS_OBJS_HIT_LOC               "Class(es) hit"
  170.    #DEFINE COV_STATS_OBJS_MISSED_LOC            "Class(es) missed"
  171.    #DEFINE COV_STATS_PCT_OBJS_LOC               "% Covered Classes"
  172.    #DEFINE COV_STATS_FULL_FILE_LOC              "All Objects and Procs"
  173.  
  174.    #DEFINE COV_STATS_PJXFILES_HIT_LOC           "Project Source Files Hit"
  175.    #DEFINE COV_STATS_PJXFILES_COVERABLE_LOC     "Total Source Code Files For Project"
  176.    #DEFINE COV_STATS_PJXLINES_HIT_LOC           "Total Project Lines Hit"
  177.    #DEFINE COV_STATS_PJXLINES_COVERABLE_LOC     "Total Lines Coverable Code in Files Hit"
  178.    #IF ATC("FoxPro 05",VERSION()) > 0
  179.       #DEFINE COV_STATS_PJXOBJS_HIT_LOC            "Total Classes Hit in Project VCXs and SCXs"
  180.       #DEFINE COV_STATS_PJXOBJS_COVERABLE_LOC      "Total Classes in Project VCXs and SCXs contain code"
  181.    #ELSE
  182.       #DEFINE COV_STATS_PJXOBJS_HIT_LOC            "Total Classes Hit in Project VCXs, SCXs, FRXs, and LBXs"
  183.       #DEFINE COV_STATS_PJXOBJS_COVERABLE_LOC      "Total Classes in Project VCXs, SCXs, FRXs, and LBXs contain code"
  184.    #ENDIF
  185.    #DEFINE COV_STATS_PCT_PJXFILES_LOC           "% Project Coverage by Files"
  186.    #DEFINE COV_STATS_PCT_PJXLINES_LOC           "% Project Coverage by Lines (Files Hit Only)"
  187.    #DEFINE COV_STATS_PCT_PJXOBJS_LOC            "% Class Code Coverage for Project Files Hit"
  188.    #DEFINE COV_STATS_FILE_NOT_HIT_LOC           "File skipped or not logged"
  189.    
  190.    *&* Options dialog
  191.    #DEFINE COV_OPT_SMARTPATH_LOC                "Use \<Smart Pathing"
  192.    #DEFINE COV_OPT_REGISTER_ADDINS_LOC          "Register \<Add-Ins when run"   
  193.    #DEFINE COV_OPT_MARKALL_LOC                  "\<Mark all code while log loads"
  194.    #DEFINE COV_OPT_COVERAGE_MARKS_LOC           "Coverage marks"
  195.    #DEFINE COV_OPT_MARKS_WILL_BE_MATCHED_LOC    "Mark lengths will be matched"
  196.    #DEFINE COV_OPT_MARK_EXECUTED_LOC            "\<Executed:"
  197.    #DEFINE COV_OPT_MARK_NOT_EXECUTED_LOC        "\<Not executed:"
  198.    #DEFINE COV_OPT_FONTS_LOC                    "Fonts"
  199.    #DEFINE COV_OPT_GETFONT_LOC                  "D\<isplay Font..."
  200.    #DEFINE COV_OPT_GETFIXEDFONT_LOC             "C\<ode Font..."
  201.    #DEFINE COV_OPT_SET_DEFAULTS_LOC             "Set as \<default"
  202.    #DEFINE COV_OPT_START_IN_LOC                 "Start mode"
  203.    #DEFINE COV_OPT_START_COVERAGE_LOC           "\<Coverage"   
  204.    #DEFINE COV_OPT_START_PROFILE_LOC            "\<Profile"
  205.    #DEFINE COV_OPT_ENVIRONMENT_LOC              "Environment"
  206.    #DEFINE COV_OPT_COVFRAME_LOC                 "Co\<verage frame"
  207.    #DEFINE COV_OPT_VFPFRAME_LOC                 "Fo\<xPro frame"
  208.    
  209.    *&* shortcut prompts (different hotkeys)
  210.    #DEFINE COV_SC_SMARTPATH_LOC                "\<Use Smart Pathing"
  211.    #DEFINE COV_SC_GETFONT_LOC                  "\<Display Font..."
  212.    #DEFINE COV_SC_GETFIXEDFONT_LOC             "\<Code Font..."
  213.    #DEFINE COV_SC_STATISTICS_LOC               "\<Statistics..."
  214.    #DEFINE COV_SC_ADDINS_LOC                   "\<Add-Ins..."
  215.    #DEFINE COV_SC_SOURCELOG_LOC                "\<View Source Log"
  216.    #DEFINE COV_SC_ARRANGE_LOC                  "Cascade \<Windows"
  217.    #DEFINE COV_SC_FASTZOOM_LOC                 "Fast \<Zoom Mode"
  218.    
  219.    *&* Add-Ins dialog
  220.    #DEFINE COV_ADDIN_REGISTER_LOC               "Register this \<Add-In after running"
  221.    #DEFINE COV_ADDIN_RUN_LOC                    "\<Run"
  222.  
  223.  
  224. #ELSE
  225.  
  226.    * this case can contain empty #defs,
  227.    * for pasting to new #ELIF cases above
  228.  
  229. #ENDIF
  230.