|
1 | 1 | /* |
2 | | - * Copyright 2022-2023 the original author or authors. |
| 2 | + * Copyright 2022-2025 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
|
27 | 27 | import org.springframework.boot.autoconfigure.ImportAutoConfiguration; |
28 | 28 | import org.springframework.boot.autoconfigure.SpringBootApplication; |
29 | 29 | import org.springframework.boot.test.autoconfigure.OverrideAutoConfiguration; |
30 | | -import org.springframework.boot.test.autoconfigure.filter.TypeExcludeFilters; |
31 | | -import org.springframework.boot.test.autoconfigure.properties.PropertyMapping; |
32 | | -import org.springframework.boot.test.autoconfigure.properties.SkipPropertyMapping; |
| 30 | +import org.springframework.boot.test.context.filter.annotation.TypeExcludeFilters; |
| 31 | +import org.springframework.boot.test.context.PropertyMapping; |
33 | 32 | import org.springframework.context.annotation.ComponentScan.Filter; |
34 | 33 | import org.springframework.core.annotation.AliasFor; |
35 | 34 | import org.springframework.core.env.Environment; |
|
68 | 67 | * |
69 | 68 | * @return emulated terminal width |
70 | 69 | */ |
71 | | - @PropertyMapping(value = "spring.shell.test.terminal-width", skip = SkipPropertyMapping.ON_DEFAULT_VALUE) |
| 70 | + @PropertyMapping(value = "spring.shell.test.terminal-width", skip = PropertyMapping.Skip.ON_DEFAULT_VALUE) |
72 | 71 | int terminalWidth() default 80; |
73 | 72 |
|
74 | 73 | /** |
75 | 74 | * Set emulated terminal height. |
76 | 75 | * |
77 | 76 | * @return emulated terminal height |
78 | 77 | */ |
79 | | - @PropertyMapping(value = "spring.shell.test.terminal-height", skip = SkipPropertyMapping.ON_DEFAULT_VALUE) |
| 78 | + @PropertyMapping(value = "spring.shell.test.terminal-height", skip = PropertyMapping.Skip.ON_DEFAULT_VALUE) |
80 | 79 | int terminalHeight() default 24; |
81 | 80 |
|
82 | 81 | /** |
|
0 commit comments