< Summary

Information
Class: ValidateLib.Metadata.Descriptors.NoteDescriptor
Assembly: validatelib.dll
File(s): C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\Metadata\Descriptors\NoteDescriptor.cs
Line coverage
25%
Covered lines: 1
Uncovered lines: 3
Coverable lines: 4
Total lines: 27
Line coverage: 25%
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
Normalize(...)02
GetParser(...)02
GetPropertyParser(...)02

File(s)

C:\skola_karlovka\RP\code\csv-validator\CSV_Validator\ValidateLib\Metadata\Descriptors\NoteDescriptor.cs

#LineLine coverage
 1using Newtonsoft.Json.Linq;
 2using ValidateLib.ErrorsAndWarnings.Warnings;
 3using ValidateLib.Metadata.Descriptors.Interfaces;
 4using ValidateLib.Metadata.Parsers;
 5using ValidateLib.Metadata.Properties;
 6using ValidateLib.Metadata.PropertyParsers;
 7
 8namespace ValidateLib.Metadata.Descriptors
 9{
 10
 11    public class NoteDescriptor : DescriptorBase, INormalize, Interfaces.IParsable<NoteDescriptor>
 12    {
 113        public CommonProperty? Note { get; set; }
 14
 15        public static List<Warning> Normalize(JToken token, Context context, JProperty? property = null)
 16        {
 017            return CommonProperty.Normalize(token, context, property);
 18        }
 19
 020        public static IParser<NoteDescriptor> GetParser(List<Warning> warnings, NoteDescriptor? descriptor = null) => ne
 21
 22        public IPropertyParserBase? GetPropertyParser(JProperty property, List<Warning> warnings)
 23        {
 024            throw new NotImplementedException();
 25        }
 26    }
 27}