Ejemplo n.º 1
0
        public void RemoveExcessFilenameTest()
        {
            MapBrowserForm browser = new MapBrowserForm();
            String         removed = browser.RemoveExcessFilename("C:\\cygwin64\\home\\Austin\\SEProject\\Minesweeper\\Minesweeper\\Minesweeper\\bin\\Debug\\HeckinFileM8.map");

            Assert.AreEqual(removed, "HeckinFileM8");
        }
Ejemplo n.º 2
0
        public void PopulateOnlineListTest()
        {
            MapBrowserForm browser = new MapBrowserForm();

            browser.Show();
            Assert.IsTrue(0 < browser.getOnlineMapsList().Items.Count);
            browser.Hide();
        }
Ejemplo n.º 3
0
        public void ReadOnlineFilesTest()
        {
            MapBrowserForm browser = new MapBrowserForm();

            browser.Show();
            Assert.IsTrue(0 < browser.OnlineFiles.Count);
            browser.Hide();
        }
Ejemplo n.º 4
0
        public void DownloadButton_ClickTest()
        {
            MapBrowserForm browser = new MapBrowserForm();

            browser.Show();
            bool test = browser.testDownload();

            Assert.AreEqual(true, test);
        }