Пример #1
0
        public void WriteReportWithLongNameTableWithoutEnvironment()
        {
            PerfLabEnvironmentProviderMock environment = new NonPerfLabEnvironmentProviderMock();
            var reporter = GetReporterWithSpecifiedEnvironment(environment, counterName: "ThisIsALongerCounterName");
            var table    = reporter.WriteResultTable();

            Assert.Equal(longCounterNameTable, table);
        }
Пример #2
0
        public void WriteReportWithLongResultTableWithoutEnvironment()
        {
            PerfLabEnvironmentProviderMock environment = new NonPerfLabEnvironmentProviderMock();
            var reporter = GetReporterWithSpecifiedEnvironment(environment, result: 10000000000000000);
            var table    = reporter.WriteResultTable();

            Assert.Equal(longResultTable, table);
        }
Пример #3
0
        public void WriteReportTableWithoutEnvironment()
        {
            PerfLabEnvironmentProviderMock environment = new NonPerfLabEnvironmentProviderMock();
            var reporter = GetReporterWithSpecifiedEnvironment(environment);
            var table    = reporter.WriteResultTable();

            Assert.Equal(expectedTestTable, table);
        }