Skip to content

Commit

Permalink
Recovery of the Data Address Spacee Model #206 - added the model and …
Browse files Browse the repository at this point in the history
…unit tested, removed dependency on the UAOOI.Configuration.Networking by the Tests/DiscoveryServices.UnitTest/DataDiscovery.DiscoveryServices.UnitTest.csproj,
  • Loading branch information
mpostol committed Jul 24, 2016
1 parent e7b996d commit 9a02133
Show file tree
Hide file tree
Showing 6 changed files with 1,695 additions and 15 deletions.
Expand Up @@ -44,14 +44,6 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="UAOOI.Common.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=deede3c2df331bb0, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\UAOOI.Configuration.Networking.2.0.3-Delta\lib\net461\UAOOI.Common.Infrastructure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="UAOOI.Configuration.Networking, Version=2.0.3.25935, Culture=neutral, PublicKeyToken=deede3c2df331bb0, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\UAOOI.Configuration.Networking.2.0.3-Delta\lib\net461\UAOOI.Configuration.Networking.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<Choose>
<When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
Expand Down Expand Up @@ -82,7 +74,6 @@
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AssemblyInfo.cs</LastGenOutput>
</Content>
<None Include="packages.config" />
<None Include="TestData\DomainDescriptor.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand All @@ -96,6 +87,9 @@
<None Include="TestData\root.zone\commsvr.com\UA\Examples\BoilersSet\DomainModel.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestData\root.zone\commsvr.com\UA\Examples\BoilersSet\Commsvr.UA.Examples.BoilersSet.NodeSet2.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<Content Include="TestData\root.zone\DomainDescriptor.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down
Expand Up @@ -63,6 +63,16 @@ public void SerializeTestMethod()
Assert.IsNotNull(_newDescription);
}
}
[TestMethod]
public void TestDataFolderContentTestMethod()
{
FileInfo _fi = new FileInfo(@"TestData\root.zone\commsvr.com\UA\Examples\BoilersSet\DomainModel.xml");
Assert.IsTrue(_fi.Exists);
_fi = new FileInfo(@"TestData\root.zone\commsvr.com\UA\Examples\BoilersSet\DomainDescriptor.xml");
Assert.IsTrue(_fi.Exists);
_fi = new FileInfo(@"TestData\root.zone\commsvr.com\UA\Examples\BoilersSet\Commsvr.UA.Examples.BoilersSet.NodeSet2.xml");
Assert.IsTrue(_fi.Exists);
}
private class TypeDictionaryWitKey
{
public string Key;
Expand Down

0 comments on commit 9a02133

Please sign in to comment.