File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/dynatrace Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ void whenPropertiesDeviceIdIsSetAdapterDeviceIdReturnsIt() {
54
54
}
55
55
56
56
@ Test
57
- @ Deprecated
58
57
void whenPropertiesV1DeviceIdIsSetAdapterDeviceIdReturnsIt () {
59
58
DynatraceProperties properties = new DynatraceProperties ();
60
59
properties .getV1 ().setDeviceId ("dev-1" );
@@ -113,21 +112,21 @@ void whenDeviceIdIsNotSetThenAdapterApiVersionIsV2() {
113
112
}
114
113
115
114
@ Test
116
- void whenPropertiesMetricKeyPrefixIsSetAdapterGroupReturnsIt () {
115
+ void whenPropertiesMetricKeyPrefixIsSetAdapterMetricKeyPrefixReturnsIt () {
117
116
DynatraceProperties properties = new DynatraceProperties ();
118
117
properties .getV2 ().setMetricKeyPrefix ("my.prefix" );
119
118
assertThat (new DynatracePropertiesConfigAdapter (properties ).metricKeyPrefix ()).isEqualTo ("my.prefix" );
120
119
}
121
120
122
121
@ Test
123
- void whenPropertiesEnrichWithOneAgentMetadataIsSetAdapterGroupReturnsIt () {
122
+ void whenPropertiesEnrichWithOneAgentMetadataIsSetAdapterEnrichWithOneAgentMetadataReturnsIt () {
124
123
DynatraceProperties properties = new DynatraceProperties ();
125
124
properties .getV2 ().setEnrichWithDynatraceMetadata (true );
126
125
assertThat (new DynatracePropertiesConfigAdapter (properties ).enrichWithDynatraceMetadata ()).isTrue ();
127
126
}
128
127
129
128
@ Test
130
- void whenPropertiesDefaultDimensionsIsSetAdapterGroupReturnsIt () {
129
+ void whenPropertiesDefaultDimensionsIsSetAdapterDefaultDimensionsReturnsIt () {
131
130
DynatraceProperties properties = new DynatraceProperties ();
132
131
HashMap <String , String > defaultDimensions = new HashMap <>();
133
132
defaultDimensions .put ("dim1" , "value1" );
You can’t perform that action at this time.
0 commit comments