Exemple #1
0
        public void RollbackNoWork(TestCaseResult result)
        {
            CheckTransactionCapable(result);

            CheckTable(result);
            VirtuosoTransaction t = connection.BeginTransaction();

            result.FailIfNotSame(connection, t.Connection);
            t.Rollback();
            CheckTable(result);
        }
Exemple #2
0
        public void Rollback(TestCaseResult result)
        {
            CheckTransactionCapable(result);

            CheckTable(result);
            VirtuosoTransaction t = connection.BeginTransaction();

            InsertRow(3);
            InsertRow(4);
            CheckTable(result);
            t.Rollback();
            DeleteRow(3);
            DeleteRow(4);
            CheckTable(result);
        }