public MainWindow() { Trace.Listeners.Add(new ConsoleTraceListener()); InitializeComponent(); onExtendedDesktop(); ClientFactory.kernel.Unbind<HttpHistoryProvider>(); ClientFactory.kernel.Bind<HttpHistoryProvider>().To<LiveHttpHistoryProvider>().InSingletonScope(); conn = ClientFactory.Connection(MeTLServerAddress.serverMode.PRODUCTION); conn.events.StatusChanged += new MeTLLibEventHandlers.StatusChangedEventHandler(events_StatusChanged); conn.Connect("chagan", "vidcajun2"); }
public void ConnectTest() { ClientConnection target = new ClientConnection(); // TODO: Initialize to an appropriate value string username = string.Empty; // TODO: Initialize to an appropriate value string password = string.Empty; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.Connect(username, password); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }