Permalink
Browse files

moved remaining tests in 'grails-uber-test-suite' sub project

  • Loading branch information...
graemerocher committed Feb 22, 2011
1 parent c434df7 commit b0a669bbde1f5086ded2cfa3863e5ed7df31b207
Showing with 91 additions and 21 deletions.
  1. +3 −0 .gitignore
  2. +50 −0 grails-core/src/main/groovy/grails/spring/WebBeanBuilder.java
  3. 0 ...ate/src/test/groovy}/org/codehaus/groovy/grails/plugins/RelationshipManagementMethodsTests.groovy
  4. 0 ...ils-hibernate/src/test/groovy}/org/codehaus/groovy/grails/validation/SharedConstraintTests.groovy
  5. 0 ...rnate/src/test/groovy}/org/codehaus/groovy/grails/validation/VetoingNullableBehaviourTests.groovy
  6. 0 ...te/src/test/groovy}/org/codehaus/groovy/grails/web/binding/DataBindingWithAssociationTests.groovy
  7. 0 ...rnate/src/test/groovy}/org/codehaus/groovy/grails/web/binding/DataBindingWithEmbeddedTests.groovy
  8. 0 ...oovy}/org/codehaus/groovy/grails/web/binding/DataBindingWithUnidirectionalAssociationTests.groovy
  9. 0 ...t → grails-plugin-url-mappings/src/test/groovy}/grails/test/GrailsUrlMappingsTestCaseTests.groovy
  10. +3 −4 grails-test-suite-base/build.gradle
  11. +1 −2 ...e/src/main/groovy/org/codehaus/groovy/grails/web/servlet/mvc/AbstractGrailsControllerTests.groovy
  12. +12 −0 grails-uber-test-suite/build.gradle
  13. 0 {src/test → grails-uber-test-suite/src/test/groovy}/WEB-INF/grails-app/views/layouts/test.gsp
  14. 0 ...t → grails-uber-test-suite/src/test/groovy}/WEB-INF/grails-app/views/layouts/test2/testAction.gsp
  15. 0 .../test → grails-uber-test-suite/src/test/groovy}/WEB-INF/grails-app/views/render/_testTemplate.gsp
  16. 0 {src/test → grails-uber-test-suite/src/test/groovy}/WEB-INF/spring/resources.xml
  17. 0 {src/test → grails-uber-test-suite/src/test/groovy}/application.properties
  18. 0 {src/test → grails-uber-test-suite/src/test/groovy}/defaultErrorMessages.properties
  19. 0 {src/test → grails-uber-test-suite/src/test/groovy}/ehcache.xml
  20. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/ant/GrailsTaskTests.groovy
  21. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/persistence/EntityTransformTests.groovy
  22. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/spring/BeanBuilderTests.groovy
  23. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/spring/DynamicElementReaderTests.groovy
  24. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/spring/resources1.groovy
  25. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/spring/test.xml
  26. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/ControllerUnitTestCaseTests.groovy
  27. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/GrailsMockTests.groovy
  28. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/GrailsUnitTestCaseTests.groovy
  29. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/MetaTestHelper.groovy
  30. 0 .../test → grails-uber-test-suite/src/test/groovy}/grails/test/MockDomainWithInheritanceTests.groovy
  31. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/MockForTests.groovy
  32. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/MockUtilsAndHasManyTests.groovy
  33. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/MockUtilsDeleteDomainTests.groovy
  34. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/MockUtilsSaveDomainTests.groovy
  35. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/MockUtilsTests.groovy
  36. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/test/TagLibUnitTestCaseTests.groovy
  37. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/BuildScopeTests.groovy
  38. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/BuildSettingsTests.groovy
  39. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/ClosureToMapPopulatorTests.groovy
  40. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/DomainBuilderTests.java
  41. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/EnvironmentTests.groovy
  42. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/GrailsNameUtilsTests.java
  43. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/GrailsUtilTests.java
  44. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/GrailsWebUtilTests.groovy
  45. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/JSonBuilderTests.java
  46. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/MetadataTests.groovy
  47. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/util/PluginBuildSettingsTests.groovy
  48. 0 {src/test → grails-uber-test-suite/src/test/groovy}/grails/web/JSONBuilderTests.groovy
  49. 0 {src/test → grails-uber-test-suite/src/test/groovy}/hibernate-configuration-2.0.dtd
  50. 0 {src/test → grails-uber-test-suite/src/test/groovy}/hibernate-mapping-2.0.dtd
  51. 0 {src/test → grails-uber-test-suite/src/test/groovy}/log4j.properties
  52. 0 ... → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/cli/AbstractCliTests.groovy
  53. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/cli/ScriptNameResolverTests.groovy
  54. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/cli/support/GrailsBuildHelperTests.groovy
  55. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/cli/support/JndiBindingSupportTests.groovy
  56. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/BootStrapArtefactHandlerTests.java
  57. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/CodecArtefactHandlerTests.java
  58. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/ControllerArtefactHandlerTests.java
  59. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/DefaultArtefactInfoTests.groovy
  60. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/DefaultGrailsCodecClassTests.groovy
  61. 0 ...suite/src/test/groovy}/org/codehaus/groovy/grails/commons/DefaultGrailsControllerClass2Tests.java
  62. 0 ...uite/src/test/groovy}/org/codehaus/groovy/grails/commons/DefaultGrailsControllerClassTests.groovy
  63. 0 .../src/test/groovy}/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClassPropertyTests.groovy
  64. 0 ...st-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClassTests.groovy
  65. 0 ...st-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/DomainClassArtefactHandlerTests.java
  66. 0 ... grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsClassTests.java
  67. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsClassUtilsTests.java
  68. +2 −2 ...suite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsDomainConfigurationUtilTests.java
  69. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsMetaClassUtilsTests.groovy
  70. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsPluginManagerDescriptorTests.groovy
  71. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsPluginManagerTests.groovy
  72. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/GrailsResourceUtilsTests.java
  73. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/MultipleClassesPerFileTests.java
  74. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/ServiceArtefactHandlerTests.java
  75. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/TagLibArtefactHandlerTests.java
  76. 0 {src/test → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/TestBean.java
  77. 0 ...st → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/TestReload.groovy
  78. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/UrlMappingsArtefactHandlerTests.groovy
  79. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/cfg/ConfigurationHelperTests.groovy
  80. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/cfg/ExampleConfig.properties
  81. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/cfg/ExampleConfigClassObject.groovy
  82. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/cfg/ExampleConfigCompiledClass.groovy
  83. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/cfg/ExampleConfigDefaults.groovy
  84. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/cfg/ExampleConfigScript.groovy
  85. 0 .../test → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/classes.groovy
  86. 0 ...est/groovy}/org/codehaus/groovy/grails/commons/metaclass/ClosureInvokingDynamicMethodTests.groovy
  87. 0 ...t/groovy}/org/codehaus/groovy/grails/commons/metaclass/DynamicMethodsExpandoMetaClassTests.groovy
  88. 0 ...src/test/groovy}/org/codehaus/groovy/grails/commons/metaclass/DynamicMethodsInterceptorTests.java
  89. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/metaclass/DynamicMethodsTests.java
  90. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/commons/metaclass/LazyMetaPropertyMapTests.groovy
  91. 0 ...suite/src/test/groovy}/org/codehaus/groovy/grails/commons/metaclass/MetaClassEnhancerTests.groovy
  92. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/spring/GrailsMockDependantObject.java
  93. 0 ...te/src/test/groovy}/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfiguratorTests.java
  94. 0 {src/test → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/commons/test-web.xml
  95. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/compiler/GrailsClassLoaderTests.groovy
  96. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/compiler/injection/GrailsASTUtilsTests.groovy
  97. 0 ...vy}/org/codehaus/groovy/grails/context/support/PluginAwareResourceBundleMessageSourceTests.groovy
  98. 0 ...t/groovy}/org/codehaus/groovy/grails/documentation/MetadataGeneratingExpandoMetaClassTests.groovy
  99. 0 ...ovy}/org/codehaus/groovy/grails/documentation/MetadataGeneratingMetaClassCreationHandleTests.java
  100. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/CircularRelationship.groovy
  101. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/HeirarchyDomainClassTests.java
  102. 0 ...→ grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/ManyToManyTest.groovy
  103. 0 ...→ grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/OneToManyTest2.groovy
  104. 0 ...t → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/OneToOneTest.groovy
  105. 0 ...rails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/RelationshipsTest.groovy
  106. 0 {src/test → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/Test1.groovy
  107. 0 {src/test → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/Test2.groovy
  108. 0 ...grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/domain/UniOneToManyTest.groovy
  109. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/ClassEditorGrailsPlugin.groovy
  110. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/CoreGrailsPluginTests.groovy
  111. 0 ...st-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/DefaultGrailsPluginManagerTests.java
  112. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/DefaultGrailsPluginTests.java
  113. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/DomainClassGrailsPluginTests.groovy
  114. 0 ...ails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/GrailsPluginTests.groovy
  115. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/GrailsPluginUtilsTests.groovy
  116. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/PluginDescriptorReaderTests.groovy
  117. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/PluginFilterFactoryTests.java
  118. 0 ...grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/PluginFilterTests.java
  119. 0 ...grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/PluginInfoTests.groovy
  120. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/PluginLoadOrderTests.groovy
  121. 0 ...est → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/PluginTests.java
  122. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/ValidationGrailsPluginTests.groovy
  123. 0 ...src/test/groovy}/org/codehaus/groovy/grails/plugins/datasource/DataSourceGrailsPluginTests.groovy
  124. 0 .../groovy}/org/codehaus/groovy/grails/plugins/grails-app/conf/NonPooledApplicationDataSource.groovy
  125. 0 ...est/groovy}/org/codehaus/groovy/grails/plugins/grails-app/conf/PooledApplicationDataSource.groovy
  126. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/grails-app/services/TestService.groovy
  127. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/i18n/I18nGrailsPluginTests.groovy
  128. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/logging/Log4jDslTests.groovy
  129. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/plugins/metadata/GrailsPluginMetadataTests.groovy
  130. 0 ...src/test/groovy}/org/codehaus/groovy/grails/plugins/publishing/DefaultPluginPublisherTests.groovy
  131. 0 ...c/test/groovy}/org/codehaus/groovy/grails/plugins/services/ScopedProxyAndServiceClassTests.groovy
  132. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/plugins/services/ServicesGrailsPluginTests.groovy
  133. 0 .../test/groovy}/org/codehaus/groovy/grails/plugins/testing/GrailsMockHttpServletRequestTests.groovy
  134. 0 ...test/groovy}/org/codehaus/groovy/grails/plugins/testing/GrailsMockHttpServletResponseTests.groovy
  135. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/plugins/testing/GrailsMockHttpSessionTests.groovy
  136. 0 ...suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/web/ControllersGrailsPluginTests.groovy
  137. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/web/LoggingGrailsPluginTests.groovy
  138. 0 ...st-suite/src/test/groovy}/org/codehaus/groovy/grails/plugins/web/ServletsGrailsPluginTests.groovy
  139. 0 ...c/test/groovy}/org/codehaus/groovy/grails/plugins/web/mapping/UrlMappingsGrailsPluginTests.groovy
  140. 0 ...ails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/reload/ServiceReloadTests.groovy
  141. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/reload/SpringProxiedBeanReloadTests.groovy
  142. 0 ...rails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/reload/TagLibReloadTests.groovy
  143. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/reload/TransactionalServiceReloadTests.groovy
  144. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/resolve/GrailsRepoResolverTests.groovy
  145. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/resolve/IvyDependencyManagerTests.groovy
  146. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/support/DevelopmentResourceLoaderTests.java
  147. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/support/StaticResourceLoaderTests.java
  148. 0 ...uite/src/test/groovy}/org/codehaus/groovy/grails/test/support/ControllerNameExtractorTests.groovy
  149. +14 −0 ...st-suite/src/test/groovy/org/codehaus/groovy/grails/test/support/MockHibernatePluginHelper.groovy
  150. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/AbstractConstraintTests.java
  151. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/BlankConstraintTests.java
  152. 0 ...st/groovy}/org/codehaus/groovy/grails/validation/ConstrainedPropertyBuiderForCommandsTests.groovy
  153. +2 −2 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/ConstrainedPropertyTests.java
  154. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/ConstraintMessageTests.groovy
  155. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/ConstraintsBuilderTests.groovy
  156. +2 −2 ...te/src/test/groovy}/org/codehaus/groovy/grails/validation/ConstraintsEvaluatingPropertyTests.java
  157. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/CreditCardConstraintTests.java
  158. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/EmailConstraintTests.java
  159. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/validation/GrailsDomainClassValidatorTests.groovy
  160. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/InListConstraintTests.java
  161. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/MatchesConstraintTests.java
  162. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/MaxConstraintTests.java
  163. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/MaxSizeConstraintTests.java
  164. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/MinConstraintTests.java
  165. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/MinSizeConstraintTests.java
  166. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/NotEqualConstraintTests.java
  167. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/NullableConstraint2Tests.java
  168. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/NullableConstraintTests.groovy
  169. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/RangeConstraintTests.java
  170. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/ScaleConstraintTests.java
  171. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/SizeConstraintTests.java
  172. 0 ...st → grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/TestClass.java
  173. 0 ...ils-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/TestConstraints.groovy
  174. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/UrlConstraintTests.java
  175. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/ValidatorConstraintTests.java
  176. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/routines/DomainValidatorTests.java
  177. 0 ...te/src/test/groovy}/org/codehaus/groovy/grails/validation/routines/InetAddressValidatorTests.java
  178. 0 ...st-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/routines/RegexValidatorTests.java
  179. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/routines/ResultPair.java
  180. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/validation/routines/UrlValidatorTests.java
  181. 0 .../src/test/groovy}/org/codehaus/groovy/grails/web/binding/BindStringArrayToGenericListTests.groovy
  182. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/BindToEnumTests.groovy
  183. 0 ...te/src/test/groovy}/org/codehaus/groovy/grails/web/binding/BindToObjectWithEmbeddableTests.groovy
  184. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/BindToReadOnlyPropertyTests.groovy
  185. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/BindingToNullableTests.groovy
  186. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/CheckboxBindingTests.groovy
  187. 0 ...rc/test/groovy}/org/codehaus/groovy/grails/web/binding/DataBindingLazyMetaPropertyMapTests.groovy
  188. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/DataBindingTests.groovy
  189. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/EnumBindingTests.groovy
  190. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/GrailsDataBinderTests.java
  191. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/binding/JSONBindingTests.groovy
  192. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/context/GrailsConfigUtilsTests.groovy
  193. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/web/errors/GrailsExceptionResolverTests.groovy
  194. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/web/filters/HiddenHttpMethodFilterTests.groovy
  195. 0 ...c/test/groovy}/org/codehaus/groovy/grails/web/i18n/ParamsAwareLocaleChangeInterceptorTests.groovy
  196. 0 ...rails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/json/JSONObjectTests.groovy
  197. 0 ...uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/metaclass/ChainMethodTests.groovy
  198. 0 ...er-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/metaclass/ForwardMethodTests.groovy
  199. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/metaclass/WithFormMethodTests.groovy
  200. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/web/plugins/support/MyHandlerInterceptor.java
  201. 0 ...uite/src/test/groovy}/org/codehaus/groovy/grails/web/plugins/support/MyWebRequestInterceptor.java
  202. 0 .../src/test/groovy}/org/codehaus/groovy/grails/web/plugins/support/web-interceptor-wiring-tests.xml
  203. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/BindDataMethodTests.groovy
  204. 0 ...est/groovy}/org/codehaus/groovy/grails/web/servlet/DefaultGrailsApplicationAttributesTests.groovy
  205. 0 ...st-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/FlashScopeWithErrorsTests.groovy
  206. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/GrailsApplicationAttributesTests.java
  207. 0 ...t-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/GrailsDispatcherServletTests.java
  208. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/GrailsFlashScopeTests.java
  209. 0 ...-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/GrailsHttpSessionTests.groovy
  210. 0 ...rc/test/groovy}/org/codehaus/groovy/grails/web/servlet/MultipleRenderCallsContentTypeTests.groovy
  211. 0 ...-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/RenderMethodTests.groovy
  212. 0 .../src/test/groovy}/org/codehaus/groovy/grails/web/servlet/filter/AbstractServletFilterTests.groovy
  213. 0 ...rc/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/CommandObjectActionMethodsTests.groovy
  214. 0 ...roovy}/org/codehaus/groovy/grails/web/servlet/mvc/CommandObjectEnhancementAppliedOnceTests.groovy
  215. 0 ...suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/CommandObjectErrorsTests.groovy
  216. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/CommandObjectsTests.groovy
  217. 0 ...ite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/ControllerInheritanceTests.groovy
  218. 0 ...src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/ControllersDynamicMethodsTests.groovy
  219. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/GrailsParameterMapTests.groovy
  220. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/ParamsObjectTests.groovy
  221. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/RedirectMethodTests.groovy
  222. 0 ...e/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/RedirectToDefaultActionTests.groovy
  223. 0 ...suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/RenderDynamicMethodTests.groovy
  224. 0 ...e/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/ReturnModelAndViewController.groovy
  225. 0 .../test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsControllerHelperTests.groovy
  226. 0 ...uite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsControllerTests.java
  227. 0 ...uite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/TagLibDynamicMethodsTests.groovy
  228. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/controller1.groovy
  229. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/controller2.groovy
  230. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/controller4.groovy
  231. 0 ...te/src/test/groovy}/org/codehaus/groovy/grails/web/servlet/mvc/simple-grails-controller-tests.xml
  232. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/sitemesh/FactoryHolderTests.groovy
  233. 0 ...-suite/src/test/groovy}/org/codehaus/groovy/grails/web/sitemesh/FullSitemeshLifeCycleTests.groovy
  234. 0 ...r-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/sitemesh/GSPSitemeshPageTests.groovy
  235. 0 ...te/src/test/groovy}/org/codehaus/groovy/grails/web/sitemesh/GrailsLayoutDecoratorMapperTests.java
  236. 0 ...e/src/test/groovy}/org/codehaus/groovy/grails/web/util/BoundedCharsAsEncodedBytesCounterTest.java
  237. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/CodecPrintWriterTest.java
  238. 0 ...test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/CodecWithClosureProperties.groovy
  239. 0 ...ls-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/StreamByteBufferTest.java
  240. 0 ...est-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/StreamCharBufferGroovyTests.groovy
  241. 0 ...s-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/StreamCharBufferTests.java
  242. 0 ...ber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/TypeConvertingMapTests.groovy
  243. 0 ... grails-uber-test-suite/src/test/groovy}/org/codehaus/groovy/grails/web/util/WebUtilsTests.groovy
  244. +2 −1 settings.gradle
  245. +0 −8 src/test/org/codehaus/groovy/grails/web/servlet/mvc/controller5.groovy
View
@@ -18,4 +18,7 @@ idea
.project
/.settings
/*/build/*
+/*/.settings/*
+/*/out/*
+/*/*.iml
/eclipse-build
@@ -0,0 +1,50 @@
+/* Copyright 2004-2005 Graeme Rocher
+ *
+ * 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 grails.spring;
+
+import org.codehaus.groovy.grails.commons.spring.RuntimeSpringConfiguration;
+import org.codehaus.groovy.grails.commons.spring.WebRuntimeSpringConfiguration;
+import org.springframework.context.ApplicationContext;
+
+/**
+ * Extended version of the BeanBuilder class that provides support for constructing WebApplicationContext instances
+ *
+ * @author Graeme Rocher
+ * @since 1.0
+ * <p/>
+ * Created: Nov 23, 2007
+ */
+public class WebBeanBuilder extends BeanBuilder {
+
+ public WebBeanBuilder() {
+ super();
+ }
+
+ public WebBeanBuilder(ClassLoader classLoader) {
+ super(classLoader);
+ }
+
+ public WebBeanBuilder(ApplicationContext parent) {
+ super(parent);
+ }
+
+ public WebBeanBuilder(ApplicationContext parent, ClassLoader classLoader) {
+ super(parent, classLoader);
+ }
+
+ protected RuntimeSpringConfiguration createRuntimeSpringConfiguration(ApplicationContext parent, ClassLoader classLoader) {
+ return new WebRuntimeSpringConfiguration(parent, classLoader);
+ }
+}
@@ -4,10 +4,9 @@ dependencies {
project(':grails-core'),
project(':grails-spring'),
project(':grails-web'),
- project(':grails-test'),
- project(':grails-plugin-testing')
-
-
+ project(':grails-test')
+
+
}
jar.appendix = 'test-suite-base'
@@ -1,6 +1,5 @@
package org.codehaus.groovy.grails.web.servlet.mvc
-import grails.test.GrailsUnitTestCase
import grails.util.GrailsWebUtil
import org.codehaus.groovy.grails.commons.DefaultGrailsApplication
import org.codehaus.groovy.grails.commons.GrailsApplication
@@ -22,7 +21,7 @@ import org.codehaus.groovy.grails.web.pages.GroovyPagesUriService
import org.codehaus.groovy.grails.commons.spring.GrailsApplicationContext
import org.springframework.context.ApplicationContext
-abstract class AbstractGrailsControllerTests extends GrailsUnitTestCase {
+abstract class AbstractGrailsControllerTests extends GroovyTestCase {
def servletContext
GrailsWebRequest webRequest
@@ -0,0 +1,12 @@
+// dependencies
+dependencies {
+ compile project(':grails-hibernate'),
+ project(':grails-test-suite-base'),
+ project(':grails-plugin-testing')
+}
+
+test {
+// maxParallelForks = 4
+ forkEvery = 100
+ maxHeapSize = '1024m'
+}
File renamed without changes.
@@ -28,7 +28,7 @@
import org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsDomainBinder;
import org.codehaus.groovy.grails.plugins.MockGrailsPluginManager;
import org.codehaus.groovy.grails.plugins.PluginManagerHolder;
-import org.codehaus.groovy.grails.scaffolding.DefaultGrailsTemplateGeneratorTests;
+import org.codehaus.groovy.grails.test.support.MockHibernatePluginHelper;
import org.codehaus.groovy.grails.validation.ConstrainedProperty;
import org.codehaus.groovy.grails.validation.NullableConstraint;
import org.hibernate.cfg.ImprovedNamingStrategy;
@@ -47,7 +47,7 @@ protected void setUp() throws Exception {
ExpandoMetaClass.enableGlobally();
MockGrailsPluginManager pluginManager = new MockGrailsPluginManager();
PluginManagerHolder.setPluginManager(pluginManager);
- pluginManager.registerMockPlugin(DefaultGrailsTemplateGeneratorTests.fakeHibernatePlugin);
+ pluginManager.registerMockPlugin(MockHibernatePluginHelper.FAKE_HIBERNATE_PLUGIN);
}
@Override
@@ -0,0 +1,14 @@
+package org.codehaus.groovy.grails.test.support
+
+import org.codehaus.groovy.grails.plugins.GrailsPlugin
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: graemerocher
+ * Date: 22/02/2011
+ * Time: 12:40
+ * To change this template use File | Settings | File Templates.
+ */
+class MockHibernatePluginHelper {
+ public static GrailsPlugin FAKE_HIBERNATE_PLUGIN = [getName: { -> 'hibernate' }] as GrailsPlugin
+}
@@ -18,7 +18,7 @@
import org.codehaus.groovy.grails.commons.GrailsDomainClass;
import org.codehaus.groovy.grails.plugins.MockGrailsPluginManager;
import org.codehaus.groovy.grails.plugins.PluginManagerHolder;
-import org.codehaus.groovy.grails.scaffolding.DefaultGrailsTemplateGeneratorTests;
+import org.codehaus.groovy.grails.test.support.MockHibernatePluginHelper;
import org.springframework.validation.BindException;
import org.springframework.validation.Errors;
@@ -31,7 +31,7 @@ protected void setUp() throws Exception {
super.setUp();
MockGrailsPluginManager pluginManager = new MockGrailsPluginManager();
PluginManagerHolder.setPluginManager(pluginManager);
- pluginManager.registerMockPlugin(DefaultGrailsTemplateGeneratorTests.fakeHibernatePlugin);
+ pluginManager.registerMockPlugin(MockHibernatePluginHelper.FAKE_HIBERNATE_PLUGIN);
}
@Override
@@ -11,7 +11,7 @@
import org.codehaus.groovy.grails.commons.GrailsDomainClass;
import org.codehaus.groovy.grails.plugins.MockGrailsPluginManager;
import org.codehaus.groovy.grails.plugins.PluginManagerHolder;
-import org.codehaus.groovy.grails.scaffolding.DefaultGrailsTemplateGeneratorTests;
+import org.codehaus.groovy.grails.test.support.MockHibernatePluginHelper;
public class ConstraintsEvaluatingPropertyTests extends TestCase {
@@ -20,7 +20,7 @@ protected void setUp() throws Exception {
super.setUp();
MockGrailsPluginManager pluginManager = new MockGrailsPluginManager();
PluginManagerHolder.setPluginManager(pluginManager);
- pluginManager.registerMockPlugin(DefaultGrailsTemplateGeneratorTests.fakeHibernatePlugin);
+ pluginManager.registerMockPlugin(MockHibernatePluginHelper.FAKE_HIBERNATE_PLUGIN);
}
@Override
View
@@ -27,5 +27,6 @@ include 'grails-bootstrap',
'grails-plugin-testing',
// Test Suite
- 'grails-test-suite-base'
+ 'grails-test-suite-base',
+ 'grails-uber-test-suite'
@@ -1,8 +0,0 @@
-import grails.util.OpenRicoBuilder
-
-class NoViewController {
- Closure list = { request, response ->
- new OpenRicoBuilder(response).ajax { element(id:"test") { } }
- null
- }
-}

0 comments on commit b0a669b

Please sign in to comment.