Skip to content

Commit

Permalink
NetworkIdentifier is missing in generated Model Design for DI model #629
Browse files Browse the repository at this point in the history


- fixed AddressSpaceContextImportUANodeSetNull UT
  • Loading branch information
mpostol committed Mar 12, 2022
1 parent 289b75b commit 9b6880a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netstandard2.0\UAOOI.SemanticData.UAModelDesignExport.xml</DocumentationFile>
<OutputPath>bin\Debug\netstandard2.0\</OutputPath>
<NoWarn>1701;1702,IDE0001</NoWarn>
<NoWarn>1701;1702;IDE0001</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
2 changes: 1 addition & 1 deletion SemanticData/UANodeSetValidation/AddressSpaceContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ Uri IAddressSpaceContext.ImportUANodeSet(UANodeSet model)
//TODO IAddressSpaceContext.ImportUANodeSet(System.IO.FileInfo) returned result must be tested. #626
Uri IAddressSpaceContext.ImportUANodeSet(FileInfo document)
{
m_TraceEvent.TraceData(TraceEventType.Information, 190380256, $"Entering {nameof(ImportNodeSet)} and starting model import form file {document.Name}");
if (document == null)
throw new ArgumentNullException("model", "the model cannot be null");
m_TraceEvent.TraceData(TraceEventType.Information, 190380256, $"Entering {nameof(IAddressSpaceContext.ImportUANodeSet)} and starting model import form file {document.Name}");
if (!document.Exists)
throw new FileNotFoundException("The imported file does not exist", document.FullName);
UANodeSet _nodeSet = UANodeSet.ReadModelFile(document);
Expand Down

0 comments on commit 9b6880a

Please sign in to comment.