Example #1
0
        public void CurrentDomain_UnhandledExceptionTest()
        {
            object sender = null;                         // TODO: 初始化为适当的值
            UnhandledExceptionEventArgs eventArgs = null; // TODO: 初始化为适当的值

            OneServer_Accessor.CurrentDomain_UnhandledException(sender, eventArgs);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
Example #2
0
        public void Console_CancelKeyPressTest()
        {
            object sender = null;                    // TODO: 初始化为适当的值
            ConsoleCancelEventArgs eventArgs = null; // TODO: 初始化为适当的值

            OneServer_Accessor.Console_CancelKeyPress(sender, eventArgs);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
Example #3
0
        public void CurrentDomain_ProcessExitTest()
        {
            object    sender    = null; // TODO: 初始化为适当的值
            EventArgs eventArgs = null; // TODO: 初始化为适当的值

            OneServer_Accessor.CurrentDomain_ProcessExit(sender, eventArgs);
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
Example #4
0
        public void GetConsoleWindowTest()
        {
            IntPtr expected = new IntPtr(); // TODO: 初始化为适当的值
            IntPtr actual;

            actual = OneServer_Accessor.GetConsoleWindow();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #5
0
        public void InitServerScriptCompilerTest()
        {
            bool expected = false; // TODO: 初始化为适当的值
            bool actual;

            actual = OneServer_Accessor.InitServerScriptCompiler();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #6
0
        public void DrawMenuBarTest()
        {
            IntPtr hWnd     = new IntPtr(); // TODO: 初始化为适当的值
            bool   expected = false;        // TODO: 初始化为适当的值
            bool   actual;

            actual = OneServer_Accessor.DrawMenuBar(hWnd);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #7
0
        public void InsideRunServerTest()
        {
            string[] args     = null;  // TODO: 初始化为适当的值
            bool     expected = false; // TODO: 初始化为适当的值
            bool     actual;

            actual = OneServer_Accessor.InsideRunServer(args);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #8
0
        public void GetSystemMenuTest()
        {
            IntPtr hWnd     = new IntPtr(); // TODO: 初始化为适当的值
            IntPtr bRevert  = new IntPtr(); // TODO: 初始化为适当的值
            IntPtr expected = new IntPtr(); // TODO: 初始化为适当的值
            IntPtr actual;

            actual = OneServer_Accessor.GetSystemMenu(hWnd, bRevert);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #9
0
        public void RemoveMenuTest()
        {
            IntPtr hMenu    = new IntPtr(); // TODO: 初始化为适当的值
            int    iPos     = 0;            // TODO: 初始化为适当的值
            int    iFlags   = 0;            // TODO: 初始化为适当的值
            int    expected = 0;            // TODO: 初始化为适当的值
            int    actual;

            actual = OneServer_Accessor.RemoveMenu(hMenu, iPos, iFlags);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Example #10
0
 public void InitServerArgumentsDisposalTest()
 {
     string[] args = null; // TODO: 初始化为适当的值
     OneServer_Accessor.InitServerArgumentsDisposal(args);
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #11
0
 public void DisplayAscii0Test()
 {
     OneServer_Accessor.DisplayAscii0();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #12
0
 public void DisplayServerMainInfoTest()
 {
     OneServer_Accessor.DisplayServerMainInfo();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #13
0
 public void ExitProgramTest()
 {
     OneServer_Accessor.ExitProgram();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #14
0
 public void StartServerCommandlinesDisposalTest()
 {
     OneServer_Accessor.StartServerCommandlinesDisposal();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #15
0
 public void InitServerExceptionDisposalTest()
 {
     OneServer_Accessor.InitServerExceptionDisposal();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #16
0
 public void InitServerIsRunTest()
 {
     OneServer_Accessor.InitServerIsRun();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #17
0
 public void RemoveSystemCloseMenuTest()
 {
     OneServer_Accessor.RemoveSystemCloseMenu();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #18
0
 public void InitLanguageTest()
 {
     string[] args = null; // TODO: 初始化为适当的值
     OneServer_Accessor.InitLanguage(args);
     Assert.Inconclusive("无法验证不返回值的方法。");
 }
Example #19
0
 public void WaitAllRegisterThreadExitTest()
 {
     OneServer_Accessor.WaitAllRegisterThreadExit();
     Assert.Inconclusive("无法验证不返回值的方法。");
 }