Esempio n. 1
0
 public virtual void TestRollbackUser()
 {
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.User, ManagerParseRollback.Parse
                                         ("rollback @@user", 9));
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.User, ManagerParseRollback.Parse
                                         (" ROLLBACK  @@USER ", 9));
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.User, ManagerParseRollback.Parse
                                         (" ROLLBACK  @@user ", 9));
 }
Esempio n. 2
0
 public virtual void TestRollbackRoute()
 {
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.Route, ManagerParseRollback.
                                     Parse("rollback @@route", 9));
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.Route, ManagerParseRollback.
                                     Parse(" ROLLBACK  @@ROUTE ", 9));
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.Route, ManagerParseRollback.
                                     Parse(" ROLLBACK  @@route ", 9));
 }
Esempio n. 3
0
 public virtual void TestRollbackConfig()
 {
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.Config, ManagerParseRollback
                                     .Parse("rollback @@config", 8));
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.Config, ManagerParseRollback
                                     .Parse(" ROLLBACK  @@CONFIG ", 9));
     NUnit.Framework.Assert.AreEqual(ManagerParseRollback.Config, ManagerParseRollback
                                     .Parse(" ROLLBACK  @@config ", 9));
 }