| Line 32... |
Line 32... |
| 32 |
#include "DBAdvGrid.hpp"
|
32 |
#include "DBAdvGrid.hpp"
|
| 33 |
#include "ProgressBar.h"
|
33 |
#include "ProgressBar.h"
|
| 34 |
|
34 |
|
| 35 |
#include <map>
|
35 |
#include <map>
|
| 36 |
#include <string>
|
36 |
#include <string>
|
| - |
|
37 |
#include <vector>
|
| 37 |
|
38 |
|
| 38 |
typedef map<unsigned int, AnsiString> TXNIndexMap;
|
39 |
typedef map<unsigned int, AnsiString> TXNIndexMap;
|
| 39 |
typedef pair<unsigned int, AnsiString> TXNIndexPair;
|
40 |
typedef pair<unsigned int, AnsiString> TXNIndexPair;
|
| 40 |
|
41 |
|
| 41 |
|
42 |
|
| Line 205... |
Line 206... |
| 205 |
TStringField *TestCaseQueryDESCRIPTION;
|
206 |
TStringField *TestCaseQueryDESCRIPTION;
|
| 206 |
TStringField *TestCaseQueryTESTCASE_ID;
|
207 |
TStringField *TestCaseQueryTESTCASE_ID;
|
| 207 |
TStringField *TestCaseQueryTRACEABILITY_REF;
|
208 |
TStringField *TestCaseQueryTRACEABILITY_REF;
|
| 208 |
TStringField *TestCaseQueryREF_TYPE;
|
209 |
TStringField *TestCaseQueryREF_TYPE;
|
| 209 |
TStringField *TestCaseQueryUSE_CASE_TYPE;
|
210 |
TStringField *TestCaseQueryUSE_CASE_TYPE;
|
| 210 |
TMenuItem *N3;
|
211 |
TMenuItem *N2;
|
| 211 |
TMenuItem *Properties1;
|
212 |
TMenuItem *Properties1;
|
| 212 |
TPopupMenu *TransactionPopupMenu;
|
213 |
TPopupMenu *TransactionPopupMenu;
|
| 213 |
TMenuItem *DeleteTransaction;
|
214 |
TMenuItem *DeleteTransaction;
|
| 214 |
TMenuItem *DeleteScenario;
|
215 |
TMenuItem *DeleteScenario;
|
| 215 |
TAction *DeleteScenarioAction;
|
216 |
TAction *DeleteScenarioAction;
|
| Line 294... |
Line 295... |
| 294 |
TDBAdvNavigator *SequenceGeneratorNavigator;
|
295 |
TDBAdvNavigator *SequenceGeneratorNavigator;
|
| 295 |
TEdit *DocDataType;
|
296 |
TEdit *DocDataType;
|
| 296 |
TLabel *Label8;
|
297 |
TLabel *Label8;
|
| 297 |
TMenuItem *ImportTransactions;
|
298 |
TMenuItem *ImportTransactions;
|
| 298 |
TAction *ImportTransactionAction;
|
299 |
TAction *ImportTransactionAction;
|
| - |
|
300 |
TSpeedButton *IterationCopyButton;
|
| - |
|
301 |
TMenuItem *Generate;
|
| - |
|
302 |
TAction *GenerateAction;
|
| 299 |
void __fastcall ProjectConfigBtnClick(TObject *Sender);
|
303 |
void __fastcall ProjectConfigBtnClick(TObject *Sender);
|
| 300 |
void __fastcall IterationConfigBtnClick(TObject *Sender);
|
304 |
void __fastcall IterationConfigBtnClick(TObject *Sender);
|
| 301 |
void __fastcall FormShow(TObject *Sender);
|
305 |
void __fastcall FormShow(TObject *Sender);
|
| 302 |
void __fastcall ProjectsComboBoxChange(TObject *Sender);
|
306 |
void __fastcall ProjectsComboBoxChange(TObject *Sender);
|
| 303 |
void __fastcall tsDBGrid2RowChanged(TObject *Sender, Variant &OldRow,
|
307 |
void __fastcall tsDBGrid2RowChanged(TObject *Sender, Variant &OldRow,
|
| Line 373... |
Line 377... |
| 373 |
void __fastcall HeaderStructureGridKeyDown(TObject *Sender, WORD &Key,
|
377 |
void __fastcall HeaderStructureGridKeyDown(TObject *Sender, WORD &Key,
|
| 374 |
TShiftState Shift);
|
378 |
TShiftState Shift);
|
| 375 |
void __fastcall ObsoleteFieldGridKeyDown(TObject *Sender, WORD &Key,
|
379 |
void __fastcall ObsoleteFieldGridKeyDown(TObject *Sender, WORD &Key,
|
| 376 |
TShiftState Shift);
|
380 |
TShiftState Shift);
|
| 377 |
void __fastcall ImportTransactionActionExecute(TObject *Sender);
|
381 |
void __fastcall ImportTransactionActionExecute(TObject *Sender);
|
| - |
|
382 |
void __fastcall IterationCopyButtonClick(TObject *Sender);
|
| - |
|
383 |
void __fastcall GenerateActionExecute(TObject *Sender);
|
| 378 |
|
384 |
|
| 379 |
private: // User declarations
|
385 |
private: // User declarations
|
| 380 |
TXNIndexMap m_mass_txns;
|
386 |
TXNIndexMap m_mass_txns;
|
| 381 |
AnsiString m_testteamcode;
|
387 |
AnsiString m_testteamcode;
|
| 382 |
AnsiString m_currentproject;
|
388 |
AnsiString m_currentproject;
|
| Line 513... |
Line 519... |
| 513 |
const bool __fastcall openSecurityFactory( const char * library = "SecurityWrapper.dll" );
|
519 |
const bool __fastcall openSecurityFactory( const char * library = "SecurityWrapper.dll" );
|
| 514 |
void __fastcall closeSecurityFactory();
|
520 |
void __fastcall closeSecurityFactory();
|
| 515 |
void __fastcall readSequences( SequenceCollection & sequences, const std::string & project, const int & iteration );
|
521 |
void __fastcall readSequences( SequenceCollection & sequences, const std::string & project, const int & iteration );
|
| 516 |
void __fastcall writeSequences( const SequenceCollection & sequences, const std::string & project, const int & iteration );
|
522 |
void __fastcall writeSequences( const SequenceCollection & sequences, const std::string & project, const int & iteration );
|
| 517 |
void __fastcall importTransaction( const int & testScenarioNumber, const AnsiString & profile, const AnsiString & file );
|
523 |
void __fastcall importTransaction( const int & testScenarioNumber, const AnsiString & profile, const AnsiString & file );
|
| - |
|
524 |
void __fastcall generateTransaction( std::vector< int > & scenarios );
|
| 518 |
|
525 |
|
| 519 |
public: // User declarations
|
526 |
public: // User declarations
|
| 520 |
__fastcall TMainForm(TComponent* Owner);
|
527 |
__fastcall TMainForm(TComponent* Owner);
|
| 521 |
__fastcall virtual ~TMainForm();
|
528 |
__fastcall virtual ~TMainForm();
|
| 522 |
static const char * g_headerStructure;
|
529 |
static const char * g_headerStructure;
|