On Wed, 18 Jun 2025 09:04:32 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:

> A simple change to remove `@Test` annotation from two graphics unit tests.
> 
> The two tests have 2 test annotations `@Test` and `@RepeatedTest`, It results 
> in warning message.
> 
> 
> WARNING: Possible configuration error: method [public void 
> test.javafx.concurrent.ServiceLifecycleTest.cancelCalledFromOnSucceeded()] 
> resulted in multiple TestDescriptors
> [org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor, 
> org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor].
> This is typically the result of annotating a method with multiple competing 
> annotations such as @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, 
> etc.
> 
> WARNING: Possible configuration error: method [public void 
> test.javafx.concurrent.ServiceLifecycleTest.cancelCalledFromOnFailed()] 
> resulted in multiple TestDescriptors
> [org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor, 
> org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor].
> This is typically the result of annotating a method with multiple competing 
> annotations such as @Test, @RepeatedTest, @ParameterizedTest, @TestFactory, 
> etc.

Marked as reviewed by jhendrikx (Reviewer).

-------------

PR Review: https://git.openjdk.org/jfx/pull/1833#pullrequestreview-2938428945

Reply via email to