You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2016/05/27 10:30:35 UTC
[2/3] groovy git commit: GROOVY-7826: fix test name
GROOVY-7826: fix test name
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/97505b1d
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/97505b1d
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/97505b1d
Branch: refs/heads/GROOVY_2_4_X
Commit: 97505b1d4ae46eb0cea3cc916ce3cf7403a3d6c6
Parents: dc6f267
Author: paulk <pa...@asert.com.au>
Authored: Fri May 27 20:28:37 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Fri May 27 20:30:10 2016 +1000
----------------------------------------------------------------------
.../org/codehaus/groovy/ast/Groovy7826Bug.java | 41 ++++++++++++++++++++
.../org/codehaus/groovy/ast/Groovy7862Bug.java | 41 --------------------
2 files changed, 41 insertions(+), 41 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/97505b1d/src/test/org/codehaus/groovy/ast/Groovy7826Bug.java
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/Groovy7826Bug.java b/src/test/org/codehaus/groovy/ast/Groovy7826Bug.java
new file mode 100644
index 0000000..c128cee
--- /dev/null
+++ b/src/test/org/codehaus/groovy/ast/Groovy7826Bug.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.ast;
+
+import groovy.lang.GroovyShell;
+import groovy.util.GroovyTestCase;
+import org.codehaus.groovy.control.CompilerConfiguration;
+
+public class Groovy7826Bug extends GroovyTestCase {
+ public void testComplexTypeArguments() throws Exception {
+ String script = "def f(org.codehaus.groovy.ast.Groovy7826Bug.C1 c1) { }";
+
+ CompilerConfiguration config = new CompilerConfiguration();
+ config.getOptimizationOptions().put("asmResolving", false);
+
+ GroovyShell shell = new GroovyShell(config);
+ shell.evaluate(script, "bug7862.groovy");
+ }
+
+ public static class C1<T2 extends C2<T2, T1>, T1 extends C1<T2, T1>> {
+ }
+
+ public static class C2<T2 extends C2<T2, T1>, T1 extends C1<T2, T1>> {
+ }
+}
http://git-wip-us.apache.org/repos/asf/groovy/blob/97505b1d/src/test/org/codehaus/groovy/ast/Groovy7862Bug.java
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/Groovy7862Bug.java b/src/test/org/codehaus/groovy/ast/Groovy7862Bug.java
deleted file mode 100644
index 4d7c1c7..0000000
--- a/src/test/org/codehaus/groovy/ast/Groovy7862Bug.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.ast;
-
-import groovy.lang.GroovyShell;
-import groovy.util.GroovyTestCase;
-import org.codehaus.groovy.control.CompilerConfiguration;
-
-public class Groovy7862Bug extends GroovyTestCase {
- public void testComplexTypeArguments() throws Exception {
- String script = "def f(org.codehaus.groovy.ast.Groovy7862Bug.C1 c1) { }";
-
- CompilerConfiguration config = new CompilerConfiguration();
- config.getOptimizationOptions().put("asmResolving", false);
-
- GroovyShell shell = new GroovyShell(config);
- shell.evaluate(script, "bug7862.groovy");
- }
-
- public static class C1<T2 extends C2<T2, T1>, T1 extends C1<T2, T1>> {
- }
-
- public static class C2<T2 extends C2<T2, T1>, T1 extends C1<T2, T1>> {
- }
-}