コード例 #1
0
        public void TestLoadDialogPasswordField()
        {
            var saveView = new SteLoadDialog(_controlFactory);

            saveView.Password.Text = "secret1234";
            var content = saveView.Password.Text;

            Assert.Equal("secret1234", content);
        }
コード例 #2
0
        public void TestLoadDialogFilenameField()
        {
            var saveView = new SteLoadDialog(_controlFactory);

            saveView.Filename.Text = "datei";
            var content = saveView.Filename.Text;

            Assert.Equal("datei", content);
        }