Exemplo n.º 1
0
 public void SqlBatch_ReturnsSameBatchTextAsPassed()
 {
     string s = StaticFiles.SimpleSelect();
     SqlBatch b = new SqlBatch(s);
     
     Assert.AreEqual(s, b.BatchText());
     Assert.AreEqual(21, b.BatchText().Length, "expected this specific length because that's what is in the file.");
 }
Exemplo n.º 2
0
 public void CreateParser_DoesNotCrash()
 {
     SqlBatch b = new SqlBatch("");
     Assert.IsNotNull(b, "should be able to create batch.");
 }