Skip to content

Commit

Permalink
hsearch-es: Clarify the name of some unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Apr 2, 2020
1 parent 92c6e40 commit 961d95b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.Indexed;

/**
* This particular entity is not a valid entity as it is not marked with @Entity.
* This particular class is not a valid entity as it is not marked with @Entity.
* <p>
* It is done this way just for the sake of testing the extension bootstrap.
*/
@Indexed
public class IndexedEntity {
public class IndexedNonEntity {

}
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
import io.quarkus.deployment.configuration.ConfigurationError;
import io.quarkus.test.QuarkusUnitTest;

public class NoConfigIndexedEntityTest {
public class NoConfigIndexedNonEntityTest {

@RegisterExtension
static final QuarkusUnitTest config = new QuarkusUnitTest().setArchiveProducer(
() -> ShrinkWrap.create(JavaArchive.class).addClass(IndexedEntity.class))
() -> ShrinkWrap.create(JavaArchive.class).addClass(IndexedNonEntity.class))
.setExpectedException(ConfigurationError.class);

@Test
Expand Down

0 comments on commit 961d95b

Please sign in to comment.