public async Task TestMethod1()
        {
            var parser = new OfflineDataProvider();
            await parser.InitializeDataProviderAsync(null);

            var results = await parser.Process("2020-10-03.txt", new CancellationToken(), new MessageHandlerForTesting());

            Assert.IsTrue(results.Count() == 61);
        }
Beispiel #2
0
        public async Task TestMethod2()
        {
            var parser = new OfflineDataProvider();
            await parser.InitializeDataProviderAsync(null);

            var results = await parser.Process("1_build (Debug).txt", new CancellationToken(), new MessageHandlerForTesting());

            Assert.IsTrue(Enumerable.Count <AnalogyLogMessage>(results) == 4532);
        }