public void PublicApiHelpers_GenerateTypeDefinitionsForAssembly_Breakdance() { var definitions = PublicApiHelpers.GenerateTypeDefinitionsForAssembly("CloudNimble.Breakdance.Assemblies.dll"); definitions.Should().NotBeNullOrEmpty(); definitions.Should().HaveCount(22); }
public void PublicApiHelpers_GenerateMemberDefinitions_SomeStaticClass() { var type = typeof(SomeStaticClass); var classResult = PublicApiHelpers.GenerateMemberDefinitions(type); classResult.Should().NotBeNullOrEmpty(); }
public void WritePublicApiManifest(string path) { var report = PublicApiHelpers.GetPublicApiSurfaceReport("CloudNimble.Breakdance.Assemblies.dll"); var fullPath = Path.Combine(path, "Baselines//CloudNimble.Breakdance.Assemblies.txt"); if (!Directory.Exists(Path.GetDirectoryName(fullPath))) { Directory.CreateDirectory(Path.GetDirectoryName(fullPath)); } File.WriteAllText(fullPath, report); }
public void PublicApiHelpers_GetPublicApiSurfaceReport_UnknownAssembly() { var report = PublicApiHelpers.GetPublicApiSurfaceReport("Azkaban.dll"); report.Should().BeNullOrWhiteSpace(); }
public void PublicApiHelpers_GetPublicApiSurfaceReport_FluentAssertions() { var report = PublicApiHelpers.GetPublicApiSurfaceReport("FluentAssertions.dll"); report.Should().NotBeNullOrWhiteSpace(); }
public void PublicApiHelpers_GetPublicApiSurfaceReport_Breakdance() { var report = PublicApiHelpers.GetPublicApiSurfaceReport("CloudNimble.Breakdance.Assemblies.dll"); report.Should().NotBeNullOrWhiteSpace(); }