This is an automated email from the ASF dual-hosted git repository. cziegeler pushed a commit to branch appmod/java-upgrade-20250910060318 in repository https://gitbox.apache.org/repos/asf/sling-samples.git
commit 673c02a7f1107fcd9dbe5230020d71de4b9b73f0 Author: Carsten Ziegeler <[email protected]> AuthorDate: Wed Sep 10 09:06:49 2025 +0200 Add mock BindingsValuesProvidersByContext class for testing framework --- slingshot/pom.xml | 2 +- .../api/BindingsValuesProvidersByContext.java | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/slingshot/pom.xml b/slingshot/pom.xml index 3b4ecb1..7207d33 100644 --- a/slingshot/pom.xml +++ b/slingshot/pom.xml @@ -135,7 +135,7 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.testing.sling-mock-oak</artifactId> - <version>3.4.0-1.40.0</version> + <version>4.0.0-1.62.0</version> <scope>test</scope> </dependency> <dependency> diff --git a/slingshot/src/test/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java b/slingshot/src/test/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java new file mode 100644 index 0000000..9d353e9 --- /dev/null +++ b/slingshot/src/test/java/org/apache/sling/scripting/api/BindingsValuesProvidersByContext.java @@ -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. + */ +package org.apache.sling.scripting.api; + +/** + * Mock implementation for testing purposes to resolve missing dependency + * in Sling testing framework. + */ +public class BindingsValuesProvidersByContext { + // Empty mock implementation for testing +}
