Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.990 | statement_list[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 113 | src/NHibernate.Test/TransactionTest/TransactionFixture.cs |
2 | 11 | 130 | src/NHibernate.Test/TransactionTest/TransactionFixture.cs |
| ||||
// ISession.Transaction returns a new transaction // if the previous one completed! Assert.IsNotNull(s.Transaction); Assert.IsFalse(t == s.Transaction); Assert.IsTrue(t.WasCommitted); Assert.IsFalse(t.WasRolledBack); Assert.IsFalse(s.Transaction.WasCommitted); Assert.IsFalse(s.Transaction.WasRolledBack); Assert.IsFalse(t.IsActive); Assert.IsFalse(s.Transaction.IsActive); |
| ||||
// ISession.Transaction returns a new transaction // if the previous one completed! Assert.IsNotNull(s.Transaction); Assert.IsFalse(t == s.Transaction); Assert.IsTrue(t.WasRolledBack); Assert.IsFalse(t.WasCommitted); Assert.IsFalse(s.Transaction.WasCommitted); Assert.IsFalse(s.Transaction.WasRolledBack); Assert.IsFalse(t.IsActive); Assert.IsFalse(s.Transaction.IsActive); |
| |||
// ISession.Transaction returns a new transaction // if the previous one completed! Assert.IsNotNull(s.Transaction); Assert.IsFalse(t == s.Transaction); Assert.IsTrue(t. [[#variable5f4ad920]]); Assert.IsFalse(t. [[#variable4bd9b920]]); Assert.IsFalse(s.Transaction.WasCommitted); Assert.IsFalse(s.Transaction.WasRolledBack); Assert.IsFalse(t.IsActive); Assert.IsFalse(s.Transaction.IsActive); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f4ad920]] | WasRolledBack |
1 | 2 | [[#5f4ad920]] | WasCommitted |
2 | 1 | [[#4bd9b920]] | WasCommitted |
2 | 2 | [[#4bd9b920]] | WasRolledBack |