Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the use of UniAsserter in @BeforeEach and @AfterEach test methods #19159

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Aug 2, 2021

Fixes: #19109

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 2, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building a76ba1d

Status Name Step Test failures Logs Raw logs
Native Tests - Data6 Build Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Native Tests - Data6 #

📦 integration-tests/hibernate-reactive-panache

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testBug5274 - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testBug5885 - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testBug7721 - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testBug8254 - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testBug9025 - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testBug9036 - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testPanacheSerialisation - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testCompositeKey - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

io.quarkus.it.panache.reactive.PanacheFunctionalityInGraalITCase.testPanacheFunctionality - More details - Source on GitHub

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.quarkus.test.junit.vertx.UniAsserter asserter] in method [public void io.quarkus.it.panache.reactive.PanacheFunctionalityTest.beforeEach(io.quarkus.test.junit.vertx.UniAsserter)].
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:200)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:183)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameters(ExecutableInvoker.java:144)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:96)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:490)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$synthesizeBeforeEachMethodAdapter$19(ClassBasedTestDescriptor.java:475)
	at org.junit.jupiter.engine.de...

@quarkus-bot quarkus-bot bot added area/hibernate-orm Hibernate ORM area/persistence OBSOLETE, DO NOT USE labels Aug 2, 2021
@geoand
Copy link
Contributor Author

geoand commented Aug 3, 2021

I'll merge this as it's a pretty simple change

@geoand geoand merged commit 9776b92 into quarkusio:main Aug 3, 2021
@quarkus-bot quarkus-bot bot added this to the 2.2 - main milestone Aug 3, 2021
@geoand geoand deleted the #19109 branch August 3, 2021 14:34
@gsmet gsmet modified the milestones: 2.2 - main, 2.1.1.Final Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't seem to use UniAssertSubscriber nor JUnit's @BeforeEach or @AfterEach with @TestReactiveTransaction
2 participants