HHH-16625 Introduce a compilation unit among tests to serve as reminder about Quarkus requirements

This commit is contained in:
Sanne Grinovero 2023-05-17 20:37:04 +01:00 committed by Andrea Boriero
parent 96a291058b
commit 46d66ec141
1 changed files with 1 additions and 3 deletions

View File

@ -8,8 +8,6 @@ package org.hibernate.orm.test.quarkus;
import org.hibernate.boot.internal.MetadataImpl;
import org.junit.Test;
/**
* Quarkus needs to be able to make a deep copy of MetadataImpl;
* for this to be possible, it needs to expose some of its state.
@ -18,7 +16,7 @@ import org.junit.Test;
*/
public class MetadataCopyingTest {
public void copyIsPossible() {
public void copyGettersAreExposed() {
MetadataImpl existingInstance = fetchSomehowOldCopy();
//Test that for each constructor parameter needed to create a new MetadataImpl,
//we can actually read the matching state from an existing MetadataImpl instance.