Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public void PublicApiHelpers_GetPublicApiSurfaceReport_FluentAssertions()
        {
            var report = PublicApiHelpers.GetPublicApiSurfaceReport("FluentAssertions.dll");

            report.Should().NotBeNullOrWhiteSpace();
        }
Exemplo n.º 3
0
        public void PublicApiHelpers_GetPublicApiSurfaceReport_UnknownAssembly()
        {
            var report = PublicApiHelpers.GetPublicApiSurfaceReport("Azkaban.dll");

            report.Should().BeNullOrWhiteSpace();
        }
Exemplo n.º 4
0
        public void PublicApiHelpers_GetPublicApiSurfaceReport_Breakdance()
        {
            var report = PublicApiHelpers.GetPublicApiSurfaceReport("CloudNimble.Breakdance.Assemblies.dll");

            report.Should().NotBeNullOrWhiteSpace();
        }