Skip to content

Commit 064fdfc

Browse files
committed
HV-2072 Use the Local protocol to run the tests
actually more of a follow-up on HV-1975 Remove Security Manager usage
1 parent 252c474 commit 064fdfc

7 files changed

+2
-191
lines changed

tck-runner/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@
189189
</property>
190190
</activation>
191191
<properties>
192-
<!-- Use Local for testing without security manager -->
193-
<arquillian.protocol>LocalSecurityManagerTesting</arquillian.protocol>
192+
<arquillian.protocol>Local</arquillian.protocol>
194193
<surefire.jvm.args.additional>-DincludeJavaFXTests=true -Duser.language=en -Duser.country=US</surefire.jvm.args.additional>
195194
</properties>
196195
<dependencies>

tck-runner/src/test/java/org/hibernate/validator/tckrunner/securitymanager/TckRunner.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,9 @@
2828
* -Djava.security.policy=target/test-classes/test.policy
2929
* -Djava.security.debug=access
3030
* -DexcludeIntegrationTests=true
31-
* -Darquillian.protocol=LocalSecurityManagerTesting
31+
* -Darquillian.protocol=Local
3232
* -Dorg.jboss.testharness.spi.StandaloneContainers=org.hibernate.jsr303.tck.util.StandaloneContainersImpl
3333
* </pre>
34-
* <p>
35-
* Add the following option when you want to enable the security manager:
36-
* <pre>
37-
* -Djava.security.manager
38-
* </pre>
39-
* <p>
40-
* You may also need to update your test.policy file to apply the permissions to the right source tree.
41-
* See the comments in the file.
4234
*
4335
* @author Gunnar Morling
4436
*/

tck-runner/src/test/java/org/hibernate/validator/tckrunner/securitymanager/arquillian/LocalSecurityManagerTestingContainerMethodExecutor.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

tck-runner/src/test/java/org/hibernate/validator/tckrunner/securitymanager/arquillian/LocalSecurityManagerTestingExecutionEvent.java

Lines changed: 0 additions & 78 deletions
This file was deleted.

tck-runner/src/test/java/org/hibernate/validator/tckrunner/securitymanager/arquillian/LocalSecurityManagerTestingExtension.java

Lines changed: 0 additions & 27 deletions
This file was deleted.

tck-runner/src/test/java/org/hibernate/validator/tckrunner/securitymanager/arquillian/LocalSecurityManagerTestingProtocol.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

tck-runner/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)