public void RetrieveUsers() { TestUsersListView usersListView = new TestUsersListView(); UsersListController controller = new UsersListController( new ConsoleResponsiveHelper(ConcurrencyMode.Modal), usersListView); controller.RetrieveGroups(); Assert.IsTrue(true, "No Exceptions"); }
public static void Start() { Form1 usersListView = new Form1(); UsersListController controller = new UsersListController( new WinFormsResponsiveHelper(ConcurrencyMode.Modal), usersListView); controller.RetrieveGroups(); Application.Run(usersListView); }
public void SelectGroup() { TestUsersListView usersListView = new TestUsersListView(); UsersListController controller = new UsersListController( new ConsoleResponsiveHelper(ConcurrencyMode.Modal), usersListView); controller.RetrieveGroups(); usersListView.SelectedGroup = usersListView.SharedData.Groups[1]; controller.OnGroupSelectionChanged(usersListView.SelectedGroup); Assert.IsTrue(true, "No Exceptions"); }
public static void startFirstController() { // Gtk version: UsersListView view = new UsersListView(); UsersListController controller = new UsersListController(new GtkResponsiveHelper(ConcurrencyMode.Modal), view); controller.RetrieveGroups(); MainWindow win = new MainWindow (); win.Add((Gtk.Widget)view); win.Show (); win.ReshowWithInitialSize(); win.Child.ShowAll(); }