Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BVTCK-10 Making the TCK a reactor build.

Renaming packages and files to get rid of explicit jsr303 references. Using beanvalidation instead.
  • Loading branch information...
commit 9c65cc385876cd418859d1ea353535c3e1e0a399 1 parent 37e4cb9
@hferentschik hferentschik authored
Showing with 1,495 additions and 1,051 deletions.
  1. +1 −0  .gitignore
  2. +51 −0 distribution/pom.xml
  3. +20 −26 src/main/assembly/assembly.xml → distribution/src/main/assembly/dist.xml
  4. +90 −0 documentation/pom.xml
  5. +1 −1  { → documentation}/src/main/docbook/en-US/background/appeals-process.xml
  6. +4 −4 { → documentation}/src/main/docbook/en-US/background/configuration.xml
  7. +2 −2 { → documentation}/src/main/docbook/en-US/background/installation.xml
  8. +1 −1  { → documentation}/src/main/docbook/en-US/background/introduction.xml
  9. +1 −1  { → documentation}/src/main/docbook/en-US/background/reporting.xml
  10. +1 −1  { → documentation}/src/main/docbook/en-US/bookinfo.xml
  11. +2 −2 { → documentation}/src/main/docbook/en-US/execution/executing-tmp.xml
  12. +1 −1  { → documentation}/src/main/docbook/en-US/execution/executing.xml
  13. +1 −1  { → documentation}/src/main/docbook/en-US/execution/sigtest.xml
  14. +1 −1  { → documentation}/src/main/docbook/en-US/master.xml
  15. +4 −13 { → documentation}/src/main/docbook/en-US/preface.xml
  16. 0  src/main/docbook/en-US/jsr303-tck.ent → documentation/src/main/docbook/en-US/tck.ent
  17. +138 −328 pom.xml
  18. +12 −2 readme.md
  19. +0 −1  ...n/resources/org/hibernate/jsr303/tck/tests/bootstrap/customprovider/javax.validation.spi.ValidationProvider
  20. +0 −24 src/main/resources/tck-tests.xml
  21. +26 −0 standalone-container-adapter/pom.xml
  22. +76 −0 standalone-container-adapter/src/main/java/org/hibernate/validator/tck/arquillian/ArchiveClassLoader.java
  23. +90 −0 ...ne-container-adapter/src/main/java/org/hibernate/validator/tck/arquillian/BeanValidationLocalContainer.java
  24. +16 −0 ...adapter/src/main/java/org/hibernate/validator/tck/arquillian/BeanValidationLocalContainerConfiguration.java
  25. +34 −0 ...ner-adapter/src/main/java/org/hibernate/validator/tck/arquillian/BeanValidationLocalContainerExtension.java
  26. +1 −0  ...lone-container-adapter/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
  27. +151 −0 tests/pom.xml
  28. +1 −1  ...rnate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/common/TCKValidationProvider.java
  29. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/common/TCKValidatorConfiguration.java
  30. +5 −3 .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/bootstrap/ConfigurationTest.java
  31. +6 −4 ...r; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/bootstrap/CustomMessageInterpolatorTest.java
  32. +5 −3 ...; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/bootstrap/ValidationProviderResolverTest.java
  33. +7 −5 ...03 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/bootstrap/ValidationProviderTest.java
  34. +8 −6 ...ate/beanvalidation}/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInServiceFileTest.java
  35. +7 −5 ...e/beanvalidation}/tck/tests/bootstrap/customprovider/BootstrapCustomProviderDefinedInValidationXmlTest.java
  36. +4 −2 ...va/org/hibernate/beanvalidation}/tck/tests/bootstrap/customprovider/BootstrapUnknownCustomProviderTest.java
  37. +1 −1  ...03 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/Building.java
  38. +1 −1  ...303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/Citizen.java
  39. +1 −1  ...r303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/Person.java
  40. +1 −1  ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/SecurityCheck.java
  41. +1 −1  ... → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/SuperWoman.java
  42. +8 −6 ...rc/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/ValidationRequirementTest.java
  43. +1 −1  ... → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/Visibility.java
  44. +1 −1  ...sr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/application/Woman.java
  45. +8 −6 ...ain/java/org/hibernate/beanvalidation}/tck/tests/constraints/builtinconstraints/BuiltinConstraintsTest.java
  46. +8 −6 ...va/org/hibernate/beanvalidation}/tck/tests/constraints/builtinconstraints/BuiltinValidatorOverrideTest.java
  47. +1 −1  ...n/java/org/hibernate/beanvalidation}/tck/tests/constraints/builtinconstraints/InvertedNotNullValidator.java
  48. +72 −72 ... tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/Address.java
  49. +9 −7 ...va/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/ConstraintCompositionTest.java
  50. +32 −32 .../src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/FrenchAddress.java
  51. +1 −1  .../src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/FrenchZipcode.java
  52. +1 −1  ...hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/FrenchZipcodeConstraintValidator.java
  53. +1 −1  ...hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/FrenchZipcodeWithInvalidOverride.java
  54. +1 −1  ...; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/Friend.java
  55. +27 −27 .../src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/GermanAddress.java
  56. +1 −1  .../src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/GermanZipcode.java
  57. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/Name.java
  58. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/NotEmpty.java
  59. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/Severity.java
  60. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintcomposition/Shoe.java
  61. +1 −1  ...lidation}/tck/tests/constraints/constraintcomposition/nestedconstraintcomposition/CompositeConstraint1.java
  62. +1 −1  ...lidation}/tck/tests/constraints/constraintcomposition/nestedconstraintcomposition/CompositeConstraint2.java
  63. +1 −1  ...lidation}/tck/tests/constraints/constraintcomposition/nestedconstraintcomposition/CompositeConstraint3.java
  64. +1 −1  ...lidation}/tck/tests/constraints/constraintcomposition/nestedconstraintcomposition/CompositeConstraint4.java
  65. +1 −1  ...ion}/tck/tests/constraints/constraintcomposition/nestedconstraintcomposition/NestedCompositeConstraint.java
  66. +8 −6 ...ck/tests/constraints/constraintcomposition/nestedconstraintcomposition/NestedConstraintCompositionTest.java
  67. +1 −1  ...ck/tests/constraints/constraintcomposition/nestedconstraintcomposition/NestedConstraintSingleViolation.java
  68. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintdefinition/AlwaysValid.java
  69. +1 −1  ...src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintdefinition/AlwaysValidList.java
  70. +6 −4 ...ava/org/hibernate/beanvalidation}/tck/tests/constraints/constraintdefinition/ConstraintDefinitionsTest.java
  71. +1 −1  ...r; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/constraintdefinition/Person.java
  72. +1 −1  ...→ tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/Author.java
  73. +1 −1  ...ava/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/BoundariesConstraintValidator.java
  74. +7 −5 ...ava/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/CustomConstraintValidatorTest.java
  75. +1 −1  ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/Negative.java
  76. +1 −1  .../java/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/NegativeConstraintValidator.java
  77. +1 −1  ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/Positive.java
  78. +1 −1  .../java/org/hibernate/beanvalidation}/tck/tests/constraints/customconstraint/PositiveConstraintValidator.java
  79. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Address.java
  80. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Animal.java
  81. +1 −1  ...jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Auditable.java
  82. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Author.java
  83. +1 −1  ...nate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Book.java
  84. +1 −1  ...rnate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Car.java
  85. +1 −1  ...sr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/CreditCard.java
  86. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/CyclicGroupSequence.java
  87. +1 −1  ...r; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/CyclicGroupSequence1.java
  88. +1 −1  ...r; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/CyclicGroupSequence2.java
  89. +1 −1  ...303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/DefaultAlias.java
  90. +8 −6 .../src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/DefaultGroupRedefinitionTest.java
  91. +1 −1  ...ate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/First.java
  92. +9 −7 ...jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/GroupTest.java
  93. +1 −1  ...nate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Last.java
  94. +1 −1  ...ate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Order.java
  95. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/Second.java
  96. +1 −1  ...nate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/User.java
  97. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/ZipCodeCoherenceChecker.java
  98. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/ZipCodeCoherenceValidator.java
  99. +6 −4 ...n/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequence/SequenceResolutionTest.java
  100. +1 −1  ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequence/TestEntity.java
  101. +1 −1  ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/A.java
  102. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/B1.java
  103. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/B2.java
  104. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/B3.java
  105. +1 −1  ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/C.java
  106. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/D1.java
  107. +1 −1  ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/E.java
  108. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/F1.java
  109. +8 −6 ...bernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/GroupSequenceIsolationTest.java
  110. +1 −1  ...rc/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/IsAdult.java
  111. +1 −1  .../java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/groupsequenceisolation/SafeEncryption.java
  112. +7 −5 .../main/java/org/hibernate/beanvalidation}/tck/tests/constraints/groups/inheritance/GroupInheritanceTest.java
  113. +1 −1  .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/inheritance/Bar.java
  114. +5 −3 ...rc/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/inheritance/ConstraintInheritanceTest.java
  115. +1 −1  .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/inheritance/Foo.java
  116. +1 −1  ...sr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/inheritance/Fubar.java
  117. +5 −3 ...te/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/InvalidConstraintDefinitionsTest.java
  118. +1 −1  ...a/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/InvalidDefaultGroup.java
  119. +1 −1  ...org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/InvalidDefaultPayload.java
  120. +1 −1  ...ava/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/InvalidGroupsType.java
  121. +1 −1  ...va/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/InvalidMessageType.java
  122. +1 −1  ...a/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/InvalidPayloadClass.java
  123. +1 −1  ...rc/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/NoGroups.java
  124. +1 −1  ...c/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/NoMessage.java
  125. +1 −1  ...c/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/NoPayload.java
  126. +1 −1  ...a/org/hibernate/beanvalidation}/tck/tests/constraints/invalidconstraintdefinitions/ValidInPropertyName.java
  127. +1 −1  ... tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/Ambiguous.java
  128. +1 −1  ...→ tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/Bar.java
  129. +1 −1  ... tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/BaseClass.java
  130. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/Coordinate.java
  131. +1 −1  ...src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/CustomConstraint.java
  132. +1 −1  ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/Dummy.java
  133. +1 −1  ...→ tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/Foo.java
  134. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/MinMax.java
  135. +1 −1  ...n/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/SerializableBarSubclass.java
  136. +1 −1  ... tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/SubClassA.java
  137. +1 −1  ... tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/SubClassB.java
  138. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/Suburb.java
  139. +8 −6 ...n/java/org/hibernate/beanvalidation}/tck/tests/constraints/validatorresolution/ValidatorResolutionTest.java
  140. +9 −7 ...ts/src/main/java/org/hibernate/beanvalidation}/tck/tests/messageinterpolation/MessageInterpolationTest.java
  141. +1 −1  ...g/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/Account.java
  142. +1 −1  ...nate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/AccountChecker.java
  143. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/AccountValidator.java
  144. +5 −3 .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/BeanDescriptorTest.java
  145. +5 −3 ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/ConstraintDescriptorTest.java
  146. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/Customer.java
  147. +7 −5 ...r303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/ElementDescriptorTest.java
  148. +1 −1  ...a/org/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/Man.java
  149. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/NotEmpty.java
  150. +1 −1  ...org/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/Order.java
  151. +1 −1  ...rg/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/Person.java
  152. +5 −3 ...303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/PropertyDescriptorTest.java
  153. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/Severity.java
  154. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/SubClass.java
  155. +1 −1  ...ibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/SuperClass.java
  156. +1 −5 ...ate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/SuperConstraint.java
  157. +1 −1  ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/SuperConstraintValidator.java
  158. +1 −1  .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/metadata/UnconstraintEntity.java
  159. +1 −1  .../java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/ExceptionThrowingTraversableResolver.java
  160. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/Jacket.java
  161. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/Person.java
  162. +1 −1  ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/SnifferTraversableResolver.java
  163. +1 −1  ...ate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/Suit.java
  164. +6 −4 ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/TraversableResolverTest.java
  165. +1 −2  ...jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/traversableresolver/Trousers.java
  166. +1 −1  ...g/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Actor.java
  167. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ActorArrayBased.java
  168. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ActorListBased.java
  169. +1 −1  ...hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Address.java
  170. +1 −1  ...sr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/BadlyBehavedEntity.java
  171. +1 −1  ...org/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Boy.java
  172. +1 −1  ...ibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Customer.java
  173. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Engine.java
  174. +1 −1  ...g/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/First.java
  175. +1 −1  ...rg/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Last.java
  176. +1 −1  ...ibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/NotEmpty.java
  177. +1 −1  ...g/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Order.java
  178. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Person.java
  179. +1 −1  ...ernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/PlayedWith.java
  180. +6 −4 .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/PropertyPathTest.java
  181. +1 −1  .../hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/Second.java
  182. +5 −3 ...r; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/UnknownProviderBootstrapTest.java
  183. +9 −7 ...303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ValidatePropertyTest.java
  184. +9 −7 ...nate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ValidateTest.java
  185. +9 −7 ...jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ValidateValueTest.java
  186. +8 −6 ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ValidateWithGroupsTest.java
  187. +6 −4 ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/ValidationTest.java
  188. +1 −1  ... → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Address.java
  189. +1 −1  ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Animal.java
  190. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/AnimalCaretaker.java
  191. +1 −1  ...03 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Child.java
  192. +1 −1  ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Condor.java
  193. +1 −1  ...→ tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Elephant.java
  194. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/GameReserve.java
  195. +8 −6 ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/GraphNavigationTest.java
  196. +1 −1  ...303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Herd.java
  197. +1 −1  ...rarr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/MultiCage.java
  198. +1 −1  ...03 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Order.java
  199. +1 −1  ...rarr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/OrderLine.java
  200. +1 −1  ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Parent.java
  201. +1 −1  ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/SingleCage.java
  202. +1 −1  ...303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/User.java
  203. +1 −1  ...03 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Zebra.java
  204. +1 −1  ...r303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/graphnavigation/Zoo.java
  205. +9 −7 ...ava/org/hibernate/beanvalidation}/tck/tests/validation/validatorcontext/ConstraintValidatorContextTest.java
  206. +1 −1  ...3 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/validatorcontext/Dummy.java
  207. +1 −1  ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/validatorcontext/DummyBean.java
  208. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validation/validatorcontext/DummyValidator.java
  209. +5 −3 ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/validatorfactory/CustomConstraintValidatorTest.java
  210. +1 −1  ...sr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validatorfactory/MyConstraint.java
  211. +1 −1  ...rr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validatorfactory/MyConstraintValidator.java
  212. +1 −1  ...→ tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/validatorfactory/MySecondConstraint.java
  213. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/validatorfactory/MySecondConstraintValidator.java
  214. +1 −1  ...nate/beanvalidation}/tck/tests/xmlconfiguration/ConfigurationDefinedConstraintValidatorFactoryResolver.java
  215. +1 −1  .../java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/ConfigurationDefinedMessageInterpolator.java
  216. +1 −1  .../java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/ConfigurationDefinedTraversableResolver.java
  217. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/ConsistentUserInformation.java
  218. +1 −1  ...; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/ConsistentUserValidator.java
  219. +5 −3 ...nate/beanvalidation}/tck/tests/xmlconfiguration/ConstraintValidatorFactorySpecifiedInValidationXmlTest.java
  220. +1 −1  .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/CreditCard.java
  221. +1 −1  ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/CustomConsistentUserValidator.java
  222. +7 −5 ...a/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/DefaultProviderSpecifiedInValidationXmlTest.java
  223. +6 −4 ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/DuplicateConfigurationTest.java
  224. +1 −1  ...rnate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/Error.java
  225. +5 −3 ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/InvalidXmlConfigurationTest.java
  226. +5 −3 ...dation}/tck/tests/xmlconfiguration/MessageInterpolatorSpecifiedInValidationXmlNoDefaultConstructorTest.java
  227. +7 −5 ...g/hibernate/beanvalidation}/tck/tests/xmlconfiguration/MessageInterpolatorSpecifiedInValidationXmlTest.java
  228. +5 −3 .../src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/MissingClassNameOnBeanNodeTest.java
  229. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/Optional.java
  230. +6 −4 ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/OptionalValidationXmlTest.java
  231. +1 −1  ...rnate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/Order.java
  232. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/OrderLine.java
  233. +1 −1  ...e/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/TestGroup.java
  234. +5 −3 ...dation}/tck/tests/xmlconfiguration/TraversableResolverSpecifiedInValidationXmlNoDefaultConstructorTest.java
  235. +6 −4 ...g/hibernate/beanvalidation}/tck/tests/xmlconfiguration/TraversableResolverSpecifiedInValidationXmlTest.java
  236. +1 −1  ...ernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/User.java
  237. +1 −1  ...te/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/UserType.java
  238. +8 −6 ...arr; tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/XmlConfigurationTest.java
  239. +1 −1  ...ain/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/XmlDefinedConstraintValidatorFactory.java
  240. +1 −1  ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/XmlDefinedMessageInterpolator.java
  241. +1 −1  ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/XmlDefinedTraversableResolver.java
  242. +7 −5 ...beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/ConfigurationViaXmlAndAnnotationsTest.java
  243. +5 −3 ...nate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/ConfiguredBeanNotInClassPathTest.java
  244. +5 −3 ...g/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/ConstraintDeclarationTest.java
  245. +7 −5 ...rnate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/DefaultSequenceDefinedInXmlTest.java
  246. +5 −3 .../hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/MandatoryNameAttributeTest.java
  247. +5 −3 ...hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/MissingMandatoryElementTest.java
  248. +1 −1  .../src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/Optional.java
  249. +1 −1  ...s/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/Package.java
  250. +1 −1  ...rc/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/PrePosting.java
  251. +6 −4 ...org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/ReservedElementNameTest.java
  252. +1 −1  ...ests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/User.java
  253. +1 −1  .../main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/ValidPackage.java
  254. +8 −6 ...e/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/ClassLevelOverridingTest.java
  255. +1 −1  ...ava/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/Optional.java
  256. +1 −1  ...java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/Package.java
  257. +1 −1  ...a/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/PrePosting.java
  258. +1 −1  ...org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/ValidPackage.java
  259. +1 −1  ...a/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/CreditCard.java
  260. +5 −3 ...ts/xmlconfiguration/constraintdeclaration/fieldlevel/ExcludeFieldLevelAnnotationsDueToBeanDefaultsTest.java
  261. +5 −3 ...e/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/FieldLevelOverridingTest.java
  262. +5 −3 ...ts/xmlconfiguration/constraintdeclaration/fieldlevel/IncludeFieldLevelAnnotationsDueToBeanDefaultsTest.java
  263. +4 −4 ...in/java/org/hibernate/beanvalidation/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel}/User.java
  264. +5 −3 ...bernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/WrongFieldNameTest.java
  265. +1 −1  ...rg/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/CreditCard.java
  266. +5 −3 ...configuration/constraintdeclaration/propertylevel/ExcludePropertyLevelAnnotationsDueToBeanDefaultsTest.java
  267. +5 −3 ...configuration/constraintdeclaration/propertylevel/IncludePropertyLevelAnnotationsDueToBeanDefaultsTest.java
  268. +5 −3 ...validation}/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/PropertyLevelOverridingTest.java
  269. +4 −4 ...java/org/hibernate/beanvalidation/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel}/User.java
  270. +5 −3 ...e/beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/propertylevel/WrongPropertyNameTest.java
  271. +1 −1  ...ava/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdefinition/DummyLengthValidator.java
  272. +1 −1  ...sts/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdefinition/Length.java
  273. +1 −1  ...ain/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdefinition/LengthValidator.java
  274. +1 −1  ...tests/src/main/java/org/hibernate/beanvalidation}/tck/tests/xmlconfiguration/constraintdefinition/Name.java
  275. +6 −4 ...e/beanvalidation}/tck/tests/xmlconfiguration/constraintdefinition/XmlConfiguredConstraintValidatorTest.java
  276. +3 −3 .../org/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/util/ArtifactDumper.java
  277. +1 −1  ...org/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/util/IntegrationTest.java
  278. +5 −2 ...sr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/util/IntegrationTestsMethodSelector.java
  279. +1 −1  ...n/java/org/hibernate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/util/TestUtil.java
  280. +2 −3 ...ate/jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/util/shrinkwrap/ArchiveBuilder.java
  281. +1 −3 .../jsr303 → tests/src/main/java/org/hibernate/beanvalidation}/tck/util/shrinkwrap/WebArchiveBuilder.java
  282. +1 −0  ...ces/org/hibernate/beanvalidation/tck/tests/bootstrap/customprovider/javax.validation.spi.ValidationProvider
  283. +1 −1  ...dation}/tck/tests/bootstrap/customprovider/validation-BootstrapCustomProviderDefinedInValidationXmlTest.xml
  284. 0  ...ernate/beanvalidation}/tck/tests/bootstrap/customprovider/validation-BootstrapUnknownCustomProviderTest.xml
  285. +1 −1  ...ces/org/hibernate/beanvalidation}/tck/tests/constraints/builtinconstraints/builtin-constraints-override.xml
  286. 0  ...c/main/resources/org/hibernate/beanvalidation}/tck/tests/messageinterpolation/ValidationMessages.properties
  287. 0  ...ain/resources/org/hibernate/beanvalidation}/tck/tests/messageinterpolation/ValidationMessages_de.properties
  288. 0  ...c/main/resources/org/hibernate/beanvalidation}/tck/tests/validation/javax.validation.spi.ValidationProvider
  289. +2 −2 ...iguration/constraintdeclaration/clazzlevel/package-constraints-ClassLevelOverridingImplicitOverrideTest.xml
  290. +2 −2 ...ck/tests/xmlconfiguration/constraintdeclaration/clazzlevel/package-constraints-ClassLevelOverridingTest.xml
  291. +3 −3 ...nfiguration/constraintdeclaration/clazzlevel/package-constraints-ClassLevelOverridingWithAnnotationTest.xml
  292. +1 −1  ...lidation}/tck/tests/xmlconfiguration/constraintdeclaration/constraints-ConfiguredBeanNotInClassPathTest.xml
  293. +1 −1  ...dation}/tck/tests/xmlconfiguration/constraintdeclaration/constraints-GroupIsNotAllowedAsElementNameTest.xml
  294. +1 −1  ...beanvalidation}/tck/tests/xmlconfiguration/constraintdeclaration/constraints-MandatoryNameAttributeTest.xml
  295. +1 −1  ...tion}/tck/tests/xmlconfiguration/constraintdeclaration/constraints-MessageIsNotAllowedAsElementNameTest.xml
  296. +1 −1  ...ion/constraintdeclaration/fieldlevel/user-constraints-ExcludeFieldLevelAnnotationsDueToBeanDefaultsTest.xml
  297. +1 −1  ...}/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/user-constraints-FieldLevelOverridingTest.xml
  298. +1 −1  ...ion/constraintdeclaration/fieldlevel/user-constraints-IncludeFieldLevelAnnotationsDueToBeanDefaultsTest.xml
  299. +1 −1  ...dation}/tck/tests/xmlconfiguration/constraintdeclaration/fieldlevel/user-constraints-WrongFieldNameTest.xml
  300. +1 −1  ...iguration/constraintdeclaration/fieldlevel/validation-ExcludeFieldLevelAnnotationsDueToBeanDefaultsTest.xml
Sorry, we could not display the entire diff because too many files (389) changed.
View
1  .gitignore
@@ -1,3 +1,4 @@
# Typically *NIX text editors, by default, append '~' to files on saving to make backups
*~
+.#*
View
51 distribution/pom.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>tck-parent</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>beanvalidation-tck-distribution</artifactId>
+
+ <name>JSR-349 TCK Distribution</name>
+ <description>JSR-349 TCK Distribution</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>beanvalidation-tck</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assembly/dist.xml</descriptor>
+ </descriptors>
+ <finalName>beanvalidation-tck-dist-${project.version}</finalName>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>install</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
46 src/main/assembly/assembly.xml → distribution/src/main/assembly/dist.xml
@@ -4,49 +4,43 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>dist</id>
- <baseDirectory>jsr303-tck-${project.version}</baseDirectory>
+ <baseDirectory>beanvalidation-tck-dist-${project.version}</baseDirectory>
<formats>
+ <format>tar.gz</format>
<format>zip</format>
</formats>
<dependencySets>
<dependencySet>
- <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>artifacts</outputDirectory>
+ <useTransitiveDependencies>false</useTransitiveDependencies>
+ <includes>
+ <include>org.hibernate.beanvalidation.tck:beanvalidation-tck</include>
+ </includes>
+ </dependencySet>
+
+ <dependencySet>
<outputDirectory>lib</outputDirectory>
- <scope>runtime</scope>
+ <useTransitiveDependencies>true</useTransitiveDependencies>
+ <excludes>
+ <exclude>org.hibernate.beanvalidation.tck:beanvalidation-tck</exclude>
+ </excludes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
- <directory>target</directory>
- <outputDirectory>artifacts</outputDirectory>
- <excludes>
- <exclude>*-javadoc.jar</exclude>
- <exclude>*-sources.jar</exclude>
- </excludes>
- <includes>
- <include>jsr303-tck-*.jar</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>target/docbook/publish/en-US</directory>
+ <directory>../documentation/target/docbook/publish/en-US</directory>
<outputDirectory>docs/manual</outputDirectory>
</fileSet>
<fileSet>
- <directory>${project.basedir}</directory>
- <outputDirectory>.</outputDirectory>
- <includes>
- <include>**/pom.xml</include>
- <include>**/src/**</include>
- </includes>
+ <directory>..</directory>
+ <outputDirectory>src</outputDirectory>
<excludes>
- <exclude>**/src/main/assembly/**</exclude>
- <exclude>**/bin/**</exclude>
<exclude>**/target/**</exclude>
</excludes>
<useDefaultExcludes/>
</fileSet>
<fileSet>
- <directory>${project.basedir}/src/main/resources</directory>
+ <directory>../tck/src/main/resources</directory>
<outputDirectory>/artifacts</outputDirectory>
<includes>
<include>tck-audit.xml</include>
@@ -58,14 +52,14 @@
</includes>
</fileSet>
<fileSet>
- <directory>${project.basedir}/target</directory>
+ <directory>../tck/target</directory>
<outputDirectory>/artifacts</outputDirectory>
<includes>
<include>coverage.html</include>
</includes>
</fileSet>
<fileSet>
- <directory>${project.basedir}</directory>
+ <directory>..</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>license.txt</include>
View
90 documentation/pom.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>tck-parent</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>beanvalidation-tck-documentation</artifactId>
+ <packaging>jdocbook</packaging>
+
+ <name>JSR-349 TCK Documentation</name>
+ <description>>Bean Validation TCK Documentation</description>
+
+ <properties>
+ <jdocbookSourceDirectory>${basedir}/src/main/docbook</jdocbookSourceDirectory>
+ <jdocbook.ignoreTranslations>true</jdocbook.ignoreTranslations>
+ <!-- Skip artifact deployment -->
+ <maven.deploy.skip>true</maven.deploy.skip>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <configuration>
+ <sourceDirectory>${jdocbookSourceDirectory}</sourceDirectory>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <masterTranslation>en-US</masterTranslation>
+ <!--
+ The jdookbook plug-in doesn't define an expression for this property, therefore
+ it can't be passed on the command line. To address this issue the value is retrieved
+ from a custom property, which itself can be set using -DignoreTranslations=...
+ -->
+ <ignoreTranslations>${jdocbook.ignoreTranslations}</ignoreTranslations>
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
+ </stylesheetResource>
+ <finalName>beanvalidation-tck-documentation.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl
+ </stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl
+ </stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its version... -->
+ <docbookVersion>1.72.0</docbookVersion>
+ <localeSeparator>-</localeSeparator>
+ <injectionDateFormat>yyyy-MM-dd</injectionDateFormat>
+ </options>
+ <profiling>
+ <enabled>false</enabled>
+ </profiling>
+ </configuration>
+ <executions>
+ <execution>
+ <!--
+ here we are attaching the translate goal so that the translations are processed
+ before compilation so that the translated XML is also transformed during
+ generation
+ -->
+ <phase>process-resources</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
2  ...book/en-US/background/appeals-process.xml → ...book/en-US/background/appeals-process.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="appeals-process">
View
8 ...ocbook/en-US/background/configuration.xml → ...ocbook/en-US/background/configuration.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="configuration">
@@ -37,11 +37,11 @@
for an implementation to pass the TCK. This file also allows tests to be
excluded from a run:</para>
- <programlisting>&lt;suite name="JSR-303 TCK" verbose="2"&gt;
+ <programlisting><![CDATA[&lt;suite name="JSR-303 TCK" verbose="2"&gt;
&lt;test name="JSR-303 TCK"&gt;
...
&lt;classes&gt;
- &lt;class name="org.hibernate.jsr303.tck.tests.bootstrap.ValidationProviderTest"&gt;
+ &lt;class name="org.hibernate.beanvalidation.tck.tests.bootstrap.ValidationProviderTest"&gt;
&lt;methods&gt;
&lt;exclude name="testFirstMatchingValidationProviderResolverIsReturned"/&gt;
&lt;/methods&gt;
@@ -49,7 +49,7 @@
&lt;/classes&gt;
...
&lt;/test&gt;
-&lt;/suite&gt;</programlisting>
+&lt;/suite&gt;]]></programlisting>
<para>TestNG provides extensive reporting information. Depending on the
build tool or IDE you use, the reporting will take a different format.
View
4 ...docbook/en-US/background/installation.xml → ...docbook/en-US/background/installation.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="installation">
@@ -27,7 +27,7 @@
url="https://github.com/beanvalidation/beanvalidation-tck">https://github.com/beanvalidation/beanvalidation-tck</ulink>.</para>
<para>The TCK project is available in the JBoss Maven repository as
- <filename>org.hibernate.jsr303.tck<code>:</code>org.hibernate.jsr303.tck</filename>
+ <filename>org.hibernate.beanvalidation.tck<code>:</code>beanvalidation-tck</filename>
the POM defines all dependencies required to run the TCK.</para>
<para>Executing the TCK requires a Java EE 6 or better runtime environment
View
2  ...docbook/en-US/background/introduction.xml → ...docbook/en-US/background/introduction.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="introduction">
View
2  ...in/docbook/en-US/background/reporting.xml → ...in/docbook/en-US/background/reporting.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="reporting">
View
2  src/main/docbook/en-US/bookinfo.xml → ...ation/src/main/docbook/en-US/bookinfo.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "tck.ent">
%BOOK_ENTITIES;
]>
<bookinfo>
View
4 ...docbook/en-US/execution/executing-tmp.xml → ...docbook/en-US/execution/executing-tmp.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="executing-test-harness">
@@ -67,7 +67,7 @@
</row>
<row>
- <entry>org.hibernate.jsr303.tck</entry>
+ <entry>org.hibernate.beanvalidation.tck</entry>
<entry>jsr303-tck</entry>
View
2  ...ain/docbook/en-US/execution/executing.xml → ...ain/docbook/en-US/execution/executing.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="executing">
View
2  src/main/docbook/en-US/execution/sigtest.xml → .../main/docbook/en-US/execution/sigtest.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "../jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "../tck.ent">
%BOOK_ENTITIES;
]>
<chapter id="sigtest">
View
2  src/main/docbook/en-US/master.xml → ...ntation/src/main/docbook/en-US/master.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "tck.ent">
%BOOK_ENTITIES;
]>
<book lang="en">
View
17 src/main/docbook/en-US/preface.xml → ...tation/src/main/docbook/en-US/preface.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "jsr303-tck.ent">
+<!ENTITY % BOOK_ENTITIES SYSTEM "tck.ent">
%BOOK_ENTITIES;
]>
<preface id="book-preface">
@@ -78,24 +78,15 @@
<para><xref linkend="reporting"/> explains the test reports that are
generated by the TCK test suite and introduces the TCK audit report as
a tool for measuring the completeness of the TCK in testing the
- JSR-303 specification and in understanding how test cases relate to the
- specification.</para>
+ JSR-303 specification and in understanding how test cases relate to
+ the specification.</para>
</listitem>
<listitem>
<para><xref linkend="executing"/> documents how the TCK test suite is
executed. It covers both modes supported by the TCK, standalone and
in-container, and shows how to dump the generated test artifacts to
- disk.</para>
- </listitem>
-
- <listitem>
- <para><xref linkend="test-harness"/> includes excerpts from the JBoss
- Test Harness Reference Guide. How to configure the JBoss Test Harness
- as it relates to the Bean Validation TCK is presented in <xref
- linkend="configuration"/>. However, to aid in debugging or configuring
- the TCK in your environment, you may want to read in more detail how
- to use the JBoss Test Harness.</para>
+ disk</para>
</listitem>
</itemizedlist>
</section>
View
0  src/main/docbook/en-US/jsr303-tck.ent → documentation/src/main/docbook/en-US/tck.ent
File renamed without changes
View
466 pom.xml
@@ -1,14 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.hibernate.jsr303.tck</groupId>
- <artifactId>jsr303-tck</artifactId>
- <packaging>jar</packaging>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>tck-parent</artifactId>
+ <packaging>pom</packaging>
<version>1.1.0-SNAPSHOT</version>
- <name>JSR-303 TCK</name>
+ <name>JSR-349 TCK Aggregator</name>
<url>http://validator.hibernate.org</url>
- <description>JSR-303 &amp; JSR-349 TCK</description>
+ <description>JSR-349 TCK</description>
+
+ <modules>
+ <module>tests</module>
+ <module>documentation</module>
+ <module>standalone-container-adapter</module>
+ <module>distribution</module>
+ </modules>
+
+ <issueManagement>
+ <system>JIRA</system>
+ <url>http://opensource.atlassian.com/projects/hibernate/browse/BVTCK</url>
+ </issueManagement>
+
+ <inceptionYear>2008</inceptionYear>
+
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:git:git://github.com/beanvalidation/beanvalidation-tck.git</connection>
+ <developerConnection>scm:git:git@github.com:beanvalidation/beanvalidation-tck.git</developerConnection>
+ <url>http://github.com/beanvalidation/beanvalidation-tck</url>
+ </scm>
<developers>
<developer>
@@ -46,38 +75,45 @@
<shrinkwrap.descriptors.version>2.0.0-alpha-2</shrinkwrap.descriptors.version>
</properties>
- <dependencies>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>6.5.2</version>
- </dependency>
- <dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <version>${validation.api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-audit</groupId>
- <artifactId>jboss-test-audit-api</artifactId>
- <version>${jboss.test.audit.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.testng</groupId>
- <artifactId>arquillian-testng-container</artifactId>
- <version>${arquillian.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.shrinkwrap</groupId>
- <artifactId>shrinkwrap-impl-base</artifactId>
- <version>${shrinkwrap.version}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.shrinkwrap.descriptors</groupId>
- <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
- <version>${shrinkwrap.descriptors.version}</version>
- </dependency>
- </dependencies>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>6.5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ <version>${validation.api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-audit</groupId>
+ <artifactId>jboss-test-audit-api</artifactId>
+ <version>${jboss.test.audit.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-audit</groupId>
+ <artifactId>jboss-test-audit-impl</artifactId>
+ <version>${jboss.test.audit.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.testng</groupId>
+ <artifactId>arquillian-testng-container</artifactId>
+ <version>${arquillian.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.shrinkwrap</groupId>
+ <artifactId>shrinkwrap-impl-base</artifactId>
+ <version>${shrinkwrap.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.shrinkwrap.descriptors</groupId>
+ <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
+ <version>${shrinkwrap.descriptors.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
<build>
<defaultGoal>install</defaultGoal>
@@ -104,131 +140,6 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.3.5</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-jdocbook-style</artifactId>
- <version>2.0.1</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${basedir}/src/main/docbook</sourceDirectory>
- <masterTranslation>en-US</masterTranslation>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/pdf.xsl</stylesheetResource>
- <finalName>beanvalidation-tck.pdf</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl
- </stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl
- </stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
- <!-- could also locate the docbook dependency and inspect its version... -->
- <docbookVersion>1.72.0</docbookVersion>
- <localeSeparator>-</localeSeparator>
- </options>
- </configuration>
- <executions>
- <execution>
- <id>make-doc</id>
- <phase>site</phase>
- <goals>
- <goal>resources</goal>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-style-plugin</artifactId>
- <version>2.0.0</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>${basedir}/src/main/resources/tck-tests.xml</file>
- <type>xml</type>
- <classifier>suite</classifier>
- </artifact>
- <artifact>
- <file>${basedir}/src/main/resources/tck-audit.xml</file>
- <type>xml</type>
- <classifier>audit</classifier>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<configuration>
@@ -249,28 +160,72 @@
</configuration>
</plugin>
</plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.5.1</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.3.5</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jdocbook-style</artifactId>
+ <version>2.0.1</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-style-plugin</artifactId>
+ <version>2.0.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
- <issueManagement>
- <system>JIRA</system>
- <url>http://opensource.atlassian.com/projects/hibernate/browse/BVTCK</url>
- </issueManagement>
-
- <inceptionYear>2008</inceptionYear>
-
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <scm>
- <connection>scm:git:git://github.com/beanvalidation/beanvalidation-tck.git</connection>
- <developerConnection>scm:git:git@github.com:beanvalidation/beanvalidation-tck.git</developerConnection>
- <url>http://github.com/beanvalidation/beanvalidation-tck</url>
- </scm>
-
<distributionManagement>
<repository>
<id>jboss-releases-repository</id>
@@ -286,151 +241,6 @@
<profiles>
<profile>
- <id>dump-artifacts</id>
- <activation>
- <property>
- <name>dumpArtifacts</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.2.1</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <executable>java</executable>
- <arguments>
- <argument>-classpath</argument>
- <classpath/>
- <argument>org.hibernate.jsr303.tck.util.ArtifactDumper</argument>
- </arguments>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>tck-audit</id>
- <activation>
- <property>
- <name>tck-audit</name>
- </property>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.jboss.test-audit</groupId>
- <artifactId>jboss-test-audit-impl</artifactId>
- <version>${jboss.test.audit.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>process_annotations</id>
- <phase>process-resources</phase>
- <configuration>
- <tasks>
- <javac srcdir="${basedir}/src/main/java" destdir="${basedir}/target/classes" failonerror="true">
- <compilerarg value="-proc:only"/>
- <compilerarg value="-AauditXml=${basedir}/src/main/resources/tck-audit.xml"/>
- <classpath>
- <path refid="maven.compile.classpath"/>
- </classpath>
- </javac>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>1.7.0</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <compilerArgument>-proc:none</compilerArgument>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-versions</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>1.6</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.2</version>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>${basedir}/src/main/resources/tck-tests.xml</file>
- <type>xml</type>
- <classifier>suite</classifier>
- </artifact>
- <artifact>
- <file>${basedir}/src/main/resources/tck-audit.xml</file>
- <type>xml</type>
- <classifier>audit</classifier>
- </artifact>
- <artifact>
- <file>${basedir}/target/coverage.html</file>
- <type>html</type>
- <classifier>coverage</classifier>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <defaultGoal>compile</defaultGoal>
- </build>
- </profile>
- <profile>
<id>release</id>
<properties>
<createChecksum>true</createChecksum>
View
14 readme.md
@@ -1,7 +1,16 @@
# Bean Validation TCK
-Version: 1.0.6.GA, 26-07-2011
+Version: 1.1.0-SNAPSHOT
-This repository contains the Bean Validation ([JSR 303](http://www.jcp.org/en/jsr/detail?id=303)) TCK.
+This repository contains the Bean Validation TCK - ([JSR 349](http://www.jcp.org/en/jsr/detail?id=349)).
+
+# Building
+
+To build the TCK run
+
+ mvn clean install
+
+After successful execution you can find the full distribution bundles in _distribution/target_. To inspect the different test artifacts
+and the TCK coverage report refer to _tests/target/artifacts_ and _tests/target/coverage-report_ respectively.
# Documentation
@@ -17,3 +26,4 @@ The release notes for this release can be found [here](https://github.com/beanva
The Bean Validation TCK issue tracker is [BVTCK](http://opensource.atlassian.com/projects/hibernate/browse/BVTCK).
+
View
1  ...bernate/jsr303/tck/tests/bootstrap/customprovider/javax.validation.spi.ValidationProvider
@@ -1 +0,0 @@
-org.hibernate.jsr303.tck.common.TCKValidationProvider
View
24 src/main/resources/tck-tests.xml
@@ -1,24 +0,0 @@
-<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
-
-<suite name="JSR-303-TCK" verbose="1">
- <test name="JSR-303-TCK">
-
- <method-selectors>
- <method-selector>
- <selector-class name="org.hibernate.jsr303.tck.util.IntegrationTestsMethodSelector"/>
- </method-selector>
- </method-selectors>
-
- <groups>
- <run>
- <exclude name="underInvestigation"/>
- <exclude name="ri-broken"/>
- <exclude name="broken"/>
- </run>
- </groups>
-
- <packages>
- <package name="org.hibernate.jsr303.tck.tests"/>
- </packages>
- </test>
-</suite>
View
26 standalone-container-adapter/pom.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>tck-parent</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>standalone-container-adapter</artifactId>
+ <packaging>jar</packaging>
+
+ <name>JSR-349 TCK Container Adapter</name>
+ <description>JSR-349 TCK Arquillian Standalone Container Adapter</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.testng</groupId>
+ <artifactId>arquillian-testng-container</artifactId>
+ </dependency>
+ </dependencies>
+</project>
View
76 ...iner-adapter/src/main/java/org/hibernate/validator/tck/arquillian/ArchiveClassLoader.java
@@ -0,0 +1,76 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.validator.tck.arquillian;
+
+import java.io.InputStream;
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.api.asset.Asset;
+import org.jboss.shrinkwrap.api.asset.ByteArrayAsset;
+import org.jboss.shrinkwrap.api.asset.FileAsset;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+
+/**
+ * @author Hardy Ferentschik
+ */
+public class ArchiveClassLoader extends URLClassLoader {
+ private static final String WEB_ARCHIVE_PREFIX = "WEB-INF/classes/";
+ private static final String EMPTY_PREFIX = "";
+ private final Archive archive;
+ private final String archivePrefix;
+
+ public ArchiveClassLoader(ClassLoader classLoader, Archive archive) {
+ super( new URL[] { }, classLoader );
+ this.archive = archive;
+ if ( archive instanceof WebArchive ) {
+ archivePrefix = WEB_ARCHIVE_PREFIX;
+ }
+ else {
+ archivePrefix = EMPTY_PREFIX;
+ }
+ }
+
+ public InputStream getResourceAsStream(String name) {
+ if ( archive.get( archivePrefix + name ) != null ) {
+ return loadFromArchive( archivePrefix + name );
+ }
+ else {
+ return super.getResourceAsStream( name );
+ }
+ }
+
+ private InputStream loadFromArchive(String name) {
+ Asset asset = archive.get( name ).getAsset();
+
+ InputStream in;
+ if ( asset instanceof FileAsset ) {
+ in = asset.openStream();
+ }
+ else if ( asset instanceof ByteArrayAsset ) {
+ in = asset.openStream();
+ }
+ else {
+ throw new RuntimeException( "Unsupported asset type " + asset.toString() );
+ }
+
+ return in;
+ }
+}
+
+
View
90 ...er/src/main/java/org/hibernate/validator/tck/arquillian/BeanValidationLocalContainer.java
@@ -0,0 +1,90 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.validator.tck.arquillian;
+
+import org.jboss.arquillian.container.spi.ConfigurationException;
+import org.jboss.arquillian.container.spi.client.container.ContainerConfiguration;
+import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
+import org.jboss.arquillian.container.spi.client.container.DeploymentException;
+import org.jboss.arquillian.container.spi.client.container.LifecycleException;
+import org.jboss.arquillian.container.spi.client.protocol.ProtocolDescription;
+import org.jboss.arquillian.container.spi.client.protocol.metadata.ProtocolMetaData;
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.descriptor.api.Descriptor;
+
+/**
+ * A dummy Arquillian container in order to run test locally
+ *
+ * @author Hardy Ferentschik
+ */
+public class BeanValidationLocalContainer implements ContainerConfiguration, DeployableContainer {
+ private ClassLoader originalContextClassLoader;
+
+ @Override
+ public Class getConfigurationClass() {
+ return BeanValidationLocalContainerConfiguration.class;
+ }
+
+ @Override
+ public void setup(ContainerConfiguration configuration) {
+ }
+
+ @Override
+ public void start() throws LifecycleException {
+ }
+
+ @Override
+ public void stop() throws LifecycleException {
+ }
+
+ @Override
+ public ProtocolDescription getDefaultProtocol() {
+ return new ProtocolDescription( "Local" );
+ }
+
+ @Override
+ public ProtocolMetaData deploy(Archive archive) throws DeploymentException {
+ originalContextClassLoader = Thread.currentThread().getContextClassLoader();
+ ArchiveClassLoader archiveClassLoader = new ArchiveClassLoader(
+ originalContextClassLoader,
+ archive
+ );
+ Thread.currentThread().setContextClassLoader( archiveClassLoader );
+ return new ProtocolMetaData();
+ }
+
+ @Override
+ public void undeploy(Archive archive) throws DeploymentException {
+ if ( originalContextClassLoader != null ) {
+ Thread.currentThread().setContextClassLoader( originalContextClassLoader );
+ }
+ }
+
+ @Override
+ public void deploy(Descriptor descriptor) throws DeploymentException {
+ }
+
+ @Override
+ public void undeploy(Descriptor descriptor) throws DeploymentException {
+ }
+
+ @Override
+ public void validate() throws ConfigurationException {
+ }
+}
+
+
View
16 ...ava/org/hibernate/validator/tck/arquillian/BeanValidationLocalContainerConfiguration.java
@@ -0,0 +1,16 @@
+package org.hibernate.validator.tck.arquillian;
+
+import org.jboss.arquillian.container.spi.ConfigurationException;
+import org.jboss.arquillian.container.spi.client.container.ContainerConfiguration;
+
+/**
+ * @author Hardy Ferentschik
+ */
+public class BeanValidationLocalContainerConfiguration implements ContainerConfiguration {
+
+ @Override
+ public void validate() throws ConfigurationException {
+ }
+}
+
+
View
34 ...in/java/org/hibernate/validator/tck/arquillian/BeanValidationLocalContainerExtension.java
@@ -0,0 +1,34 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.hibernate.validator.tck.arquillian;
+
+import org.jboss.arquillian.container.spi.client.container.DeployableContainer;
+import org.jboss.arquillian.core.spi.LoadableExtension;
+
+/**
+ * @author Hardy Ferentschik
+ */
+public class BeanValidationLocalContainerExtension implements LoadableExtension
+{
+ @Override
+ public void register(ExtensionBuilder builder)
+ {
+ builder.service(DeployableContainer.class, BeanValidationLocalContainer.class);
+ }
+}
+
+
View
1  ...pter/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension
@@ -0,0 +1 @@
+org.hibernate.validator.tck.arquillian.BeanValidationLocalContainerExtension
View
151 tests/pom.xml
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.hibernate.beanvalidation.tck</groupId>
+ <artifactId>tck-parent</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>beanvalidation-tck</artifactId>
+ <packaging>jar</packaging>
+
+ <name>JSR-349 TCK Test Suite</name>
+ <description>JSR-349 TCK test suite</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-audit</groupId>
+ <artifactId>jboss-test-audit-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.testng</groupId>
+ <artifactId>arquillian-testng-container</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.shrinkwrap</groupId>
+ <artifactId>shrinkwrap-impl-base</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.shrinkwrap.descriptors</groupId>
+ <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>java</executable>
+ <arguments>
+ <argument>-classpath</argument>
+ <classpath/>
+ <argument>org.hibernate.beanvalidation.tck.util.ArtifactDumper</argument>
+ </arguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.bsc.maven</groupId>
+ <artifactId>maven-processor-plugin</artifactId>
+ <version>2.0.4</version>
+ <configuration>
+ <defaultOutputDirectory>${basedir}/target/coverage-report</defaultOutputDirectory>
+ <processors>
+ <processor>org.jboss.test.audit.report.CoverageProcessor</processor>
+ </processors>
+ <compilerArguments>-AauditXml=${basedir}/src/main/resources/tck-audit.xml
+ -AoutputDir=${basedir}/target/coverage-report
+ </compilerArguments>
+ </configuration>
+ <executions>
+ <execution>
+ <id>process</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.test-audit</groupId>
+ <artifactId>jboss-test-audit-impl</artifactId>
+ <version>${jboss.test.audit.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${basedir}/src/main/resources/tck-tests.xml</file>
+ <type>xml</type>
+ <classifier>suite</classifier>
+ </artifact>
+ <artifact>
+ <file>${basedir}/src/main/resources/tck-audit.xml</file>
+ <type>xml</type>
+ <classifier>audit</classifier>
+ </artifact>
+ <artifact>
+ <file>${basedir}/target/coverage.html</file>
+ <type>html</type>
+ <classifier>coverage</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <compilerArgument>-proc:none</compilerArgument>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <createChecksum>true</createChecksum>
+ </properties>
+ </profile>
+ </profiles>
+</project>
View
2  ...303/tck/common/TCKValidationProvider.java → ...ion/tck/common/TCKValidationProvider.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.common;
+package org.hibernate.beanvalidation.tck.common;
import javax.validation.Configuration;
import javax.validation.MessageInterpolator;
View
2  ...tck/common/TCKValidatorConfiguration.java → ...tck/common/TCKValidatorConfiguration.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.common;
+package org.hibernate.beanvalidation.tck.common;
import java.io.InputStream;
import javax.validation.Configuration;
View
8 ...ck/tests/bootstrap/ConfigurationTest.java → ...ck/tests/bootstrap/ConfigurationTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.tests.bootstrap;
+package org.hibernate.beanvalidation.tck.tests.bootstrap;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
@@ -24,16 +24,18 @@
import org.jboss.arquillian.testng.Arquillian;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
import org.testng.annotations.Test;
-import org.hibernate.jsr303.tck.util.TestUtil;
-import org.hibernate.jsr303.tck.util.shrinkwrap.WebArchiveBuilder;
+import org.hibernate.beanvalidation.tck.util.TestUtil;
+import org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder;
import static org.testng.Assert.assertTrue;
/**
* @author Hardy Ferentschik
*/
+@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class ConfigurationTest extends Arquillian {
@Deployment
View
10 ...tstrap/CustomMessageInterpolatorTest.java → ...tstrap/CustomMessageInterpolatorTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.tests.bootstrap;
+package org.hibernate.beanvalidation.tck.tests.bootstrap;
import java.util.Locale;
import java.util.Set;
@@ -32,17 +32,19 @@
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.test.audit.annotations.SpecAssertion;
import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.test.audit.annotations.SpecVersion;
import org.testng.annotations.Test;
-import org.hibernate.jsr303.tck.util.shrinkwrap.WebArchiveBuilder;
+import org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder;
-import static org.hibernate.jsr303.tck.util.TestUtil.assertCorrectConstraintViolationMessages;
-import static org.hibernate.jsr303.tck.util.TestUtil.assertCorrectNumberOfViolations;
+import static org.hibernate.beanvalidation.tck.util.TestUtil.assertCorrectConstraintViolationMessages;
+import static org.hibernate.beanvalidation.tck.util.TestUtil.assertCorrectNumberOfViolations;
import static org.testng.Assert.assertFalse;
/**
* @author Hardy Ferentschik
*/
+@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class CustomMessageInterpolatorTest extends Arquillian {
@Deployment
View
8 ...strap/ValidationProviderResolverTest.java → ...strap/ValidationProviderResolverTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.tests.bootstrap;
+package org.hibernate.beanvalidation.tck.tests.bootstrap;
import java.io.BufferedReader;
import java.io.IOException;
@@ -30,16 +30,18 @@
import org.jboss.arquillian.testng.Arquillian;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.test.audit.annotations.SpecAssertion;
+import org.jboss.test.audit.annotations.SpecVersion;
import org.testng.annotations.Test;
-import org.hibernate.jsr303.tck.util.TestUtil;
-import org.hibernate.jsr303.tck.util.shrinkwrap.WebArchiveBuilder;
+import org.hibernate.beanvalidation.tck.util.TestUtil;
+import org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder;
import static org.testng.Assert.assertTrue;
/**
* @author Hardy Ferentschik
*/
+@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class ValidationProviderResolverTest extends Arquillian {
private static final String SERVICES_FILE = "META-INF/services/" + ValidationProvider.class.getName();
View
12 ...sts/bootstrap/ValidationProviderTest.java → ...sts/bootstrap/ValidationProviderTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.tests.bootstrap;
+package org.hibernate.beanvalidation.tck.tests.bootstrap;
import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;
@@ -32,12 +32,13 @@
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.test.audit.annotations.SpecAssertion;
import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.test.audit.annotations.SpecVersion;
import org.testng.annotations.Test;
-import org.hibernate.jsr303.tck.common.TCKValidationProvider;
-import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
-import org.hibernate.jsr303.tck.util.TestUtil;
-import org.hibernate.jsr303.tck.util.shrinkwrap.WebArchiveBuilder;
+import org.hibernate.beanvalidation.tck.common.TCKValidationProvider;
+import org.hibernate.beanvalidation.tck.common.TCKValidatorConfiguration;
+import org.hibernate.beanvalidation.tck.util.TestUtil;
+import org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder;
import static org.testng.Assert.assertTrue;
import static org.testng.FileAssert.fail;
@@ -45,6 +46,7 @@
/**
* @author Hardy Ferentschik
*/
+@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class ValidationProviderTest extends Arquillian {
@Deployment
View
14 ...stomProviderDefinedInServiceFileTest.java → ...stomProviderDefinedInServiceFileTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
+package org.hibernate.beanvalidation.tck.tests.bootstrap.customprovider;
import javax.validation.Configuration;
import javax.validation.Validation;
@@ -25,13 +25,14 @@
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.test.audit.annotations.SpecAssertion;
import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.test.audit.annotations.SpecVersion;
import org.testng.annotations.Test;
-import org.hibernate.jsr303.tck.common.TCKValidationProvider;
-import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
-import org.hibernate.jsr303.tck.util.IntegrationTest;
-import org.hibernate.jsr303.tck.util.TestUtil;
-import org.hibernate.jsr303.tck.util.shrinkwrap.WebArchiveBuilder;
+import org.hibernate.beanvalidation.tck.common.TCKValidationProvider;
+import org.hibernate.beanvalidation.tck.common.TCKValidatorConfiguration;
+import org.hibernate.beanvalidation.tck.util.IntegrationTest;
+import org.hibernate.beanvalidation.tck.util.TestUtil;
+import org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder;
import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertTrue;
@@ -40,6 +41,7 @@
* @author Hardy Ferentschik
*/
@IntegrationTest
+@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class BootstrapCustomProviderDefinedInServiceFileTest extends Arquillian {
@Deployment
View
12 ...omProviderDefinedInValidationXmlTest.java → ...omProviderDefinedInValidationXmlTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.hibernate.jsr303.tck.tests.bootstrap.customprovider;
+package org.hibernate.beanvalidation.tck.tests.bootstrap.customprovider;
import java.util.ArrayList;
import java.util.List;
@@ -28,12 +28,13 @@
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.test.audit.annotations.SpecAssertion;
import org.jboss.test.audit.annotations.SpecAssertions;
+import org.jboss.test.audit.annotations.SpecVersion;
import org.testng.annotations.Test;
-import org.hibernate.jsr303.tck.common.TCKValidationProvider;
-import org.hibernate.jsr303.tck.common.TCKValidatorConfiguration;
-import org.hibernate.jsr303.tck.util.TestUtil;
-import org.hibernate.jsr303.tck.util.shrinkwrap.WebArchiveBuilder;
+import org.hibernate.beanvalidation.tck.common.TCKValidationProvider;
+import org.hibernate.beanvalidation.tck.common.TCKValidatorConfiguration;
+import org.hibernate.beanvalidation.tck.util.TestUtil;
+import org.hibernate.beanvalidation.tck.util.shrinkwrap.WebArchiveBuilder;
import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertTrue;
@@ -41,6 +42,7 @@
/**
* @author Hardy Ferentschik
*/
+@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class BootstrapCustomProviderDefinedInValidationXmlTest extends Arquillian {
@Deployment