/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.test.immutable.entitywithmutablecollection.inverse; import org.junit.Test; import org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithOneToManyTest; import org.hibernate.testing.FailureExpected; /** * @author Gail Badner * * These tests reproduce HHH-4992. */ public class VersionedEntityWithInverseOneToManyFailureExpectedTest extends AbstractEntityWithOneToManyTest { public String[] getMappings() { return new String[] { "immutable/entitywithmutablecollection/inverse/ContractVariationVersioned.hbm.xml" }; } @Test @Override @FailureExpected( jiraKey = "HHH-4992", message = "known to fail with versioned entity with inverse collection" ) public void testAddExistingOneToManyElementToPersistentEntity() { super.testAddExistingOneToManyElementToPersistentEntity(); } @Test @Override @FailureExpected( jiraKey = "HHH-4992", message = "known to fail with versioned entity with inverse collection" ) public void testCreateWithEmptyOneToManyCollectionUpdateWithExistingElement() { super.testCreateWithEmptyOneToManyCollectionUpdateWithExistingElement(); } @Test @Override @FailureExpected( jiraKey = "HHH-4992", message = "known to fail with versioned entity with inverse collection" ) public void testCreateWithEmptyOneToManyCollectionMergeWithExistingElement() { super.testCreateWithEmptyOneToManyCollectionMergeWithExistingElement(); } @Test @Override @FailureExpected( jiraKey = "HHH-4992", message = "known to fail with versioned entity with inverse collection" ) public void testRemoveOneToManyElementUsingUpdate() { super.testRemoveOneToManyElementUsingUpdate(); } @Test @Override @FailureExpected( jiraKey = "HHH-4992", message = "known to fail with versioned entity with inverse collection" ) public void testRemoveOneToManyElementUsingMerge() { super.testRemoveOneToManyElementUsingMerge(); } }