| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 2 | 2 | 0.966 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 26 | src/NHibernate.Test/MultipleCollectionFetchTest/MultipleBagFetchFixture.cs |
| 2 | 10 | 39 | src/NHibernate.Test/MultipleCollectionFetchTest/MultipleBagFetchFixture.cs |
| ||||
protected override void RunLinearJoinFetchTest(Person parent)
{
try
{
base.RunLinearJoinFetchTest(parent);
Assert.Fail("Should have failed");
}
catch (QueryException e)
{
Assert.IsTrue(e.Message.IndexOf("Cannot simultaneously fetch multiple bags") >= 0);
}
}
|
| ||||
protected override void RunNonLinearJoinFetchTest(Person person)
{
try
{
base.RunNonLinearJoinFetchTest(person);
Assert.Fail("Should have failed");
}
catch (QueryException e)
{
Assert.IsTrue(e.Message.IndexOf("Cannot simultaneously fetch multiple bags") >= 0);
}
}
|
| |||
protected override void [[#variable2b8adf80]](Person [[#variable2b8adee0]])
{
try
{
base. [[#variable2b8adf80]]( [[#variable2b8adee0]]);
Assert.Fail("Should have failed");
}
catch (QueryException e)
{
Assert.IsTrue(e.Message.IndexOf("Cannot simultaneously fetch multiple bags") >= 0);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2b8adf80]] | RunNonLinearJoinFetchTest |
| 1 | 2 | [[#2b8adf80]] | RunLinearJoinFetchTest |
| 2 | 1 | [[#2b8adee0]] | person |
| 2 | 2 | [[#2b8adee0]] | parent |