예제 #1
0
        protected override void OnContinue()
        {
            if (_invalid_state)
            {
                return;
            }

            if (_control == null)
            {
                WriteLog(
                    "Cannot control VMX currently.", EventLogEntryType.Error);
                return;
            }


            if (!_control.ContinueVMX(_vmx_file))
            {
                WriteLog(
                    "Continuing specified vmx was failed.\n" +
                    "vmx file is '{0}'.", EventLogEntryType.Error, _vmx_file);
            }
            else
            {
                WriteLog(
                    "Continuing specified vmx was finished successfully.\n" +
                    "vmx file is '{0}'.", EventLogEntryType.Information);
            }
        }
예제 #2
0
        public void ContinueVMXTest()
        {
            IVMController target   = CreateIVMController();
            bool          expected = true;
            bool          actual;

            actual = target.ContinueVMX(vmx);
            Assert.AreEqual(expected, actual);
            //Assert.Inconclusive("このテストメソッドの正確性を確認します。");
        }