Exemplo n.º 1
0
        public void TestAddGroup1()
        {
            var settings = new DataSourceSettings();

            using (var dataSources = new Tailviewer.BusinessLogic.DataSources.DataSources(_logSourceFactory, _scheduler, _filesystem, settings, _bookmarks.Object))
            {
                MergedDataSource group = dataSources.AddGroup();
                group.Should().NotBeNull();
                group.Settings.Should().NotBeNull();
                settings.Should().Equal(group.Settings);
            }
        }
Exemplo n.º 2
0
        public void TestAddGroup1()
        {
            var settings = new Tailviewer.Settings.DataSources();

            using (var dataSources = new Tailviewer.BusinessLogic.DataSources.DataSources(_logFileFactory, _scheduler, settings))
            {
                MergedDataSource group = dataSources.AddGroup();
                group.Should().NotBeNull();
                group.Settings.Should().NotBeNull();
                settings.Should().Equal(group.Settings);
            }
        }