Example #1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            TestExpectationsGenerator.GenerateExpectations(this, TestTable.Rows, "~/MultiplePostbackCatching/SutForm.aspx");
            HtmlHeadAppender.Current.SetTitle(TestExpectationsGenerator.GetTestCaseUrlParameter(this) ?? "All Multiple Postback Catcher Tests");
        }
        public static void GenerateExpectations(Page testPage, TableRowCollection rows, string sutPage)
        {
            TestExpectationsGenerator testExpectationsGenerator = new TestExpectationsGenerator(testPage, sutPage);

            rows.AddRange(testExpectationsGenerator.CreateExpectations(TestExpectationsGenerator.GetTestCaseUrlParameter(testPage)));
        }