< Summary

Information
Class: ValidateLib.ErrorsAndWarnings.Warnings.SpecificWarnings.ReferencedCOlumnDoesNotExistWarning
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\ErrorsAndWarnings\Warnings\SpecificWarnings\ReferencedCOlumnDoesNotExistWarning.cs
Line coverage
40%
Covered lines: 4
Uncovered lines: 6
Coverable lines: 10
Total lines: 25
Line coverage: 40%
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

MethodBlocks covered Blocks not covered
ReferencedCOlumnDoesNotExistWarning(...)20
GetMessage(...)02

File(s)

C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\ErrorsAndWarnings\Warnings\SpecificWarnings\ReferencedCOlumnDoesNotExistWarning.cs

#LineLine coverage
 1using System.Globalization;
 2
 3namespace ValidateLib.ErrorsAndWarnings.Warnings.SpecificWarnings
 4{
 5    public class ReferencedCOlumnDoesNotExistWarning : Warning
 6    {
 7        string _propertyValue;
 8        string _propertyName;
 19        public ReferencedCOlumnDoesNotExistWarning(string propertyValue, string propertyName)
 10        {
 111            _propertyValue = propertyValue;
 112            _propertyName = propertyName;
 113        }
 14
 15        public override string GetMessage(CultureInfo cultureInfo)
 16        {
 017            return GetMessageWithParams(
 018                nameof(ReferencedCOlumnDoesNotExistWarning),
 019                cultureInfo,
 020                _propertyName,
 021                _propertyValue
 022                );
 23        }
 24    }
 25}