コード例 #1
0
 public void ValidateTemplateFieldNamesAreNovel_WhenThereAreFieldsWithIdenticalNames_ReturnFalse([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata template, IReadOnlyDictionary <Guid, TemplateCodeGenerationMetadata> allTemplatesIndex)
 {
     sut.Public_ValidateTemplateFieldNamesAreNovel(template, allTemplatesIndex).Should().BeFalse();
 }
コード例 #2
0
 public void ValidateTemplateHasNoFieldsIdenticalToTemplateName_WhenItDoesnt_ReturnTrue([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata template)
 {
     sut.Public_ValidateTemplateHasNoFieldsIdenticalToTemplateName(template).Should().BeTrue();
 }
コード例 #3
0
 public void ValidateTemplateHasNoFieldsIdenticalToTemplateName_WhenItDoes_ReturnFalse([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata template)
 {
     sut.ForceFieldNameToMatchTemplateName = true;
     sut.Public_ValidateTemplateHasNoFieldsIdenticalToTemplateName(template).Should().BeFalse();
 }
コード例 #4
0
 public void ValidateTemplateNamesAreNovel_WhenThereAreNoDuplicateTemplateNames_ReturnTrue([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata[] allTemplates)
 {
     sut.Public_ValidateTemplateNamesAreNovel(allTemplates).Should().BeTrue();
 }