Skip to content

Commit 1ca1145

Browse files
committed
Test compatibility with SnakeYAML 1.32 and 1.33 versions
Closes gh-35434
1 parent 5f86c11 commit 1ca1145

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Copyright 2012-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package org.springframework.boot.env;
18+
19+
import org.springframework.boot.testsupport.classpath.ClassPathOverrides;
20+
21+
/**
22+
* Tests for {@link YamlPropertySourceLoader} with SnakeYAML 1.33.
23+
*
24+
* @author Andy Wilkinson
25+
*/
26+
@ClassPathOverrides("org.yaml:snakeyaml:1.32")
27+
class YamlPropertySourceLoaderSnakeYaml132Tests extends YamlPropertySourceLoaderTests {
28+
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Copyright 2012-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package org.springframework.boot.env;
18+
19+
import org.springframework.boot.testsupport.classpath.ClassPathOverrides;
20+
21+
/**
22+
* Tests for {@link YamlPropertySourceLoader} with SnakeYAML 1.33.
23+
*
24+
* @author Andy Wilkinson
25+
*/
26+
@ClassPathOverrides("org.yaml:snakeyaml:1.33")
27+
class YamlPropertySourceLoaderSnakeYaml133Tests extends YamlPropertySourceLoaderTests {
28+
29+
}

0 commit comments

Comments
 (0)