-
Bug
-
Resolution: Fixed
-
P4
-
jfx25
-
b21
Following two unit tests have 2 test annotations, @RepeatedTest and @Test
ServiceLifecycleTest.cancelCalledFromOnSucceeded()
ServiceLifecycleTest.cancelCalledFromOnFailed()
This 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.
ServiceLifecycleTest.cancelCalledFromOnSucceeded()
ServiceLifecycleTest.cancelCalledFromOnFailed()
This 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.
- links to
-
Commit(master) openjdk/jfx/f9e87922
-
Review(master) openjdk/jfx/1833