public void MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite() {
this.Manager.BeginTest("MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_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(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteCheckMAPIHTTPTransportSupportedChecker)), new ExpectedReturn(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteCheckMAPIHTTPTransportSupportedChecker1)));
if ((temp5 == 0)) {
this.Manager.Comment("reaching state \'S8\'");
goto label1;
}
if ((temp5 == 1)) {
this.Manager.Comment("reaching state \'S9\'");
this.Manager.Comment("executing step \'call InitializeTable(INVALID_TABLE)\'");
this.IMS_OXCTABLAdapterInstance.InitializeTable(Microsoft.Protocols.TestSuites.MS_OXCTABL.TableType.INVALID_TABLE);
this.Manager.Comment("reaching state \'S16\'");
this.Manager.Comment("checking step \'return InitializeTable\'");
this.Manager.Comment("reaching state \'S20\'");
bool temp1;
this.Manager.Comment("executing step \'call CheckRequirementEnabled(748,out _)\'");
this.IMS_OXCTABLAdapterInstance.CheckRequirementEnabled(748, out temp1);
this.Manager.AddReturn(CheckRequirementEnabledInfo, null, temp1);
this.Manager.Comment("reaching state \'S24\'");
int temp4 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteCheckRequirementEnabledChecker)), new ExpectedReturn(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.CheckRequirementEnabledInfo, null, new CheckRequirementEnabledDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteCheckRequirementEnabledChecker1)));
if ((temp4 == 0)) {
this.Manager.Comment("reaching state \'S28\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp2;
this.Manager.Comment("executing step \'call RopExpandRow(False,False,False)\'");
temp2 = this.IMS_OXCTABLAdapterInstance.RopExpandRow(false, false, false);
this.Manager.Checkpoint("MS-OXCTABL_R274");
this.Manager.Comment("reaching state \'S34\'");
this.Manager.Comment("checking step \'return RopExpandRow/ecNotSupported\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues.ecNotSupported, temp2, "return of RopExpandRow, state S34");
this.Manager.Comment("reaching state \'S38\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.RopExpandRowResponseInfo, null, new RopExpandRowResponseDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteRopExpandRowResponseChecker))) != -1)) {
this.Manager.Comment("reaching state \'S42\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.RopExpandRowResponseInfo, null, new RopExpandRowResponseDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteRopExpandRowResponseChecker)));
}
goto label0;
}
if ((temp4 == 1)) {
this.Manager.Comment("reaching state \'S29\'");
Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp3;
this.Manager.Comment("executing step \'call RopExpandRow(False,False,False)\'");
temp3 = this.IMS_OXCTABLAdapterInstance.RopExpandRow(false, false, false);
this.Manager.Checkpoint("MS-OXCTABL_R274");
this.Manager.Comment("reaching state \'S35\'");
this.Manager.Comment("checking step \'return RopExpandRow/ecNotSupported\'");
TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues.ecNotSupported, temp3, "return of RopExpandRow, state S35");
this.Manager.Comment("reaching state \'S39\'");
if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.RopExpandRowResponseInfo, null, new RopExpandRowResponseDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteRopExpandRowResponseChecker1))) != -1)) {
this.Manager.Comment("reaching state \'S43\'");
}
else {
this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuite.RopExpandRowResponseInfo, null, new RopExpandRowResponseDelegate1(this.MSOXCTABL_S04_ExpandRowRops_CollapseorExpandRowNotSupported_TestSuiteRopExpandRowResponseChecker1)));
}
goto label0;
}
throw new InvalidOperationException("never reached");
label0:
;
goto label1;
}
throw new InvalidOperationException("never reached");
label1:
;
this.Manager.EndTest();
}