Beispiel #1
0
        public void CreateDataset()
        {
            SubrDotNew snew = new SubrDotNew("System.Data.DataSet");

            var result = snew.Execute(null, null);

            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(System.Data.DataSet));
        }
Beispiel #2
0
        public void CreateFileInfo()
        {
            SubrDotNew snew = new SubrDotNew("System.IO.FileInfo");
            var        list = List.Create(new string[] { "foo.txt" });

            var result = snew.Execute(list, null);

            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, typeof(System.IO.FileInfo));
        }