public void MSOXCTABL_S02_RowRops_QueryPositionSuccess_TestSuite() {
this.Manager.BeginTest("MSOXCTABL_S02_RowRops_QueryPositionSuccess_TestSuite");
this.Manager.Comment("reaching state \'S0\'");
bool temp0;
this.Manager.Comment("executing step \'call CheckMAPIHTTPTransportSupported(out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckMAPIHTTPTransportSupported(out temp0);
this.Manager.AddReturn(CheckMAPIHTTPTransportSupportedInfo, null, temp0);
this.Manager.Comment("reaching state \'S1\'");
int temp5 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_QueryPositionSuccess_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S02_RowRops_QueryPositionSuccess_TestSuiteCheckMAPIHTTPTransportSupportedChecker)), new ExpectedReturn(S02_RowRops_QueryPositionSuccess_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S02_RowRops_QueryPositionSuccess_TestSuiteCheckMAPIHTTPTransportSupportedChecker1)));
if ((temp5 == 0)) {
this.Manager.Comment("reaching state \'S6\'");
goto label0;
}
if ((temp5 == 1)) {
this.Manager.Comment("reaching state \'S7\'");
this.Manager.Comment("executing step \'call InitializeTable(CONTENT_TABLE)\'");
this.IMS_OXCTABLAdapterInstance.InitializeTable(((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableType)(0)));
this.Manager.Comment("reaching state \'S12\'");
this.Manager.Comment("checking step \'return InitializeTable\'");
this.Manager.Comment("reaching state \'S15\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp1;
this.Manager.Comment("executing step \'call RopSetColumns(1,False,False,False)\'");
temp1 = this.IMS_OXCTABLAdapterInstance.RopSetColumns(1u, false, false, false);
this.Manager.Checkpoint("MS-OXCTABL_R831");
this.Manager.Checkpoint("MS-OXCTABL_R45");
this.Manager.Comment("reaching state \'S18\'");
this.Manager.Comment("checking step \'return RopSetColumns/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp1, "return of RopSetColumns, state S18");
this.Manager.Comment("reaching state \'S21\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp2;
this.Manager.Comment("executing step \'call RopCreateBookmark()\'");
temp2 = this.IMS_OXCTABLAdapterInstance.RopCreateBookmark();
this.Manager.Checkpoint("MS-OXCTABL_R526");
this.Manager.Comment("reaching state \'S24\'");
this.Manager.Comment("checking step \'return RopCreateBookmark/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp2, "return of RopCreateBookmark, state S24");
this.Manager.Comment("reaching state \'S26\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp3;
this.Manager.Comment("executing step \'call RopRestrict(1,True,False,False)\'");
temp3 = this.IMS_OXCTABLAdapterInstance.RopRestrict(1u, true, false, false);
this.Manager.Checkpoint("MS-OXCTABL_R834");
this.Manager.Comment("reaching state \'S28\'");
this.Manager.Comment("checking step \'return RopRestrict/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp3, "return of RopRestrict, state S28");
this.Manager.Comment("reaching state \'S30\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp4;
this.Manager.Comment("executing step \'call RopQueryPosition()\'");
temp4 = this.IMS_OXCTABLAdapterInstance.RopQueryPosition();
this.Manager.Checkpoint("MS-OXCTABL_R846");
this.Manager.Comment("reaching state \'S32\'");
this.Manager.Comment("checking step \'return RopQueryPosition/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp4, "return of RopQueryPosition, state S32");
this.Manager.Comment("reaching state \'S34\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_QueryPositionSuccess_TestSuite.RopQueryPositionResponseInfo, null, new RopQueryPositionResponseDelegate1(this.MSOXCTABL_S02_RowRops_QueryPositionSuccess_TestSuiteRopQueryPositionResponseChecker))) != -1)) {
this.Manager.Comment("reaching state \'S36\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_QueryPositionSuccess_TestSuite.RopQueryPositionResponseInfo, null, new RopQueryPositionResponseDelegate1(this.MSOXCTABL_S02_RowRops_QueryPositionSuccess_TestSuiteRopQueryPositionResponseChecker)));
}
goto label0;
}
throw new InvalidOperationException("never reached");
label0:
;
this.Manager.EndTest();
}