Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit de36b43

Browse files
authored
Merge pull request #275 from jdaugherty/7.0.x
#13552 Integrate test app from grails/grails-testing-support into grails-functional-tests
2 parents 2ea28b5 + b411246 commit de36b43

File tree

113 files changed

+14278
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+14278
-0
lines changed

Diff for: demo33/build.gradle

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
buildscript {
2+
repositories {
3+
maven { url "https://repo.grails.org/grails/core" }
4+
}
5+
dependencies {
6+
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
7+
classpath "org.grails.plugins:views-gradle:$viewsVersion"
8+
}
9+
}
10+
11+
group "org.grails"
12+
version '0.0.1'
13+
14+
apply plugin:"org.grails.grails-web"
15+
apply plugin:"org.grails.plugins.views-json"
16+
apply plugin: "org.grails.grails-gsp"
17+
18+
dependencies {
19+
implementation platform("org.grails:grails-bom:$grailsVersion")
20+
21+
implementation "org.springframework.boot:spring-boot-starter-logging"
22+
implementation "org.springframework.boot:spring-boot-autoconfigure"
23+
implementation "org.grails:grails-core"
24+
implementation "org.springframework.boot:spring-boot-starter-actuator"
25+
implementation "org.springframework.boot:spring-boot-starter-tomcat"
26+
implementation "org.grails:grails-web-boot"
27+
implementation "org.grails:grails-logging"
28+
implementation "org.grails:grails-plugin-rest"
29+
implementation "org.grails:grails-plugin-databinding"
30+
implementation "org.grails:grails-plugin-i18n"
31+
implementation "org.grails:grails-plugin-services"
32+
implementation "org.grails:grails-plugin-url-mappings"
33+
implementation "org.grails:grails-plugin-interceptors"
34+
implementation "org.grails.plugins:cache"
35+
implementation "org.grails.plugins:async"
36+
implementation "org.grails.plugins:scaffolding"
37+
implementation "org.grails.plugins:events"
38+
implementation "org.grails.plugins:hibernate5"
39+
implementation "org.hibernate:hibernate-core-jakarta"
40+
implementation "org.grails.plugins:gsp"
41+
implementation "org.grails.plugins:views-json"
42+
implementation "org.grails.plugins:views-json-templates"
43+
console "org.grails:grails-console"
44+
profile "org.grails.profiles:web"
45+
runtimeOnly "com.h2database:h2"
46+
runtimeOnly "org.apache.tomcat:tomcat-jdbc"
47+
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails"
48+
49+
testImplementation 'org.grails:grails-web-testing-support'
50+
testImplementation 'org.grails:grails-gorm-testing-support'
51+
}
52+
53+
bootRun {
54+
ignoreExitValue true
55+
jvmArgs(
56+
'-Dspring.output.ansi.enabled=always',
57+
'-noverify',
58+
'-XX:TieredStopAtLevel=1',
59+
'-Xmx1024m')
60+
sourceResources sourceSets.main
61+
String springProfilesActive = 'spring.profiles.active'
62+
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
63+
}
64+
65+
tasks.withType(GroovyCompile) {
66+
configure(groovyOptions) {
67+
forkOptions.jvmArgs = ['-Xmx1024m']
68+
}
69+
}
70+
71+
tasks.withType(Jar).configureEach {
72+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
73+
}
74+
75+
compileTestGroovy.dependsOn(compileGsonViews)
14.6 KB
Loading

Diff for: demo33/grails-app/assets/images/apple-touch-icon.png

5.31 KB
Loading

Diff for: demo33/grails-app/assets/images/favicon.ico

9.9 KB
Binary file not shown.
Loading
658 Bytes
Loading
659 Bytes
Loading
767 Bytes
Loading
755 Bytes
Loading
726 Bytes
Loading

Diff for: demo33/grails-app/assets/images/skin/exclamation.png

701 Bytes
Loading

Diff for: demo33/grails-app/assets/images/skin/house.png

806 Bytes
Loading

Diff for: demo33/grails-app/assets/images/skin/information.png

778 Bytes
Loading

Diff for: demo33/grails-app/assets/images/skin/shadow.jpg

300 Bytes
Loading

Diff for: demo33/grails-app/assets/images/skin/sorted_asc.gif

835 Bytes
Loading

Diff for: demo33/grails-app/assets/images/skin/sorted_desc.gif

834 Bytes
Loading

Diff for: demo33/grails-app/assets/images/spinner.gif

1.99 KB
Loading

Diff for: demo33/grails-app/assets/javascripts/application.js

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// This is a manifest file that'll be compiled into application.js.
2+
//
3+
// Any JavaScript file within this directory can be referenced here using a relative path.
4+
//
5+
// You're free to add application-wide JavaScript to this file, but it's generally better
6+
// to create separate JavaScript files as needed.
7+
//
8+
//= require jquery-2.2.0.min
9+
//= require bootstrap
10+
//= require_tree .
11+
//= require_self
12+
13+
if (typeof jQuery !== 'undefined') {
14+
(function($) {
15+
$(document).ajaxStart(function() {
16+
$('#spinner').fadeIn();
17+
}).ajaxStop(function() {
18+
$('#spinner').fadeOut();
19+
});
20+
})(jQuery);
21+
}

0 commit comments

Comments
 (0)