Skip to content

Commit d728386

Browse files
committed
Moving BidirectionalListWithDifferentAccessTest to new namespace
1 parent 6906b1c commit d728386

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

Src/NHibernate.Envers.Tests/NHibernate.Envers.Tests.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@
125125
<Compile Include="NetSpecific\Integration\Access\None\SimpleProperty\Fixture.cs" />
126126
<Compile Include="NetSpecific\Integration\Access\None\SimpleProperty\Entity.cs" />
127127
<Compile Include="NetSpecific\Integration\Async\AuditEventListenerAsyncTest.cs" />
128+
<Compile Include="NetSpecific\Integration\BidirectionalList\DifferentAccessTest\BidirectionalListWithDifferentAccessTest.cs" />
129+
<Compile Include="NetSpecific\Integration\BidirectionalList\DifferentAccessTest\Child.cs" />
130+
<Compile Include="NetSpecific\Integration\BidirectionalList\DifferentAccessTest\Parent.cs" />
128131
<Compile Include="NetSpecific\Integration\Component\BaseClassComponent.cs" />
129132
<Compile Include="NetSpecific\Integration\Component\BaseClassOwner.cs" />
130133
<Compile Include="NetSpecific\Integration\Component\DerivedClassComponent.cs" />
@@ -672,9 +675,6 @@
672675
<Compile Include="Integration\Versioning\NoOptimisticLockAuditingTest.cs" />
673676
<Compile Include="Integration\Versioning\OptimisticLockAuditingTest.cs" />
674677
<Compile Include="Integration\Versioning\OptimisticLockEntity.cs" />
675-
<Compile Include="NetSpecific\Integration\BidirectionalList\BidirectionalListWithDifferentAccessTest.cs" />
676-
<Compile Include="NetSpecific\Integration\BidirectionalList\Child.cs" />
677-
<Compile Include="NetSpecific\Integration\BidirectionalList\Parent.cs" />
678678
<Compile Include="NetSpecific\Integration\Access\Readonly\ReadonlyAccessTest.cs" />
679679
<Compile Include="NetSpecific\Integration\Access\Readonly\ReadonlyEntity.cs" />
680680
<Compile Include="NetSpecific\Integration\Component\ComponentOwner.cs" />
@@ -804,6 +804,7 @@
804804
<Compile Include="ValidityTestBase.cs" />
805805
</ItemGroup>
806806
<ItemGroup>
807+
<EmbeddedResource Include="NetSpecific\Integration\BidirectionalList\DifferentAccessTest\Mapping.hbm.xml" />
807808
<EmbeddedResource Include="NetSpecific\Integration\ModifiedFlags\CollectionItemChangingParent\Mapping.hbm.xml" />
808809
<EmbeddedResource Include="NetSpecific\Integration\MultiLevelInheritance\Mapping.hbm.xml" />
809810
<EmbeddedResource Include="NetSpecific\Integration\BidirectionalSameColumn\Mapping.hbm.xml" />
@@ -841,7 +842,6 @@
841842
<SubType>Designer</SubType>
842843
</EmbeddedResource>
843844
<EmbeddedResource Include="NetSpecific\Integration\OneToOne\Mapping.hbm.xml" />
844-
<EmbeddedResource Include="NetSpecific\Integration\BidirectionalList\Mapping.hbm.xml" />
845845
<EmbeddedResource Include="NetSpecific\Integration\Component\Mapping.hbm.xml" />
846846
<EmbeddedResource Include="NetSpecific\Integration\Access\Readonly\Mapping.hbm.xml" />
847847
<EmbeddedResource Include="NetSpecific\Integration\JoinAuditTable\Mapping.hbm.xml" />
@@ -1002,7 +1002,6 @@
10021002
<SubType>Designer</SubType>
10031003
</None>
10041004
</ItemGroup>
1005-
<ItemGroup />
10061005
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
10071006
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
10081007
<PropertyGroup>

Src/NHibernate.Envers.Tests/NetSpecific/Integration/Async/AuditEventListenerAsyncTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4-
using NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList;
4+
using NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList.DifferentAccessTest;
55
using NUnit.Framework;
66
using SharpTestsEx;
77

@@ -46,6 +46,6 @@ public async void AsyncImplementationOfAuditEventListenerWorks()
4646
.Should().Be.EqualTo(4);
4747
}
4848

49-
protected override IEnumerable<string> Mappings { get; } = new[]{ "NetSpecific.Integration.BidirectionalList.Mapping.hbm.xml" };
49+
protected override IEnumerable<string> Mappings { get; } = new[]{ "NetSpecific.Integration.BidirectionalList.DifferentAccessTest.Mapping.hbm.xml" };
5050
}
5151
}

Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/BidirectionalListWithDifferentAccessTest.cs renamed to Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/DifferentAccessTest/BidirectionalListWithDifferentAccessTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using NUnit.Framework;
22
using SharpTestsEx;
33

4-
namespace NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList
4+
namespace NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList.DifferentAccessTest
55
{
66
public class BidirectionalListWithDifferentAccessTest : TestBase
77
{

Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/Child.cs renamed to Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/DifferentAccessTest/Child.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using NHibernate.Envers.Configuration.Attributes;
22

3-
namespace NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList
3+
namespace NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList.DifferentAccessTest
44
{
55
[Audited]
66
public class Child

Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/Mapping.hbm.xml renamed to Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/DifferentAccessTest/Mapping.hbm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
33
assembly="NHibernate.Envers.Tests"
4-
namespace="NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList">
4+
namespace="NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList.DifferentAccessTest">
55
<class name="Parent">
66
<id name="Id">
77
<generator class="native"/>

Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/Parent.cs renamed to Src/NHibernate.Envers.Tests/NetSpecific/Integration/BidirectionalList/DifferentAccessTest/Parent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using NHibernate.Envers.Configuration.Attributes;
33

4-
namespace NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList
4+
namespace NHibernate.Envers.Tests.NetSpecific.Integration.BidirectionalList.DifferentAccessTest
55
{
66
[Audited]
77
public class Parent

0 commit comments

Comments
 (0)