/// <summary> /// Creates a set of metadata document test descriptors. /// </summary> /// <param name="settings">The test descriptor settings to use.</param> /// <returns>List of test descriptors with metadata documents as payload.</returns> public static IEnumerable<MetadataWriterTestDescriptor> CreateMetadataDocumentWriterDescriptors(MetadataWriterTestDescriptor.Settings settings) { return TestModels.CreateModels().Select(m => new MetadataWriterTestDescriptor(settings) { EdmVersion = EdmVersion.Latest, Model = m, }); }
/// <summary> /// Copy constructor. /// </summary> /// <param name="other">The <see cref="MetadataWriterTestDescriptor"/> payload test descriptor to copy</param> public MetadataWriterTestDescriptor(MetadataWriterTestDescriptor other) : base(other) { this.settings = other.settings; this.EdmVersion = other.EdmVersion; }