forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSubclassExtendsFixture.cs
43 lines (40 loc) · 1.18 KB
/
SubclassExtendsFixture.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by AsyncGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using NUnit.Framework;
namespace NHibernate.Test.Subclass
{
using System.Threading.Tasks;
/// <summary>
/// Test the use of <c><class></c> and <c><subclass></c> mappings
/// that are in different files through the use of the <c>extends</c> attribute.
/// </summary>
/// <remarks>
/// Inheriting from <see cref="SubclassFixtureAsync"/> because the only thing different
/// is how the classes are mapped.
/// </remarks>
[TestFixture]
public class SubclassExtendsFixtureAsync : SubclassFixtureAsync
{
protected override string[] Mappings
{
get
{
// order is important! The base classes must be configured before
// the subclasses.
return new string[]
{
"Subclass.Subclass.Base.hbm.xml",
"Subclass.Subclass.One.hbm.xml"
};
}
}
}
}