public void MSOXCPRPT_S04_SetDataWithStream_TestSuite6() {
this.Manager.BeginTest("MSOXCPRPT_S04_SetDataWithStream_TestSuite6");
this.Manager.Comment("reaching state \'S2\'");
bool temp469;
this.Manager.Comment("executing step \'call CheckMAPIHTTPTransportSupported(out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckMAPIHTTPTransportSupported(out temp469);
this.Manager.AddReturn(CheckMAPIHTTPTransportSupportedInfo, null, temp469);
this.Manager.Comment("reaching state \'S3\'");
int temp545 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckMAPIHTTPTransportSupportedChecker)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckMAPIHTTPTransportSupportedChecker1)));
if ((temp545 == 0)) {
this.Manager.Comment("reaching state \'S22\'");
this.Manager.Comment("executing step \'call InitializeMailBox()\'");
this.IMS_OXCPRPTAdapterInstance.InitializeMailBox();
this.Manager.Comment("reaching state \'S41\'");
this.Manager.Comment("checking step \'return InitializeMailBox\'");
this.Manager.Comment("reaching state \'S51\'");
this.Manager.Comment("executing step \'call GetObject(Attachment,FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.GetObject(Microsoft.Protocols.TestSuites.MS_OXCPRPT.ServerObjectType.Attachment, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S61\'");
this.Manager.Comment("checking step \'return GetObject\'");
this.Manager.Comment("reaching state \'S71\'");
bool temp470;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp471;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp470, out temp471);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S81\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp470, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S81");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp471, "error of RopOpenStreamMethod, state S81");
this.Manager.Comment("reaching state \'S91\'");
bool temp472;
bool temp473;
bool temp474;
this.Manager.Comment("executing step \'call RopSetStreamSizeMethod(True,out _,out _,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopSetStreamSizeMethod(true, out temp472, out temp473, out temp474);
this.Manager.Checkpoint("MS-OXCPRPT_R322");
this.Manager.Checkpoint("MS-OXCPRPT_R32801");
this.Manager.Checkpoint("MS-OXCPRPT_R57705");
this.Manager.Checkpoint("MS-OXCPRPT_R57706");
this.Manager.Comment("reaching state \'S101\'");
this.Manager.Comment("checking step \'return RopSetStreamSizeMethod/[out True,out False,out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp472, "isExtendedValueZero of RopSetStreamSizeMethod, state S101");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, false, temp473, "isLost of RopSetStreamSizeMethod, state S101");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp474, "isIncrease of RopSetStreamSizeMethod, state S101");
this.Manager.Comment("reaching state \'S112\'");
bool temp475;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(86706,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(86706, out temp475);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp475);
this.Manager.Comment("reaching state \'S126\'");
int temp544 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker15)));
if ((temp544 == 0)) {
this.Manager.Comment("reaching state \'S142\'");
bool temp476;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(55707,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(55707, out temp476);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp476);
this.Manager.Comment("reaching state \'S170\'");
int temp509 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker1)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker8)));
if ((temp509 == 0)) {
this.Manager.Comment("reaching state \'S202\'");
bool temp477;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(90102,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(90102, out temp477);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp477);
this.Manager.Comment("reaching state \'S258\'");
int temp492 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker2)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker5)));
if ((temp492 == 0)) {
this.Manager.Comment("reaching state \'S314\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp478;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp478);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S394\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp478, "error of RopWriteStreamMethod, state S394");
this.Manager.Comment("reaching state \'S474\'");
bool temp479;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp479);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S554\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp479, "isPropertyValueChanged of RopCommitStreamMethod, state S554");
this.Manager.Comment("reaching state \'S634\'");
bool temp480;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp480);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S714\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp480, "isPropertyValueChanged of RopReleaseMethod, state S714");
this.Manager.Comment("reaching state \'S794\'");
bool temp481;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp482;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp481, out temp482);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S874\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp481, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S874");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp482, "error of RopOpenStreamMethod, state S874");
this.Manager.Comment("reaching state \'S962\'");
bool temp483;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp483);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp483);
this.Manager.Comment("reaching state \'S1074\'");
int temp484 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker3)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker4)));
if ((temp484 == 0)) {
this.Manager.Comment("reaching state \'S1186\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1330\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1434\'");
goto label96;
}
if ((temp484 == 1)) {
this.Manager.Comment("reaching state \'S1187\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1331\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1435\'");
goto label96;
}
throw new InvalidOperationException("never reached");
label96:
;
goto label98;
}
if ((temp492 == 1)) {
this.Manager.Comment("reaching state \'S315\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp485;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp485);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S395\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp485, "error of RopWriteStreamMethod, state S395");
this.Manager.Comment("reaching state \'S475\'");
bool temp486;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp486);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S555\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp486, "isPropertyValueChanged of RopCommitStreamMethod, state S555");
this.Manager.Comment("reaching state \'S635\'");
bool temp487;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp487);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S715\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp487, "isPropertyValueChanged of RopReleaseMethod, state S715");
this.Manager.Comment("reaching state \'S795\'");
bool temp488;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp489;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp488, out temp489);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S875\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp488, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S875");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp489, "error of RopOpenStreamMethod, state S875");
this.Manager.Comment("reaching state \'S963\'");
bool temp490;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp490);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp490);
this.Manager.Comment("reaching state \'S1075\'");
int temp491 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker6)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker7)));
if ((temp491 == 0)) {
this.Manager.Comment("reaching state \'S1188\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1332\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1436\'");
goto label97;
}
if ((temp491 == 1)) {
this.Manager.Comment("reaching state \'S1189\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1333\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1437\'");
goto label97;
}
throw new InvalidOperationException("never reached");
label97:
;
goto label98;
}
throw new InvalidOperationException("never reached");
label98:
;
goto label102;
}
if ((temp509 == 1)) {
this.Manager.Comment("reaching state \'S203\'");
bool temp493;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(90102,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(90102, out temp493);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp493);
this.Manager.Comment("reaching state \'S259\'");
int temp508 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker9)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker12)));
if ((temp508 == 0)) {
this.Manager.Comment("reaching state \'S316\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp494;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp494);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S396\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp494, "error of RopWriteStreamMethod, state S396");
this.Manager.Comment("reaching state \'S476\'");
bool temp495;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp495);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S556\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp495, "isPropertyValueChanged of RopCommitStreamMethod, state S556");
this.Manager.Comment("reaching state \'S636\'");
bool temp496;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp496);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S716\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp496, "isPropertyValueChanged of RopReleaseMethod, state S716");
this.Manager.Comment("reaching state \'S796\'");
bool temp497;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp498;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp497, out temp498);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S876\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp497, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S876");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp498, "error of RopOpenStreamMethod, state S876");
this.Manager.Comment("reaching state \'S964\'");
bool temp499;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp499);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp499);
this.Manager.Comment("reaching state \'S1076\'");
int temp500 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker10)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker11)));
if ((temp500 == 0)) {
this.Manager.Comment("reaching state \'S1190\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1334\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1438\'");
goto label99;
}
if ((temp500 == 1)) {
this.Manager.Comment("reaching state \'S1191\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1335\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1439\'");
goto label99;
}
throw new InvalidOperationException("never reached");
label99:
;
goto label101;
}
if ((temp508 == 1)) {
this.Manager.Comment("reaching state \'S317\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp501;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp501);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S397\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp501, "error of RopWriteStreamMethod, state S397");
this.Manager.Comment("reaching state \'S477\'");
bool temp502;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp502);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S557\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp502, "isPropertyValueChanged of RopCommitStreamMethod, state S557");
this.Manager.Comment("reaching state \'S637\'");
bool temp503;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp503);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S717\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp503, "isPropertyValueChanged of RopReleaseMethod, state S717");
this.Manager.Comment("reaching state \'S797\'");
bool temp504;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp505;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp504, out temp505);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S877\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp504, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S877");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp505, "error of RopOpenStreamMethod, state S877");
this.Manager.Comment("reaching state \'S965\'");
bool temp506;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp506);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp506);
this.Manager.Comment("reaching state \'S1077\'");
int temp507 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker13)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker14)));
if ((temp507 == 0)) {
this.Manager.Comment("reaching state \'S1192\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1336\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1440\'");
goto label100;
}
if ((temp507 == 1)) {
this.Manager.Comment("reaching state \'S1193\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1337\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1441\'");
goto label100;
}
throw new InvalidOperationException("never reached");
label100:
;
goto label101;
}
throw new InvalidOperationException("never reached");
label101:
;
goto label102;
}
throw new InvalidOperationException("never reached");
label102:
;
goto label110;
}
if ((temp544 == 1)) {
this.Manager.Comment("reaching state \'S143\'");
bool temp510;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(55707,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(55707, out temp510);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp510);
this.Manager.Comment("reaching state \'S171\'");
int temp543 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker16)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker23)));
if ((temp543 == 0)) {
this.Manager.Comment("reaching state \'S204\'");
bool temp511;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(90102,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(90102, out temp511);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp511);
this.Manager.Comment("reaching state \'S260\'");
int temp526 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker17)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker20)));
if ((temp526 == 0)) {
this.Manager.Comment("reaching state \'S318\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp512;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp512);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S398\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp512, "error of RopWriteStreamMethod, state S398");
this.Manager.Comment("reaching state \'S478\'");
bool temp513;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp513);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S558\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp513, "isPropertyValueChanged of RopCommitStreamMethod, state S558");
this.Manager.Comment("reaching state \'S638\'");
bool temp514;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp514);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S718\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp514, "isPropertyValueChanged of RopReleaseMethod, state S718");
this.Manager.Comment("reaching state \'S798\'");
bool temp515;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp516;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp515, out temp516);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S878\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp515, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S878");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp516, "error of RopOpenStreamMethod, state S878");
this.Manager.Comment("reaching state \'S966\'");
bool temp517;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp517);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp517);
this.Manager.Comment("reaching state \'S1078\'");
int temp518 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker18)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker19)));
if ((temp518 == 0)) {
this.Manager.Comment("reaching state \'S1194\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1338\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1442\'");
goto label103;
}
if ((temp518 == 1)) {
this.Manager.Comment("reaching state \'S1195\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1339\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1443\'");
goto label103;
}
throw new InvalidOperationException("never reached");
label103:
;
goto label105;
}
if ((temp526 == 1)) {
this.Manager.Comment("reaching state \'S319\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp519;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp519);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S399\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp519, "error of RopWriteStreamMethod, state S399");
this.Manager.Comment("reaching state \'S479\'");
bool temp520;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp520);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S559\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp520, "isPropertyValueChanged of RopCommitStreamMethod, state S559");
this.Manager.Comment("reaching state \'S639\'");
bool temp521;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp521);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S719\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp521, "isPropertyValueChanged of RopReleaseMethod, state S719");
this.Manager.Comment("reaching state \'S799\'");
bool temp522;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp523;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp522, out temp523);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S879\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp522, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S879");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp523, "error of RopOpenStreamMethod, state S879");
this.Manager.Comment("reaching state \'S967\'");
bool temp524;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp524);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp524);
this.Manager.Comment("reaching state \'S1079\'");
int temp525 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker21)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker22)));
if ((temp525 == 0)) {
this.Manager.Comment("reaching state \'S1196\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1340\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1444\'");
goto label104;
}
if ((temp525 == 1)) {
this.Manager.Comment("reaching state \'S1197\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1341\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1445\'");
goto label104;
}
throw new InvalidOperationException("never reached");
label104:
;
goto label105;
}
throw new InvalidOperationException("never reached");
label105:
;
goto label109;
}
if ((temp543 == 1)) {
this.Manager.Comment("reaching state \'S205\'");
bool temp527;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(90102,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(90102, out temp527);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp527);
this.Manager.Comment("reaching state \'S261\'");
int temp542 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker24)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker27)));
if ((temp542 == 0)) {
this.Manager.Comment("reaching state \'S320\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp528;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp528);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S400\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp528, "error of RopWriteStreamMethod, state S400");
this.Manager.Comment("reaching state \'S480\'");
bool temp529;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp529);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S560\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp529, "isPropertyValueChanged of RopCommitStreamMethod, state S560");
this.Manager.Comment("reaching state \'S640\'");
bool temp530;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp530);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S720\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp530, "isPropertyValueChanged of RopReleaseMethod, state S720");
this.Manager.Comment("reaching state \'S800\'");
bool temp531;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp532;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp531, out temp532);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S880\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp531, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S880");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp532, "error of RopOpenStreamMethod, state S880");
this.Manager.Comment("reaching state \'S968\'");
bool temp533;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp533);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp533);
this.Manager.Comment("reaching state \'S1080\'");
int temp534 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker25)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker26)));
if ((temp534 == 0)) {
this.Manager.Comment("reaching state \'S1198\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1342\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1446\'");
goto label106;
}
if ((temp534 == 1)) {
this.Manager.Comment("reaching state \'S1199\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1343\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1447\'");
goto label106;
}
throw new InvalidOperationException("never reached");
label106:
;
goto label108;
}
if ((temp542 == 1)) {
this.Manager.Comment("reaching state \'S321\'");
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp535;
this.Manager.Comment("executing step \'call RopWriteStreamMethod(ReadWrite,False,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopWriteStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), false, out temp535);
this.Manager.Checkpoint("MS-OXCPRPT_R269");
this.Manager.Comment("reaching state \'S401\'");
this.Manager.Comment("checking step \'return RopWriteStreamMethod/[out None]\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp535, "error of RopWriteStreamMethod, state S401");
this.Manager.Comment("reaching state \'S481\'");
bool temp536;
this.Manager.Comment("executing step \'call RopCommitStreamMethod(ReadWrite,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopCommitStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), out temp536);
this.Manager.Checkpoint("MS-OXCPRPT_R305");
this.Manager.Comment("reaching state \'S561\'");
this.Manager.Comment("checking step \'return RopCommitStreamMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp536, "isPropertyValueChanged of RopCommitStreamMethod, state S561");
this.Manager.Comment("reaching state \'S641\'");
bool temp537;
this.Manager.Comment("executing step \'call RopReleaseMethod(FirstObject,out _)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), out temp537);
this.Manager.Checkpoint("MS-OXCPRPT_R56404");
this.Manager.Comment("reaching state \'S721\'");
this.Manager.Comment("checking step \'return RopReleaseMethod/[out True]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp537, "isPropertyValueChanged of RopReleaseMethod, state S721");
this.Manager.Comment("reaching state \'S801\'");
bool temp538;
Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode temp539;
this.Manager.Comment("executing step \'call RopOpenStreamMethod(FirstObject,ReadWrite,True,out _,out _)\'" +
"");
this.IMS_OXCPRPTAdapterInstance.RopOpenStreamMethod(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)), ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.OpenModeFlags)(1)), true, out temp538, out temp539);
this.Manager.Checkpoint("MS-OXCPRPT_R885");
this.Manager.Comment("reaching state \'S881\'");
this.Manager.Comment("checking step \'return RopOpenStreamMethod/[out True,out None]\'");
TestManagerHelpers.AssertAreEqual<bool>(this.Manager, true, temp538, "isStreamSizeEqualToStream of RopOpenStreamMethod, state S881");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCPRPT.CPRPTErrorCode)(0)), temp539, "error of RopOpenStreamMethod, state S881");
this.Manager.Comment("reaching state \'S969\'");
bool temp540;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(752,out _)\'");
this.IMS_OXCPRPTAdapterInstance.CheckRequirementEnabled(752, out temp540);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp540);
this.Manager.Comment("reaching state \'S1081\'");
int temp541 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker28)), new ExpectedReturn(S04_SetDataWithStream_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCPRPT_S04_SetDataWithStream_TestSuite6CheckRequirementEnabledChecker29)));
if ((temp541 == 0)) {
this.Manager.Comment("reaching state \'S1200\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1344\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1448\'");
goto label107;
}
if ((temp541 == 1)) {
this.Manager.Comment("reaching state \'S1201\'");
this.Manager.Comment("executing step \'call RopReleaseMethodNoVerify(FirstObject)\'");
this.IMS_OXCPRPTAdapterInstance.RopReleaseMethodNoVerify(((Microsoft.Protocols.TestSuites.MS_OXCPRPT.ObjectToOperate)(0)));
this.Manager.Comment("reaching state \'S1345\'");
this.Manager.Comment("checking step \'return RopReleaseMethodNoVerify\'");
this.Manager.Comment("reaching state \'S1449\'");
goto label107;
}
throw new InvalidOperationException("never reached");
label107:
;
goto label108;
}
throw new InvalidOperationException("never reached");
label108:
;
goto label109;
}
throw new InvalidOperationException("never reached");
label109:
;
goto label110;
}
throw new InvalidOperationException("never reached");
label110:
;
goto label111;
}
if ((temp545 == 1)) {
this.Manager.Comment("reaching state \'S23\'");
goto label111;
}
throw new InvalidOperationException("never reached");
label111:
;
this.Manager.EndTest();
}