Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial stubs for migration of _GrailsTest.groovy logic

  • Loading branch information...
commit acfbfc35bb6db0b0cafa3d792ce7d33108e86507 1 parent fc54c30
@graemerocher graemerocher authored
View
38 grails-test/src/main/groovy/org/codehaus/groovy/grails/test/runner/GrailsProjectTestCompiler.groovy
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2012 SpringSource
+ *
+ * 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.codehaus.groovy.grails.test.runner
+
+import grails.util.PluginBuildSettings
+import org.codehaus.groovy.grails.compiler.GrailsProjectCompiler
+
+/**
+ * TODO: Migrate _GrailsTest.groovy logic to here
+ *
+ * @author Graeme Rocher
+ */
+class GrailsProjectTestCompiler extends GrailsProjectCompiler{
+ /**
+ * Constructs a new GrailsProjectTestCompiler instance for the given PluginBuildSettings and optional classloader
+ *
+ * @param pluginBuildSettings The PluginBuildSettings
+ * @param rootLoader The ClassLoader
+ */
+ GrailsProjectTestCompiler(PluginBuildSettings pluginBuildSettings, ClassLoader rootLoader = Thread.currentThread().getContextClassLoader()) {
+ super(pluginBuildSettings, rootLoader)
+ }
+
+
+}
View
26 grails-test/src/main/groovy/org/codehaus/groovy/grails/test/runner/GrailsProjectTestRunner.groovy
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2012 SpringSource
+ *
+ * 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.codehaus.groovy.grails.test.runner
+
+/**
+ *
+ * TODO: Migrate _GrailsTest.groovy logic to here
+ *
+ * @author Graeme Rocher
+ * @since 2.3
+ */
+class GrailsProjectTestRunner {
+}
Please sign in to comment.
Something went wrong with that request. Please try again.