Project

General

Custom queries

Profile

Actions

Feature #1157

closed

parseCrocusVersion enhancement

Added by Lafage Vincent over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Urgent
Assigned To:
Target version:
-
Start date:
07/15/2010
Due date:
09/13/2010
% Done:

100%

Estimated time:

Description

2010-07-15T19:35:10+0200
display CROCUS_ERROR.h error messages in the report, and capitalize on error status to improve parsing


Files

Actions #1

Updated by Lafage Vincent over 14 years ago

2010-08-21T04:02:22+0200
The accurate reference is

./LC2/source/config/src/ConfigErrorMap.cxx:#include "CROCUS_ERR.h"

with method
const std::string Crocus::ConfigErrorMap::ErrorDescription(ui32 errorCode) 
/// Extract error type (0x0000FFF0) from error code
/// and find corresponding description in the map.
/// The map is filled with the first call to this function

Actions #2

Updated by Lafage Vincent over 14 years ago

2010-08-21T04:27:38+0200
LC2/source/version/src/FrtVFrame.cxx
has an error field that must be analysed this way, during parsing, even before being displayed

// Structures that encapsulate Frt cmd result DDL frame
typedef struct {

ui32 uiStartToken;
ui32 uiFrtId;
Crocus::eCrocusCmd eCmdType;
ui32 uiError;
ui32 uiEvenPadder;
ui32 uiPayloadLength;

} structFrtCmdResultDdlFrame;

FrtVFrame class has 2 friend operators

istream& operator >> (istream& in, structFrtCmdResultDdlFrame& stFrtCmdResultDdlFrame) 
ostream& operator << (ostream& on, FrtVFrame& stFrtVFrame) 
in which the report may occur

Actions #3

Updated by Lafage Vincent over 14 years ago

2010-08-23T02:38:57+0200
We have 4 test cases were parseCrocusVersion is less than optimal

/CmdResult_parseCrocusVersion_20090220.txt
/CmdResult_parseCrocusVersion_20090510.txt
/CmdResult_parseCrocusVersion_20090524.txt
/CmdResult_parseCrocusVersion_20100629.txt

Actions #4

Updated by Lafage Vincent over 14 years ago

  • Due date set to 09/13/2010
  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

2010-09-13T04:25:17+0200

Actions #5

Updated by Lafage Vincent over 14 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF