Beispiel #1
0
        public void Resulttest()
        {
            var ListViewController = new ListViewController();

            try {
                var form        = new Form();
                var groupBox    = new CxFlatGroupBox();
                var groupButton = new CxFlatButton();
                groupBox.Controls.Add(groupButton);
                form.Controls.Add(groupBox);
                ListViewController.CheckShouldEnableSubmitButton(form);
                ListViewController.AddSelectedOptionForAnswer(groupButton, new EventArgs());
            } catch (Exception ex) {
                throw ex;
            }

            Assert.IsInstanceOfType(ListViewController, typeof(ListViewController));

            if (ListViewController != null)
            {
                Assert.IsInstanceOfType(ListViewController, typeof(ListViewController));
            }
        }