示例#1
0
        public void testSaveLoadRunInfo()
        {
            var gui = initializeWorkingGui();

            gui.wait(gui.runComplete);
            const string name = "imarun";

            gui.setName(name);
            gui.saveSettings();
            var gui2 = new FakeResearchGUI();

            gui2.setName(name);
            gui2.loadSettings();
            AreEqual(gui, gui2);
            gui2.loadSettings();
            AreEqual(gui, gui2);
        }