Skip to content

Commit

Permalink
test:测试xml转DataSet
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhuachao committed Mar 27, 2019
1 parent 40e0ca2 commit 78f6b03
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DotNet.Test/DotNet.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Web" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SendSmsHelperTest.cs" />
<Compile Include="RestSharpTest.cs" />
<Compile Include="XMLHelperTest.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
Expand Down
16 changes: 16 additions & 0 deletions DotNet.Test/XMLHelperTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DotNet.Common;

namespace DotNet.Test
{
[TestClass]
public class XMLHelperTest
{
[TestMethod]
public void TestXMLToDataSet()
{
var ds = DataTableHelper.XMLToDataSet("c:/BOM.xml");
}
}
}

0 comments on commit 78f6b03

Please sign in to comment.