/// <summary> /// Static entry point for server host application. /// </summary> /// <param name="args"></param> static void Main(string[] args) { //Enable visual style for app. Application.EnableVisualStyles(); //Gets instance of login instanceOfLogin = new LogIn(); ///Starts Login page which will determine user. Application.Run(instanceOfLogin); //Starts server application with user details. Application.Run(new ServerStart(instanceOfLogin.GetUserWhichIsStartedServer(), instanceOfLogin.GetUserSystemInformationOfUserWhichStarted())); }
public void LogInConstructorTest() { LogIn target = new LogIn(); //If login constructor is not null, then object is constructed. Assert.IsNotNull(target); }
public void GetUserWhichIsStartedServerTest() { LogIn target = new LogIn(); // TODO: Initialize to an appropriate value UserDto expected = null; // TODO: Initialize to an appropriate value UserDto actual; actual = target.GetUserWhichIsStartedServer(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }