CloneSet1599


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.983class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1835
src/NHibernate.Test/TransactionTest/TransactionFixture.cs
2846
src/NHibernate.Test/TransactionTest/TransactionFixture.cs
Clone Instance
1
Line Count
8
Source Line
35
Source File
src/NHibernate.Test/TransactionTest/TransactionFixture.cs

                [Test]
                public void CommitAfterDisposeThrowsException()
                {
                        using (ISession s = OpenSession())
                        {
                                ITransaction t = s.BeginTransaction();
                                t.Dispose();
                                Assert.Throws<ObjectDisposedException> (() => t.Commit());
                        }
                }



Clone Instance
2
Line Count
8
Source Line
46
Source File
src/NHibernate.Test/TransactionTest/TransactionFixture.cs

                [Test]
                public void RollbackAfterDisposeThrowsException()
                {
                        using (ISession s = OpenSession())
                        {
                                ITransaction t = s.BeginTransaction();
                                t.Dispose();
                                Assert.Throws<ObjectDisposedException> (() => t.Rollback());
                        }
                }



Clone AbstractionParameter Count: 2Parameter Bindings

[Test]
public void [[#variable2772e980]]()
{
   using (ISession s = OpenSession())
   {
      ITransaction t = s.BeginTransaction();
      t.Dispose();
      Assert.Throws<ObjectDisposedException> (() => t. [[#variable2772e960]]());
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2772e980]]
CommitAfterDisposeThrowsException 
12[[#2772e980]]
RollbackAfterDisposeThrowsException 
21[[#2772e960]]
Commit 
22[[#2772e960]]
Rollback