< Summary - CoreWCF Coverage — PR #1766

Information
Class: CoreWCF.Channels.Configuration.ClassicQueueConfiguration
Assembly: CoreWCF.RabbitMQ
File(s): /home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.RabbitMQ/src/CoreWCF/Channels/Configuration/ClassicQueueConfiguration.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 18
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
AsTemporaryQueue()100%11100%

File(s)

/home/runner/work/CoreWCF/CoreWCF/src/CoreWCF.RabbitMQ/src/CoreWCF/Channels/Configuration/ClassicQueueConfiguration.cs

#LineLine coverage
 1// Licensed to the .NET Foundation under one or more agreements.
 2// The .NET Foundation licenses this file to you under the MIT license.
 3
 4using System;
 5
 6namespace CoreWCF.Channels.Configuration
 7{
 8    public class ClassicQueueConfiguration : QueueDeclareConfiguration
 9    {
 110        public override string QueueType => RabbitMqQueueType.Classic;
 11
 12        public ClassicQueueConfiguration AsTemporaryQueue()
 13        {
 114            AutoDelete = true;
 115            return this;
 16        }
 17    }
 18}

Methods/Properties

QueueType()
AsTemporaryQueue()