コード例 #1
0
ファイル: Validation.cs プロジェクト: gbsens/Community
        public void ValidationSearchPersoneFromPresenterExecuteCommandTest()
        {
            FormPersonne f = new FormPersonne();
            PresenterPersonne2 p = new PresenterPersonne2(f);
            p.Start();
            p.ExecuteCommand("Test");

            Assert.IsNotNull(f.ViewLogics.ContextValidationMessage);
        }
コード例 #2
0
ファイル: Validation.cs プロジェクト: gbsens/Community
        public void ValidationSearchPersoneFromPresenterTest()
        {
            FormPersonne f = new FormPersonne();
            PresenterPersonne p = new PresenterPersonne(f);

            p.Start();

            //TEST les erreurs dans le l'initialisation du presenter.

            Assert.IsNotNull(f.ViewLogics.ContextValidationMessage);
        }