diff options
author | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2022-11-17 15:55:02 +0100 |
---|---|---|
committer | Tomasz Wrobel <tomasz.wrobel@nokia.com> | 2022-11-17 16:21:05 +0100 |
commit | 892730e092b799f56b24cedeab371d2881d698b0 (patch) | |
tree | cf378dfc5106aca41f41b2f06cdb056768954829 /standardization/moher-api | |
parent | 03f263b39e02256593fe5a5107a31e518e09840f (diff) |
Fix calculation of code coverage
Rename class with unit tests
Issue-ID: DCAEGEN2-3165
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I0f0424a2fef3f44e2f9709513b26bc88276a8d1b
Diffstat (limited to 'standardization/moher-api')
-rw-r--r-- | standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/HealthControllerTest.java (renamed from standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/HealthControllerIT.java) | 4 | ||||
-rw-r--r-- | standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/MetricsControllerTest.java (renamed from standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/MetricsControllerIT.java) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/HealthControllerIT.java b/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/HealthControllerTest.java index 236cc16f..860f18cb 100644 --- a/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/HealthControllerIT.java +++ b/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/HealthControllerTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START==================================== * DCAEGEN2-SERVICES-SDK * ========================================================= - * Copyright (C) 2019 Nokia. All rights reserved. + * Copyright (C) 2019-2022 Nokia. All rights reserved. * ========================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ import org.springframework.test.web.reactive.server.WebTestClient; import reactor.core.publisher.Mono; -class HealthControllerIT { +class HealthControllerTest { private final AtomicReference<Health> currentHealth = new AtomicReference<>(); private final HealthProvider healthProvider = () -> Mono.fromCallable(currentHealth::get); diff --git a/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/MetricsControllerIT.java b/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/MetricsControllerTest.java index 32d00449..fe59e01e 100644 --- a/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/MetricsControllerIT.java +++ b/standardization/moher-api/server-adapters/spring-webflux/src/test/java/org/onap/dcaegen2/services/sdk/standardization/moher/adapters/springwebflux/MetricsControllerTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START==================================== * DCAEGEN2-SERVICES-SDK * ========================================================= - * Copyright (C) 2019 Nokia. All rights reserved. + * Copyright (C) 2019-2022 Nokia. All rights reserved. * ========================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import org.onap.dcaegen2.services.sdk.standardization.moher.metrics.api.MetricsF import org.springframework.http.MediaType; import org.springframework.test.web.reactive.server.WebTestClient; -class MetricsControllerIT { +class MetricsControllerTest { private final PrometheusMeterRegistry defaultRegistry = MetricsFactory.createDefaultRegistry(); private final Metrics metrics = MetricsFactory.createMetrics(defaultRegistry); |