Microsoft.Protocols.TestSuites.MS_OXCTABL.S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite.MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1 C# (CSharp) Method

MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1() private method

        public void MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1() {
            this.Manager.BeginTest("MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1");
            this.Manager.Comment("reaching state \'S2\'");
            bool temp11;
            this.Manager.Comment("executing step \'call CheckMAPIHTTPTransportSupported(out _)\'");
            this.IMS_OXCTABLAdapterInstance.CheckMAPIHTTPTransportSupported(out temp11);
            this.Manager.AddReturn(CheckMAPIHTTPTransportSupportedInfo, null, temp11);
            this.Manager.Comment("reaching state \'S3\'");
            int temp15 = this.Manager.ExpectReturn(this.QuiescenceTimeout, true, new ExpectedReturn(S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1CheckMAPIHTTPTransportSupportedChecker)), new ExpectedReturn(S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite.CheckMAPIHTTPTransportSupportedInfo, null, new CheckMAPIHTTPTransportSupportedDelegate1(this.MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1CheckMAPIHTTPTransportSupportedChecker1)));
            if ((temp15 == 0)) {
                this.Manager.Comment("reaching state \'S6\'");
                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 \'S9\'");
                this.Manager.Comment("checking step \'return InitializeTable\'");
                this.Manager.Comment("reaching state \'S11\'");
                Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp12;
                this.Manager.Comment("executing step \'call RopSetColumns(1,False,False,False)\'");
                temp12 = 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 \'S13\'");
                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)), temp12, "return of RopSetColumns, state S13");
                this.Manager.Comment("reaching state \'S15\'");
                Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp13;
                this.Manager.Comment("executing step \'call RopCreateBookmark()\'");
                temp13 = this.IMS_OXCTABLAdapterInstance.RopCreateBookmark();
                this.Manager.Checkpoint("MS-OXCTABL_R857");
                this.Manager.Comment("reaching state \'S17\'");
                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)), temp13, "return of RopCreateBookmark, state S17");
                this.Manager.Comment("reaching state \'S19\'");
                Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues temp14;
                this.Manager.Comment("executing step \'call RopSeekRowBookmark(True,True,True)\'");
                temp14 = this.IMS_OXCTABLAdapterInstance.RopSeekRowBookmark(true, true, true);
                this.Manager.Checkpoint("MS-OXCTABL_R852");
                this.Manager.Checkpoint("MS-OXCTABL_R504");
                this.Manager.Checkpoint("MS-OXCTABL_R522");
                this.Manager.Comment("reaching state \'S23\'");
                this.Manager.Comment("checking step \'return RopSeekRowBookmark/success\'");
                TestManagerHelpers.AssertAreEqual<Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues>(this.Manager, ((Microsoft.Protocols.TestSuites.MS_OXCTABL.TableRopReturnValues)(0)), temp14, "return of RopSeekRowBookmark, state S23");
                this.Manager.Comment("reaching state \'S27\'");
                if ((this.Manager.ExpectEvent(this.QuiescenceTimeout, true, new ExpectedEvent(S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite.RopSeekRowBookmarkResponseInfo, null, new RopSeekRowBookmarkResponseDelegate1(this.MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1RopSeekRowBookmarkResponseChecker))) != -1)) {
                    this.Manager.Comment("reaching state \'S31\'");
                }
                else {
                    this.Manager.CheckObservationTimeout(false, new ExpectedEvent(S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite.RopSeekRowBookmarkResponseInfo, null, new RopSeekRowBookmarkResponseDelegate1(this.MSOXCTABL_S03_BookmarkRops_SeekRowBookMarkSuccess_TestSuite1RopSeekRowBookmarkResponseChecker)));
                }
                goto label2;
            }
            if ((temp15 == 1)) {
                this.Manager.Comment("reaching state \'S7\'");
                goto label2;
            }
            throw new InvalidOperationException("never reached");
        label2:
;
            this.Manager.EndTest();
        }