public void Test_ProfileBuilderFactory_NewProfileLiftBuilder_SummaryVolume() { var factory = new ProfilerBuilderFactory <SummaryVolumeProfileCell>(); Assert.True(factory.NewCellProfileAnalyzer(ProfileStyle.SummaryVolume, new SiteModel(Guid.NewGuid(), StorageMutability.Immutable), null, new FilterSet(new CombinedFilter()), null, null, VolumeComputationType.Between2Filters, null, null) != null, "Failed to construct new profile lift builder"); }
public void Test_ProfileBuilderFactory_NewProfileLiftBuilder_FailWithInvalidProfileCellType() { var factory = new ProfilerBuilderFactory <ProfileCell>(); Action act = () => factory.NewCellProfileAnalyzer((ProfileStyle)100, new SiteModel(Guid.NewGuid(), StorageMutability.Immutable), null, new FilterSet(new CombinedFilter()), null, null, VolumeComputationType.None, null, null); act.Should().Throw <ArgumentOutOfRangeException>(); }
public void Test_ProfileBuilderFactory_NewCellLiftBuilder() { var factory = new ProfilerBuilderFactory <ProfileCell>(); Assert.True(factory.NewCellLiftBuilder(null, GridDataType.All, null, null, null) != null, "Failed to construct new cell lift builder"); }
public void Test_ProfileBuilderFactory_NewCellProfileBuilder() { var factory = new ProfilerBuilderFactory <ProfileCell>(); Assert.True(factory.NewCellProfileBuilder(null, null, null, true) != null, "Failed to construct new cell profile builder"); }
public void Test_ProfileBuilderFactory_Creation() { var factory = new ProfilerBuilderFactory <ProfileCell>(); Assert.NotNull(factory); }