Beispiel #1
0
 public ShowConversation()
 {
     HomeView = Create.TestObjectFor<HomeView>();
     StatusPresenter = PresenterFactory.NewStatusPresenter(Create.TestObjectFor<UpdateStatusView>());
     ConvoPresenter = PresenterFactory.NewHomePresenter(HomeView);
     ConvoPresenter.Load();
 }
Beispiel #2
0
        public TweetingPhotos()
        {
            Domain.Settings.PhotoService = "yfrog";
            Domain.Settings.PhotoService = "twitpic";

            UpdateStatusView = Create.TestObjectFor<UpdateStatusView>();
            UpdateStatusView.UpdateText = "prefix  suffix";
            Given.That(UpdateStatusView).CursorPos.Is("prefix ".Length);

            UpdateStatusPresenter = PresenterFactory.NewStatusPresenter(UpdateStatusView);
        }
Beispiel #3
0
 public UpdateStatus()
 {
     UpdateStatusView = Create.TestObjectFor<UpdateStatusView>();
     UpdateStatusPresenter = PresenterFactory.NewStatusPresenter(UpdateStatusView);
     TweetService = UpdateStatusPresenter.TweetService;
 }
Beispiel #4
0
 public ShorteningUrls()
 {
     Domain.Settings.UrlShrinker = "u.nu";
     UpdateStatusView = Create.TestObjectFor<UpdateStatusView>();
     UpdateStatusPresenter = PresenterFactory.NewStatusPresenter(UpdateStatusView);
 }