Exemplo 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);
    }
Exemplo n.º 3
0
        public void PublicClr()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(Bootstrapper).Assembly);

            Approver.Verify(publicApi);
        }
Exemplo n.º 4
0
        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);
    }
Exemplo n.º 7
0
        public void Approve_API()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(DispatchRetriesEndpointConfigurationExtensions).Assembly, options: null);

            Approvals.Verify(publicApi);
        }
Exemplo 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);
        }
Exemplo n.º 10
0
        public void Approve_API()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(IMessageBroker).Assembly);

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

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

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

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

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

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

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

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

            Approver.Verify(publicApi);
        }
Exemplo 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"));
Exemplo n.º 20
0
        public void ServiceControlTransport()
        {
            var serviceControlTrasportApi = ApiGenerator.GeneratePublicApi(typeof(Transports.TransportSettings).Assembly);

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

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

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

            Approvals.Verify(publicApi);
        }
Exemplo 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);
        }
Exemplo n.º 26
0
        public void Approve()
        {
            var publicApi = ApiGenerator.GeneratePublicApi(typeof(ServerlessEndpoint <,>).Assembly, excludeAttributes: new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" });

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

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

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

            Approvals.Verify(publicApi);
        }