Esempio n. 1
0
        public void Blend()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(Blend.ObservableTrigger).Assembly));

            publicApi.ShouldMatchApproved();
        }
    public void Approve()
    {
        var publicApi = ApiGenerator.GeneratePublicApi(typeof(AzureServiceBusTransport).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

        Approver.Verify(publicApi);
    }
Esempio n. 3
0
        public void PublicClr()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(Bootstrapper).Assembly);

            Approver.Verify(publicApi);
        }
        public void Approve_Public_Api()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(StringHumanizeExtensions).Assembly));

            Approvals.Verify(publicApi);
        }
        public void Approve_API()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(IHandleResult).Assembly);

            Approvals.Verify(publicApi);
        }
    public void Approve()
    {
        var publicApi = ApiGenerator.GeneratePublicApi(typeof(WindsorBuilder).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

        Approver.Verify(publicApi);
    }
Esempio n. 7
0
        public void Approve_API()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(DispatchRetriesEndpointConfigurationExtensions).Assembly, options: null);

            Approvals.Verify(publicApi);
        }
Esempio n. 8
0
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(NHibernatePersistence).Assembly);

            TestApprover.Verify(publicApi);
        }
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(NHibernatePersistence).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

            TestApprover.Verify(publicApi);
        }
Esempio n. 10
0
        public void Approve_API()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(IMessageBroker).Assembly);

            Approvals.Verify(publicApi);
        }
Esempio n. 11
0
        public void ApproveNServiceBus()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(Endpoint).Assembly));

            TestApprover.Verify(publicApi);
        }
Esempio n. 12
0
        public void Winforms()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(ReactiveUI.Winforms.WinformsCreatesObservableForProperty).Assembly));

            publicApi.ShouldMatchApproved();
        }
Esempio n. 13
0
        public void ReactiveUI()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(RxApp).Assembly));

            publicApi.ShouldMatchApproved();
        }
Esempio n. 14
0
        public void Testing()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(Testing.TestUtils).Assembly));

            publicApi.ShouldMatchApproved();
        }
Esempio n. 15
0
        public void Approve_API()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(IInterceptRoutes).Assembly);

            Approvals.Verify(publicApi);
        }
Esempio n. 16
0
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(ConnectionFactory).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

            Approvals.Verify(publicApi);
        }
Esempio n. 17
0
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(IWriter <>).Assembly);

            Approve(publicApi);
        }
Esempio n. 18
0
        public void PublicClr()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(Particular.ServiceControl.Bootstrapper).Assembly);

            Approver.Verify(publicApi);
        }
Esempio n. 19
0
        public void IsUnchanged() =>
        AssertFile.Contains(
#if NETCOREAPP2_2
            "../../../api-netcoreapp2_2.txt",
#endif
            ApiGenerator.GeneratePublicApi(typeof(Command).Assembly).Replace(Environment.NewLine, "\r\n"));
Esempio n. 20
0
        public void ServiceControlTransport()
        {
            var serviceControlTrasportApi = ApiGenerator.GeneratePublicApi(typeof(Transports.TransportSettings).Assembly);

            Approver.Verify(serviceControlTrasportApi);
        }
Esempio n. 21
0
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(IMessageBatch).Assembly);

            Approve(publicApi);
        }
Esempio n. 22
0
        public void ApproveNServiceBus()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(HostBuilderExtensions).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

            Approver.Verify(publicApi);
        }
Esempio n. 23
0
        public void ApproveApiChanges()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(Asap2File).Assembly);

            Approvals.Verify(publicApi);
        }
Esempio n. 24
0
        string GeneratePublicApi(Assembly assembly)
        {
            var namespacePrefixWhitelist = new[] { "System", "Microsoft" };

            return(Filter(ApiGenerator.GeneratePublicApi(assembly, whitelistedNamespacePrefixes: namespacePrefixWhitelist)));
        }
        public void ApproveAzureServiceBus()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(Message).Assembly);

            Approvals.Verify(publicApi);
        }
Esempio n. 26
0
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(ServerlessEndpoint <,>).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

            Approver.Verify(publicApi);
        }
Esempio n. 27
0
 public void IsUnchanged() =>
 AssertFile.Contains(
     "../../../api.txt",
     ApiGenerator.GeneratePublicApi(typeof(Command).Assembly).Replace(Environment.NewLine, "\r\n"));
Esempio n. 28
0
        public void ReactiveUIFody()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(ReactiveAttribute).Assembly));

            publicApi.ShouldMatchApproved();
        }
Esempio n. 29
0
        public void ReactiveUI_Fody()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(ReactiveAttribute).Assembly));

            Approvals.Verify(publicApi);
        }
Esempio n. 30
0
        public void Winforms()
        {
            var publicApi = Filter(ApiGenerator.GeneratePublicApi(typeof(ReactiveUI.Winforms.WinformsCreatesObservableForProperty).Assembly));

            Approvals.Verify(publicApi);
        }