Skip to content

Commit

Permalink
BVTCK-23 Rewording of the requirements for passing the TCK.
Browse files Browse the repository at this point in the history
Adding note regarding BVTCK-57 to readme.
  • Loading branch information
hferentschik committed Apr 10, 2013
1 parent 78e6f99 commit 296a4f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions documentation/src/main/docbook/en-US/introduction.xml
Expand Up @@ -150,7 +150,7 @@
<listitem>
<para><emphasis role="bold">TCK Container Adapter</emphasis>
provided as a convenience for developers in order to run and debug
tests outside of the EE container. </para>
tests outside of the EE container.</para>
</listitem>

<listitem>
Expand All @@ -163,8 +163,8 @@
<section id="passing-the-tck">
<title>Passing the Bean Validation TCK</title>

<para>In order to pass the Bean Validation TCK and a requirement for
being a certified Bean Validation provider, you need to:</para>
<para>In order to pass the Bean Validation TCK (which is one requirement
for becoming a certified Bean Validation provider), you need to:</para>

<itemizedlist>
<listitem>
Expand Down
5 changes: 4 additions & 1 deletion setup-examples/readme.md
Expand Up @@ -12,13 +12,16 @@ as well as the Bean Validation provider. The latter is the so called Bean Valida

Generally, to adjust the build script to another container, you would have to:

* Replace the Hibernate Validator dependency with the dependency of your provider. Technically the validation
provider should not be required on the client side, but due to [BVTCK-57](https://hibernate.atlassian.net/browse/BVTCK-57)
it is needed as well.
* Change the _validation.provider_ property to the fully qualified class name of your Bean Validation provider.
* Change the Arquillian container adapter dependency to use the adapter suitable for your container
(see [container adapters](https://docs.jboss.org/author/display/ARQ/Container+adapters)). If there is no such adapter
you have to write your own. You can look at the [standalone container adapter](https://github.com/beanvalidation/beanvalidation-tck/tree/master/standalone-container-adapter)
provided by this TCK in order to run test in the current JVM. It is a simple version of a container adapter, but still
contains all the required pieces.
* Change the _container.home_ property to point to your container.
* Change _validation.provider_ to the fully qualified class name of your Bean Validation provider.
* Update the _arquillian.xml_ configuration to match the required settings for your container.
* Make sure that the container starts with the system property _validation.provider_ to the fully qualified class name
of your Bean Validation implementation.
Expand Down

0 comments on commit 296a4f2

Please sign in to comment.