Skip to content

Commit

Permalink
Fixed Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllabar committed Apr 4, 2023
1 parent e4a53a7 commit f20e730
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"addNewFilesToProject": true,
"addOptionSetMetadataAttribute": true,
"builderSettingsJsonRelativePath": "builderSettings.json",
"camelCaseClassNames": false,
"camelCaseMemberNames": false,
"camelCaseClassNames": true,
"camelCaseMemberNames": true,
"camelCaseNamesDictionaryRelativePath": "DLaB.EarlyBoundGeneratorV2\\DLaB.Dictionary.txt",
"cleanupCrmSvcUtilLocalOptionSets": false,
"createOneFilePerMessage": false,
"createOneFilePerEntity": false,
"createOneFilePerOptionSet": false,
"createOneFilePerMessage": true,
"createOneFilePerEntity": true,
"createOneFilePerOptionSet": true,
"deleteFilesFromOutputFolders": false,
"generateMessageAttributeNameConsts": false,
"generateAttributeNameConsts": false,
"generateMessageAttributeNameConsts": true,
"generateAttributeNameConsts": true,
"generateAnonymousTypeConstructor": true,
"generateConstructorsSansLogicalName": false,
"generateConstructorsSansLogicalName": true,
"generateEntityRelationships": true,
"generateEntityTypeCode": false,
"generateOptionSetProperties": false,
Expand All @@ -31,7 +31,7 @@
"invalidCSharpNamePrefix": "_",
"makeAllFieldsEditable": false,
"makeReadonlyFieldsEditable": false,
"makeResponseMessagesEditable": false,
"makeResponseMessagesEditable": true,
"localOptionSetFormat": "{0}_{1}",
"readSerializedMetadata": false,
"removeRuntimeVersionComment": true,
Expand Down Expand Up @@ -82,7 +82,16 @@
"useTfsToCheckoutFiles": false,
"waitForAttachedDebugger": false
},
"emitFieldsClasses": false,
"emitFieldsClasses": true,
"entityNamesFilter": [
"activityparty",
"activitypointer",
"businessunit",
"contact",
"email",
"systemuser",
"transactioncurrency"
],
"entityTypesFolder": "Entities",
"generateActions": true,
"generateGlobalOptionSets": false,
Expand Down
6 changes: 3 additions & 3 deletions DLaB.EarlyBoundGeneratorV2.Logic/Settings/ExtensionConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public void WriteDLaBModelBuilderProperties(Utf8JsonWriter writer, EarlyBoundGen
writer.AddProperty(nameof(CreateOneFilePerOptionSet), CreateOneFilePerOptionSet);
writer.AddProperty(nameof(DeleteFilesFromOutputFolders), DeleteFilesFromOutputFolders);
writer.AddPropertyDictionaryStringHashString(nameof(EntityAttributeSpecifiedNames), EntityAttributeSpecifiedNames, false);
AddOptionalProperty("EntitiesFileName", settings.EntityTypesFolder, CreateOneFilePerEntity);
AddOptionalProperty("EntitiesFileName", settings.EntityTypesFolder, !CreateOneFilePerEntity);
writer.AddPropertyArray("EntityBlacklist", EntitiesToSkip);
writer.AddPropertyArray("EntityRegExBlacklist", EntityPrefixesToSkip);
writer.AddProperty(nameof(FilePrefixText), FilePrefixText, true);
Expand All @@ -431,9 +431,9 @@ public void WriteDLaBModelBuilderProperties(Utf8JsonWriter writer, EarlyBoundGen
writer.AddProperty(nameof(MakeReadonlyFieldsEditable), MakeReadonlyFieldsEditable);
writer.AddProperty(AsMessage(nameof(MakeResponseActionsEditable)), MakeResponseActionsEditable);
writer.AddPropertyArray("MessageBlacklist", ActionsToSkip?.Replace("-", ""));
AddOptionalProperty("MessagesFileName", settings.MessageTypesFolder, CreateOneFilePerAction);
AddOptionalProperty("MessagesFileName", settings.MessageTypesFolder, !CreateOneFilePerAction);
writer.AddProperty(nameof(LocalOptionSetFormat), LocalOptionSetFormat);
AddOptionalProperty("OptionSetsFileName", settings.OptionSetsTypesFolder, CreateOneFilePerOptionSet);
AddOptionalProperty("OptionSetsFileName", settings.OptionSetsTypesFolder, !CreateOneFilePerOptionSet);
writer.AddProperty(nameof(OptionSetLanguageCodeOverride), OptionSetLanguageCodeOverride?.ToString());
writer.AddPropertyDictionaryStringString(nameof(OptionSetNames), OptionSetNames);
writer.AddProperty(nameof(ProjectNameForEarlyBoundFiles), ProjectNameForEarlyBoundFiles ?? string.Empty);
Expand Down

0 comments on commit f20e730

Please sign in to comment.