public void TestMain01() { StaticAccessor programAccessor = ReflectionAccessor.Wrap(typeof(Program)); //Test Procedure Call programAccessor.Call("Main"); }
public void TestCreateWin32EventAndSetLogFile02() { //todo:stub: hEvent = OpenEvent(0x1F0003, false, eventName) hEvent!=IntPtr.Zero //todo:stub: CloseHandle do nothing StaticAccessor programAccessor = ReflectionAccessor.Wrap(typeof(Program)); string str = (string)programAccessor.Call("CreateWin32EventAndSetLogFile"); }
public void TestMain01() { string[] args = new string[1]; args[0] = "view-0"; StaticAccessor programAccessor = ReflectionAccessor.Wrap(typeof(Program)); programAccessor.Call("Main", args); //timeout }
public void TestMessageBeep02() { uint type = 0; StaticAccessor messageBoxFormAccessor = ReflectionAccessor.Wrap(typeof(MessageBoxForm)); bool b = (bool)messageBoxFormAccessor.Call("MessageBeep", type); }
public void TestCreateWin32EventAndSetLogFile03() { //stub:LogHelper.setLogFile throw exception StaticAccessor programAccessor = ReflectionAccessor.Wrap(typeof(Program)); string str = (string)programAccessor.Call("CreateWin32EventAndSetLogFile"); }
public void TestCreateWin32EventAndSetLogFile01() { StaticAccessor programAccessor = ReflectionAccessor.Wrap(typeof(Program)); string str = (string)programAccessor.Call("CreateWin32EventAndSetLogFile"); }