[ 
https://issues.apache.org/jira/browse/GEODE-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swapnil Bawaskar closed GEODE-4122.
-----------------------------------

> Parameterized tests are skipped when not run with correct runner factory
> ------------------------------------------------------------------------
>
>                 Key: GEODE-4122
>                 URL: https://issues.apache.org/jira/browse/GEODE-4122
>             Project: Geode
>          Issue Type: Bug
>          Components: management
>            Reporter: Patrick Rhomberg
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: testing
>             Fix For: 1.5.0
>
>
> Initial bug in GEODE-1350, tests annotated with 
> {{@RunWith(Parameterized.class)}} are not correctly detected during testing.  
> This is corrected when the test class also contains the annotation 
> {{@Parameterized.UseParametersRunnerFactory(CategoryWithParameterizedRunnerFactory.class)}}.
> The following is an possibly-incomplete list of tests containing the 
> offending {{@RunWith}} annotation but not the correcting 
> {{@Parameterized.UseParametersRunnerFactory}} annotation, matching on the 
> regex {{@RunWith\(Parameterized\.class\)\n(?!@Parameterized)}}
> {noformat}
> BaseStringConverterJUnitTest.java
> CacheServerSSLConnectionDUnitTest.java
> ChangeLogLevelCommandDUnitTest.java
> ClusterConfigurationDUnitTest.java
> GatewayReceiverFactoryImplJUnitTest.java
> GcCommandDUnitTest.java
> IndexSecurityDUnitTest.java
> PartitionedIndexSecurityDUnitTest.java
> PdxPartitionedQuerySecurityAllowedQueriesDUnitTest.java
> PdxQuerySecurityAllowedQueriesDUnitTest.java
> PdxQuerySecurityRestrictedQueriesDUnitTest.java
> PRCacheListenerInvocationTest.java
> PRCacheListenerWithInterestPolicyAllInvocationTest.java
> PulseConnectivityTest.java
> QueryCommandTest.java
> ShowLogCommandDUnitTest.java
> ShutdownCommandDUnitTest.java
> {noformat}
> Closure of this ticket should also include a UnitTest or extension to the 
> {{test.gradle}} that ensures no future test includes the one annotation 
> without the other.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to