public void MSOXCTABL_S02_RowRops_Backward_TestSuite() {
this.Manager.BeginTest("MSOXCTABL_S02_RowRops_Backward_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 temp21 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckMAPIHTTPTransportSupportedChecker)), new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckMAPIHTTPTransportSupportedChecker1)));
if ((temp21 == 0)) {
this.Manager.Comment("reaching state \'S4\'");
goto label5;
}
if ((temp21 == 1)) {
this.Manager.Comment("reaching state \'S5\'");
this.Manager.Comment("executing step \'call InitializeTable(HIERARCHY_TABLE)\'");
this.IMS_OXCTABLAdapterInstance.InitializeTable(((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableType)(1)));
this.Manager.Comment("reaching state \'S8\'");
this.Manager.Comment("checking step \'return InitializeTable\'");
this.Manager.Comment("reaching state \'S10\'");
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_R829");
this.Manager.Checkpoint("MS-OXCTABL_R45");
this.Manager.Comment("reaching state \'S12\'");
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 S12");
this.Manager.Comment("reaching state \'S14\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp2;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,False)\'");
temp2 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), false);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S16\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp2, "return of RopQueryRows, state S16");
this.Manager.Comment("reaching state \'S18\'");
bool temp3;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(896,out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckRequirementEnabled(896, out temp3);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp3);
this.Manager.Comment("reaching state \'S21\'");
int temp20 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker)), new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker5)));
if ((temp20 == 0)) {
this.Manager.Comment("reaching state \'S24\'");
bool temp4;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(897,out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckRequirementEnabled(897, out temp4);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp4);
this.Manager.Comment("reaching state \'S28\'");
int temp11 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker1)), new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker4)));
if ((temp11 == 0)) {
this.Manager.Comment("reaching state \'S32\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker))) != -1)) {
this.Manager.Comment("reaching state \'S40\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp5;
this.Manager.Comment("executing step \'call RopRestrict(1,True,False,False)\'");
temp5 = this.IMS_OXCTABLAdapterInstance.RopRestrict(1u, true, false, false);
this.Manager.Checkpoint("MS-OXCTABL_R833");
this.Manager.Comment("reaching state \'S46\'");
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)), temp5, "return of RopRestrict, state S46");
this.Manager.Comment("reaching state \'S48\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp6;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,True)\'");
temp6 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), true);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S50\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp6, "return of RopQueryRows, state S50");
this.Manager.Comment("reaching state \'S52\'");
bool temp7;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(456,out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckRequirementEnabled(456, out temp7);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp7);
this.Manager.Comment("reaching state \'S54\'");
int temp10 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker2)), new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker3)));
if ((temp10 == 0)) {
this.Manager.Comment("reaching state \'S56\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker1))) != -1)) {
this.Manager.Comment("reaching state \'S60\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp8;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,False)\'");
temp8 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), false);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S64\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp8, "return of RopQueryRows, state S64");
this.Manager.Comment("reaching state \'S68\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker2))) != -1)) {
this.Manager.Comment("reaching state \'S72\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker2)));
}
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker1)));
}
goto label0;
}
if ((temp10 == 1)) {
this.Manager.Comment("reaching state \'S57\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker3))) != -1)) {
this.Manager.Comment("reaching state \'S61\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp9;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,False)\'");
temp9 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), false);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S65\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp9, "return of RopQueryRows, state S65");
this.Manager.Comment("reaching state \'S69\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker4))) != -1)) {
this.Manager.Comment("reaching state \'S73\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker4)));
}
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker3)));
}
goto label0;
}
throw new InvalidOperationException("never reached");
label0:
;
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker)));
}
goto label1;
}
if ((temp11 == 1)) {
this.Manager.Comment("reaching state \'S33\'");
this.Manager.Assert(false, "reached non-accepting end state \'S33\'.");
goto label1;
}
throw new InvalidOperationException("never reached");
label1:
;
goto label4;
}
if ((temp20 == 1)) {
this.Manager.Comment("reaching state \'S25\'");
bool temp12;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(897,out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckRequirementEnabled(897, out temp12);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp12);
this.Manager.Comment("reaching state \'S29\'");
int temp19 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker6)), new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker9)));
if ((temp19 == 0)) {
this.Manager.Comment("reaching state \'S34\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker5))) != -1)) {
this.Manager.Comment("reaching state \'S41\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp13;
this.Manager.Comment("executing step \'call RopRestrict(1,True,False,False)\'");
temp13 = this.IMS_OXCTABLAdapterInstance.RopRestrict(1u, true, false, false);
this.Manager.Checkpoint("MS-OXCTABL_R833");
this.Manager.Comment("reaching state \'S47\'");
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)), temp13, "return of RopRestrict, state S47");
this.Manager.Comment("reaching state \'S49\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp14;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,True)\'");
temp14 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), true);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S51\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp14, "return of RopQueryRows, state S51");
this.Manager.Comment("reaching state \'S53\'");
bool temp15;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(456,out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckRequirementEnabled(456, out temp15);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp15);
this.Manager.Comment("reaching state \'S55\'");
int temp18 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker7)), new ExpectedReturn(S02_RowRops_Backward_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteCheckRequirementEnabledChecker8)));
if ((temp18 == 0)) {
this.Manager.Comment("reaching state \'S58\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker6))) != -1)) {
this.Manager.Comment("reaching state \'S62\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp16;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,False)\'");
temp16 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), false);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S66\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp16, "return of RopQueryRows, state S66");
this.Manager.Comment("reaching state \'S70\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker7))) != -1)) {
this.Manager.Comment("reaching state \'S74\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker7)));
}
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker6)));
}
goto label2;
}
if ((temp18 == 1)) {
this.Manager.Comment("reaching state \'S59\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker8))) != -1)) {
this.Manager.Comment("reaching state \'S63\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp17;
this.Manager.Comment("executing step \'call RopQueryRows(Advance,False)\'");
temp17 = this.IMS_OXCTABLAdapterInstance.RopQueryRows(((Microsoft.Protocols.TestSuites.Common.QueryRowsFlags)(0)), false);
this.Manager.Checkpoint("MS-OXCTABL_R835");
this.Manager.Comment("reaching state \'S67\'");
this.Manager.Comment("checking step \'return RopQueryRows/success\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp17, "return of RopQueryRows, state S67");
this.Manager.Comment("reaching state \'S71\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker9))) != -1)) {
this.Manager.Comment("reaching state \'S75\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker9)));
}
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker8)));
}
goto label2;
}
throw new InvalidOperationException("never reached");
label2:
;
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S02_RowRops_Backward_TestSuite.RopQueryRowsResponseInfo, null, new RopQueryRowsResponseDelegate1(this.MSOXCTABL_S02_RowRops_Backward_TestSuiteRopQueryRowsResponseChecker5)));
}
goto label3;
}
if ((temp19 == 1)) {
this.Manager.Comment("reaching state \'S35\'");
this.Manager.Assert(false, "reached non-accepting end state \'S35\'.");
goto label3;
}
throw new InvalidOperationException("never reached");
label3:
;
goto label4;
}
throw new InvalidOperationException("never reached");
label4:
;
goto label5;
}
throw new InvalidOperationException("never reached");
label5:
;
this.Manager.EndTest();
}