diff options
author | 2018-05-01 00:07:10 -0400 | |
---|---|---|
committer | 2018-05-01 00:09:24 -0400 | |
commit | b7a047c328bfd62139ec753580d64a650da28879 (patch) | |
tree | ccb9273ff44a571678f87657da705978ac4291b1 /veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com | |
parent | d63199d1546d1d05ca6253858c483bd714eaa652 (diff) |
Add code coverage
Issue-ID: VNFSDK-217
Change-Id: I745563f7e5fb534f64476ad3343f5943453bf695
Signed-Off-by: Gokul Singaraju <gs244f@att.com>
Diffstat (limited to 'veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com')
-rw-r--r-- | veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java index 6c39d13..df143ff 100644 --- a/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java +++ b/veslibrary/ves_javalibrary/evel_javalib2/src/main/java/evel_javalibrary/att/com/EvelScalingMeasurement.java @@ -2073,36 +2073,6 @@ public class EvelScalingMeasurement extends EvelHeader { EVEL_EXIT();
}
- /**************************************************************************//**
- * Set the VNFC Scaling Metric property of the Measurement.
- *
- * @note The property is treated as immutable: it is only valid to call
- * the setter once. However, we don't assert if the caller tries to
- * overwrite, just ignoring the update instead.
- *
- *
- * @param scaling_metric The scaling metric to set.
- *****************************************************************************/
- public void evel_measurement_vnfc_scaling_metric_set(EvelScalingMeasurement measurement,
- int scaling_metric)
- {
- EVEL_ENTER();
-
- LOGGER.warn("Called evel_measurement_vnfc_scaling_metric_set with 2 arguments. The first argument is unused and callers should use the single-parameter version instead");
-
- /***************************************************************************/
- /* Check preconditions. */
- /***************************************************************************/
- assert(measurement != null);
- assert(event_domain == EvelHeader.DOMAINS.EVEL_DOMAIN_MEASUREMENT);
- assert(scaling_metric >= 0.0);
-
- vnfc_scaling_metric.SetValuePr(
- scaling_metric,
- "VNFC Scaling Metric");
- EVEL_EXIT();
- }
-
public void evel_measurement_vnfc_scaling_metric_set(int scaling_metric)
{
EVEL_ENTER();
@@ -3281,7 +3251,7 @@ public class EvelScalingMeasurement extends EvelHeader { if( vnic_usage == null ){
vnic_usage = new ArrayList<MEASUREMENT_VNIC_PERFORMANCE>();
- if( vnic_usage == null )LOGGER.error("Unable to allocate new file system usage");
+ LOGGER.debug("Allocate new file system usage");
}
vnic_usage.add(vnic_performance);
|