groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject groovy git commit: Add bare get/set/is methods to test file to ensure they are handled by processPropertiesFromGetterSetter
Date Tue, 26 Jan 2016 17:17:33 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 13c0bda2a -> 51504fa42


Add bare get/set/is methods to test file to ensure they are handled by processPropertiesFromGetterSetter


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/51504fa4
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/51504fa4
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/51504fa4

Branch: refs/heads/master
Commit: 51504fa4277e78e124ff5b28769c8749f6468361
Parents: 13c0bda
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Tue Jan 26 09:11:21 2016 -0800
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Tue Jan 26 09:16:01 2016 -0800

----------------------------------------------------------------------
 .../testfiles/GeneratePropertyFromGetSet.groovy | 29 ++++++++++++++++++++
 1 file changed, 29 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/51504fa4/subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/GeneratePropertyFromGetSet.groovy
----------------------------------------------------------------------
diff --git a/subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/GeneratePropertyFromGetSet.groovy
b/subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/GeneratePropertyFromGetSet.groovy
index 541d5d6..731cb49 100644
--- a/subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/GeneratePropertyFromGetSet.groovy
+++ b/subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/GeneratePropertyFromGetSet.groovy
@@ -1,3 +1,21 @@
+/*
+ *  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.tools.groovydoc.testfiles;
 
 public class GeneratePropertyFromGetSet {
@@ -57,4 +75,15 @@ public class GeneratePropertyFromGetSet {
 
     public void setTestBoolean2(boolean a){
     }
+
+    public void set(String prop) {
+    }
+
+    public String get() {
+        return "";
+    }
+
+    public boolean is(Object another) {
+        return true;
+    }
 }


Mime
View raw message