This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-testing-content.git


The following commit(s) were added to refs/heads/master by this push:
     new 5169606  SLING-7755 test content for interfaces and abstract classes
5169606 is described below

commit 51696068b7568849eac9db161ddfd96f95ce7dbd
Author: Santiago Garcia Pimentel <[email protected]>
AuthorDate: Thu Jul 5 13:55:45 2018 +0200

    SLING-7755 test content for interfaces and abstract classes
---
 .../adaptable/AbstractRequestAdapterUseObject.java | 23 ++++++++++++++++++
 ...kage-info.java => NonImplementedInterface.java} |  6 ++---
 .../sightly/testing/adaptable/package-info.java    |  2 +-
 .../apps/sightly/scripts/use/abstractClass.html    | 26 +++++++++++++++++++++
 .../apps/sightly/scripts/use/interface.html        | 27 ++++++++++++++++++++++
 5 files changed, 80 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/AbstractRequestAdapterUseObject.java
 
b/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/AbstractRequestAdapterUseObject.java
new file mode 100644
index 0000000..6c4b6cd
--- /dev/null
+++ 
b/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/AbstractRequestAdapterUseObject.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * 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.apache.sling.scripting.sightly.testing.adaptable;
+
+public abstract class AbstractRequestAdapterUseObject implements 
RequestAdapterUseObject {
+
+}
diff --git 
a/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
 
b/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/NonImplementedInterface.java
similarity index 94%
copy from 
src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
copy to 
src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/NonImplementedInterface.java
index 23488f7..b381390 100644
--- 
a/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
+++ 
b/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/NonImplementedInterface.java
@@ -14,8 +14,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  
******************************************************************************/
-
-@Version("1.1.0")
 package org.apache.sling.scripting.sightly.testing.adaptable;
 
-import org.osgi.annotation.versioning.Version;
+public interface NonImplementedInterface {
+
+}
diff --git 
a/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
 
b/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
index 23488f7..97510c8 100644
--- 
a/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
+++ 
b/src/main/java/org/apache/sling/scripting/sightly/testing/adaptable/package-info.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  
******************************************************************************/
 
-@Version("1.1.0")
+@Version("1.2.0")
 package org.apache.sling.scripting.sightly.testing.adaptable;
 
 import org.osgi.annotation.versioning.Version;
diff --git 
a/src/main/resources/SLING-INF/apps/sightly/scripts/use/abstractClass.html 
b/src/main/resources/SLING-INF/apps/sightly/scripts/use/abstractClass.html
new file mode 100644
index 0000000..f3d06cd
--- /dev/null
+++ b/src/main/resources/SLING-INF/apps/sightly/scripts/use/abstractClass.html
@@ -0,0 +1,26 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ 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.
+  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>HTL Use-API - Sling implementation</title>
+    </head>
+    <body 
data-sly-use.model="org.apache.sling.scripting.sightly.testing.adaptable.AbstractRequestAdapterUseObject">
+    </body>
+</html>
diff --git 
a/src/main/resources/SLING-INF/apps/sightly/scripts/use/interface.html 
b/src/main/resources/SLING-INF/apps/sightly/scripts/use/interface.html
new file mode 100644
index 0000000..be4629d
--- /dev/null
+++ b/src/main/resources/SLING-INF/apps/sightly/scripts/use/interface.html
@@ -0,0 +1,27 @@
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ 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.
+  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>HTL Use-API - Sling implementation</title>
+    </head>
+    <body 
data-sly-use="org.apache.sling.scripting.sightly.testing.adaptable.NonImplementedInterface">
+        
+    </body>
+</html>

Reply via email to