コード例 #1
0
        public void EmptyConversationWindowModelTest()
        {
            ConversationWindowModel model = new ConversationWindowModel(new MockDisplayOptions(), new MockPhoneSelectOptions());

            VerifyDefaultConversationModelSettings(model);
            TextConversationStatisticsTest.VerifyStatisticsAllZero(model.ConversationStatistics);
        }
コード例 #2
0
        private ConversationWindowModel GetPopulatedConversationWindowModel()
        {
            IDisplayOptions displayOptions = new MockDisplayOptions();
            IPhoneSelectOptions phoneSelectOptions = new MockPhoneSelectOptions();
            ConversationWindowModel model = new ConversationWindowModel(displayOptions, phoneSelectOptions);
            IConversationManager conversationManager = GetConversationManager(displayOptions);
            model.ConversationManager = conversationManager;

            return model;
        }
コード例 #3
0
        private ConversationWindowModel GetEmptyPopulatedConversationWindowModel()
        {
            IDisplayOptions displayOptions = new MockDisplayOptions();
            IPhoneSelectOptions phoneSelectOptions = new MockPhoneSelectOptions();
            ConversationWindowModel model = new ConversationWindowModel(displayOptions, phoneSelectOptions);
            model.ConversationManager = DummyConversationDataGenerator.GetConversationManagerEmpty();

            return model;
        }