Skip to content

Commit 867640c

Browse files
committed
NH-2354 - Make test explicit and test mapping
1 parent dc37a86 commit 867640c

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/NHibernate.Test/UnionsubclassPolymorphicFormula/Party.hbm.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,13 @@
1111
<class xmlns="urn:nhibernate-mapping-2.2" name="Party" table="`party`" abstract="true">
1212
<id access="backfield" name="Id">
1313
<column name="Id" />
14-
<generator class="sequence">
15-
<param name="sequence">party_id_seq</param>
16-
</generator>
14+
<generator class="hilo" />
1715
</id>
1816

1917
<!-- PERSON -->
2018

2119
<union-subclass name="Person" table="`person`" extends="Party">
22-
<property name="Name" access="readonly" formula="first_name || ' ' || last_name" update="false" insert="false">
23-
</property>
20+
<property name="Name" access="readonly" formula="first_name || ' ' || last_name" update="false" insert="false" />
2421
<property name="FirstName">
2522
<column name="first_name" />
2623
</property>

src/NHibernate.Test/UnionsubclassPolymorphicFormula/UnionSubclassFixture.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using NUnit.Framework;
1+
using NUnit.Framework;
62
using System.Collections;
73

84
namespace NHibernate.Test.UnionsubclassPolymorphicFormula
95
{
10-
[TestFixture]
6+
[TestFixture, Explicit]
117
public class UnionSubclassFixture : TestCase
128
{
139
protected override string MappingsAssembly

0 commit comments

Comments
 (0)