virtual void Test1Initialize (const int *const minRunTimes)

ConcurrencyrsSequentialConcurrencyVisibilityrsProtected

Code
// Test 1 initialization

RQARTStartTestNData driverData;
driverData.nCurrentTest = 1;
nCurrentInstances = 4;
nEnvironmentIndex = 0;
PrepareToStartTest(minRunTimes);

// Auto-create any roles not explicitly created.
// Auto-create: incarnate the wrappers for the drivers if they don't already exist.
// If they do exist, prepare them for the next test.
RQARTIncarnateArguments driverArg;
if (!RQART_Driver1.isBoundAt(0))
{
    driverArg.pCapsuleClass = &RQART2oTestHarnessICSCstubECW;
    driverArg.cardinalityIndex = 0;
    if (!CreateCapsuleRole(stubEC, &driverArg)) return;
}
// Auto-create: incarnate the capsules under test that receive their first message
RQARTIncarnateArguments CUTArg;
CUTArg.cardinalityIndex = 0;
if (!CreateCapsuleRoleIfNecessary(vcns, &CUTArg))
    return;
StartMinRunTimeTimer(1);
CUTArg.cardinalityIndex = 0;
if (!CreateCapsuleRoleIfNecessary(vsup, &CUTArg))
    return;
StartMinRunTimeTimer(2);
// Auto-create: start the drivers that send their first message
if (RQART_Driver1.isBoundAt(0))
{
    driverData.nMinRunTime = nMinRunTimes[3];
    driverData.nCardinalityIndex = 0;
    RQART_Driver1.StartTestN(driverData).sendAt(0, Panic);
}



Parameter minRunTimes