コード例 #1
0
ファイル: TestDynamicDataSet.cs プロジェクト: coapp/Test
 public void TestDynamicDataSetConstructor()
 {
     try
     {
         DynamicDataSet target = new DynamicDataSet(dataSet);
         Assert.IsTrue(true);
     }
     catch
     { Assert.Fail("Failed to construct DynamicDataSet"); }
 }
コード例 #2
0
ファイル: TestDynamicDataSet.cs プロジェクト: coapp/Test
 public void TestItem()
 {
     DynamicDataSet target = new DynamicDataSet(dataSet); // TODO: Initialize to an appropriate value
     string propertyName = "MyName";
     string expected = "Put Stuff Here";
     string actual;
     actual = target[propertyName];
     Assert.AreEqual(expected, actual);
 }