diff options
Diffstat (limited to 'UniversalVesAdapter/src/test/java/org')
32 files changed, 9757 insertions, 2 deletions
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalMeasurementTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalMeasurementTest.java new file mode 100644 index 0000000..307ab46 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalMeasurementTest.java @@ -0,0 +1,121 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class AdditionalMeasurementTest {
+
+ private AdditionalMeasurement createTestSubject() {
+ return new AdditionalMeasurement();
+ }
+
+ @Test
+ public void testGetName() throws Exception {
+ AdditionalMeasurement testSubject;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.getName();
+ }
+
+ @Test
+ public void testSetName() throws Exception {
+ AdditionalMeasurement testSubject;
+ String name = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+ @Test
+ public void testGetArrayOfFields() throws Exception {
+ AdditionalMeasurement testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArrayOfFields();
+ }
+
+ @Test
+ public void testSetArrayOfFields() throws Exception {
+ AdditionalMeasurement testSubject;
+ List<AlarmAdditionalInformation> arrayOfFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArrayOfFields(arrayOfFields);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalMeasurement testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ AdditionalMeasurement testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ AdditionalMeasurement testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ AdditionalMeasurement testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalObjectTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalObjectTest.java new file mode 100644 index 0000000..4bbe3f5 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalObjectTest.java @@ -0,0 +1,205 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class AdditionalObjectTest {
+
+ private AdditionalObject createTestSubject() {
+ return new AdditionalObject();
+ }
+
+ @Test
+ public void testGetObjectInstances() throws Exception {
+ AdditionalObject testSubject;
+ List<ObjectInstance> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectInstances();
+ }
+
+ @Test
+ public void testSetObjectInstances() throws Exception {
+ AdditionalObject testSubject;
+ List<ObjectInstance> objectInstances = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setObjectInstances(objectInstances);
+ }
+
+ @Test
+ public void testGetObjectName() throws Exception {
+ AdditionalObject testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectName();
+ }
+
+ @Test
+ public void testSetObjectName() throws Exception {
+ AdditionalObject testSubject;
+ String objectName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setObjectName(objectName);
+ }
+
+ @Test
+ public void testGetObjectSchema() throws Exception {
+ AdditionalObject testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectSchema();
+ }
+
+ @Test
+ public void testSetObjectSchema() throws Exception {
+ AdditionalObject testSubject;
+ String objectSchema = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setObjectSchema(objectSchema);
+ }
+
+ @Test
+ public void testGetObjectSchemaUrl() throws Exception {
+ AdditionalObject testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectSchemaUrl();
+ }
+
+ @Test
+ public void testSetObjectSchemaUrl() throws Exception {
+ AdditionalObject testSubject;
+ String objectSchemaUrl = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setObjectSchemaUrl(objectSchemaUrl);
+ }
+
+ @Test
+ public void testGetNfSubscribedObjectName() throws Exception {
+ AdditionalObject testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNfSubscribedObjectName();
+ }
+
+ @Test
+ public void testSetNfSubscribedObjectName() throws Exception {
+ AdditionalObject testSubject;
+ String nfSubscribedObjectName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNfSubscribedObjectName(nfSubscribedObjectName);
+ }
+
+ @Test
+ public void testGetNfSubscriptionId() throws Exception {
+ AdditionalObject testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNfSubscriptionId();
+ }
+
+ @Test
+ public void testSetNfSubscriptionId() throws Exception {
+ AdditionalObject testSubject;
+ String nfSubscriptionId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNfSubscriptionId(nfSubscriptionId);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalObject testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ AdditionalObject testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ AdditionalObject testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ AdditionalObject testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalParameterTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalParameterTest.java new file mode 100644 index 0000000..f11978a --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AdditionalParameterTest.java @@ -0,0 +1,162 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class AdditionalParameterTest {
+
+ private AdditionalParameter createTestSubject() {
+ return new AdditionalParameter();
+ }
+
+ @Test
+ public void testGetCriticality() throws Exception {
+ AdditionalParameter testSubject;
+ AdditionalParameter.Criticality result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCriticality();
+ }
+
+ @Test
+ public void testSetCriticality() throws Exception {
+ AdditionalParameter testSubject;
+ AdditionalParameter.Criticality criticality = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCriticality(criticality);
+ }
+
+ @Test
+ public void testGetName() throws Exception {
+ AdditionalParameter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+ @Test
+ public void testSetName() throws Exception {
+ AdditionalParameter testSubject;
+ String name = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+ @Test
+ public void testGetThresholdCrossed() throws Exception {
+ AdditionalParameter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getThresholdCrossed();
+ }
+
+ @Test
+ public void testSetThresholdCrossed() throws Exception {
+ AdditionalParameter testSubject;
+ String thresholdCrossed = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setThresholdCrossed(thresholdCrossed);
+ }
+
+ @Test
+ public void testGetValue() throws Exception {
+ AdditionalParameter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+ @Test
+ public void testSetValue() throws Exception {
+ AdditionalParameter testSubject;
+ String value = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalParameter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ AdditionalParameter testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ AdditionalParameter testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ AdditionalParameter testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AlarmAdditionalInformationTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AlarmAdditionalInformationTest.java new file mode 100644 index 0000000..c3e5197 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/AlarmAdditionalInformationTest.java @@ -0,0 +1,120 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class AlarmAdditionalInformationTest {
+
+ private AlarmAdditionalInformation createTestSubject() {
+ return new AlarmAdditionalInformation();
+ }
+
+ @Test
+ public void testGetName() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+ @Test
+ public void testSetName() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ String name = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+ @Test
+ public void testGetValue() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValue();
+ }
+
+ @Test
+ public void testSetValue() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ String value = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValue(value);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ AlarmAdditionalInformation testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CodecUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CodecUsageArrayTest.java new file mode 100644 index 0000000..3e0d0d4 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CodecUsageArrayTest.java @@ -0,0 +1,120 @@ +/*-
+* ============LICENSE_START=======================================================
+* ONAP : DCAE
+* ================================================================================
+* Copyright 2019 TechMahindra
+* ================================================================================
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+* ============LICENSE_END=========================================================
+*/
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class CodecUsageArrayTest {
+
+ private CodecUsageArray createTestSubject() {
+ return new CodecUsageArray();
+ }
+
+ @Test
+ public void testGetCodecIdentifier() throws Exception {
+ CodecUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCodecIdentifier();
+ }
+
+ @Test
+ public void testSetCodecIdentifier() throws Exception {
+ CodecUsageArray testSubject;
+ String codecIdentifier = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCodecIdentifier(codecIdentifier);
+ }
+
+ @Test
+ public void testGetNumberInUse() throws Exception {
+ CodecUsageArray testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumberInUse();
+ }
+
+ @Test
+ public void testSetNumberInUse() throws Exception {
+ CodecUsageArray testSubject;
+ Integer numberInUse = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumberInUse(numberInUse);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ CodecUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ CodecUsageArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ CodecUsageArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ CodecUsageArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CommonEventHeaderTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CommonEventHeaderTest.java new file mode 100644 index 0000000..1fe8125 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CommonEventHeaderTest.java @@ -0,0 +1,414 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class CommonEventHeaderTest {
+
+ private CommonEventHeader createTestSubject() {
+ return new CommonEventHeader();
+ }
+
+ @Test
+ public void testGetDomain() throws Exception {
+ CommonEventHeader testSubject;
+ CommonEventHeader.Domain result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDomain();
+ }
+
+ @Test
+ public void testSetDomain() throws Exception {
+ CommonEventHeader testSubject;
+ CommonEventHeader.Domain domain = CommonEventHeader.Domain.FAULT;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDomain(domain);
+ }
+
+ @Test
+ public void testGetEventId() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventId();
+ }
+
+ @Test
+ public void testSetEventId() throws Exception {
+ CommonEventHeader testSubject;
+ String eventId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventId(eventId);
+ }
+
+ @Test
+ public void testGetEventName() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventName();
+ }
+
+ @Test
+ public void testSetEventName() throws Exception {
+ CommonEventHeader testSubject;
+ String eventName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventName(eventName);
+ }
+
+ @Test
+ public void testGetEventType() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventType();
+ }
+
+ @Test
+ public void testSetEventType() throws Exception {
+ CommonEventHeader testSubject;
+ String eventType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventType(eventType);
+ }
+
+ @Test
+ public void testGetInternalHeaderFields() throws Exception {
+ CommonEventHeader testSubject;
+ InternalHeaderFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInternalHeaderFields();
+ }
+
+ @Test
+ public void testSetInternalHeaderFields() throws Exception {
+ CommonEventHeader testSubject;
+ InternalHeaderFields internalHeaderFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInternalHeaderFields(internalHeaderFields);
+ }
+
+ @Test
+ public void testGetLastEpochMicrosec() throws Exception {
+ CommonEventHeader testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLastEpochMicrosec();
+ }
+
+ @Test
+ public void testSetLastEpochMicrosec() throws Exception {
+ CommonEventHeader testSubject;
+ Double lastEpochMicrosec = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLastEpochMicrosec(lastEpochMicrosec);
+ }
+
+ @Test
+ public void testGetNfcNamingCode() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNfcNamingCode();
+ }
+
+ @Test
+ public void testSetNfcNamingCode() throws Exception {
+ CommonEventHeader testSubject;
+ String nfcNamingCode = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNfcNamingCode(nfcNamingCode);
+ }
+
+ @Test
+ public void testGetNfNamingCode() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNfNamingCode();
+ }
+
+ @Test
+ public void testSetNfNamingCode() throws Exception {
+ CommonEventHeader testSubject;
+ String nfNamingCode = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNfNamingCode(nfNamingCode);
+ }
+
+ @Test
+ public void testGetPriority() throws Exception {
+ CommonEventHeader testSubject;
+ CommonEventHeader.Priority result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPriority();
+ }
+
+ @Test
+ public void testSetPriority() throws Exception {
+ CommonEventHeader testSubject;
+ CommonEventHeader.Priority priority = CommonEventHeader.Priority.HIGH;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPriority(priority);
+ }
+
+ @Test
+ public void testGetReportingEntityId() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReportingEntityId();
+ }
+
+ @Test
+ public void testSetReportingEntityId() throws Exception {
+ CommonEventHeader testSubject;
+ String reportingEntityId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReportingEntityId(reportingEntityId);
+ }
+
+ @Test
+ public void testGetReportingEntityName() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReportingEntityName();
+ }
+
+ @Test
+ public void testSetReportingEntityName() throws Exception {
+ CommonEventHeader testSubject;
+ String reportingEntityName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReportingEntityName(reportingEntityName);
+ }
+
+ @Test
+ public void testGetSequence() throws Exception {
+ CommonEventHeader testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSequence();
+ }
+
+ @Test
+ public void testSetSequence() throws Exception {
+ CommonEventHeader testSubject;
+ Integer sequence = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSequence(sequence);
+ }
+
+ @Test
+ public void testGetSourceId() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSourceId();
+ }
+
+ @Test
+ public void testSetSourceId() throws Exception {
+ CommonEventHeader testSubject;
+ String sourceId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSourceId(sourceId);
+ }
+
+ @Test
+ public void testGetSourceName() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSourceName();
+ }
+
+ @Test
+ public void testSetSourceName() throws Exception {
+ CommonEventHeader testSubject;
+ String sourceName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSourceName(sourceName);
+ }
+
+ @Test
+ public void testGetStartEpochMicrosec() throws Exception {
+ CommonEventHeader testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStartEpochMicrosec();
+ }
+
+ @Test
+ public void testSetStartEpochMicrosec() throws Exception {
+ CommonEventHeader testSubject;
+ Double startEpochMicrosec = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStartEpochMicrosec(startEpochMicrosec);
+ }
+
+ @Test
+ public void testGetVersion() throws Exception {
+ CommonEventHeader testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+ @Test
+ public void testSetVersion() throws Exception {
+ CommonEventHeader testSubject;
+ Double version = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ CommonEventHeader testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ CommonEventHeader testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ CommonEventHeader testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ CommonEventHeader testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CpuUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CpuUsageArrayTest.java new file mode 100644 index 0000000..46654d7 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/CpuUsageArrayTest.java @@ -0,0 +1,288 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class CpuUsageArrayTest {
+
+ private CpuUsageArray createTestSubject() {
+ return new CpuUsageArray();
+ }
+
+ @Test
+ public void testGetCpuIdentifier() throws Exception {
+ CpuUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuIdentifier();
+ }
+
+ @Test
+ public void testSetCpuIdentifier() throws Exception {
+ CpuUsageArray testSubject;
+ String cpuIdentifier = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuIdentifier(cpuIdentifier);
+ }
+
+ @Test
+ public void testGetCpuIdle() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuIdle();
+ }
+
+ @Test
+ public void testSetCpuIdle() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuIdle = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuIdle(cpuIdle);
+ }
+
+ @Test
+ public void testGetCpuUsageInterrupt() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageInterrupt();
+ }
+
+ @Test
+ public void testSetCpuUsageInterrupt() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuUsageInterrupt = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageInterrupt(cpuUsageInterrupt);
+ }
+
+ @Test
+ public void testGetCpuUsageNice() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageNice();
+ }
+
+ @Test
+ public void testSetCpuUsageNice() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuUsageNice = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageNice(cpuUsageNice);
+ }
+
+ @Test
+ public void testGetCpuUsageSoftIrq() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageSoftIrq();
+ }
+
+ @Test
+ public void testSetCpuUsageSoftIrq() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuUsageSoftIrq = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageSoftIrq(cpuUsageSoftIrq);
+ }
+
+ @Test
+ public void testGetCpuUsageSteal() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageSteal();
+ }
+
+ @Test
+ public void testSetCpuUsageSteal() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuUsageSteal = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageSteal(cpuUsageSteal);
+ }
+
+ @Test
+ public void testGetCpuUsageSystem() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageSystem();
+ }
+
+ @Test
+ public void testSetCpuUsageSystem() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuUsageSystem = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageSystem(cpuUsageSystem);
+ }
+
+ @Test
+ public void testGetCpuUsageUser() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageUser();
+ }
+
+ @Test
+ public void testSetCpuUsageUser() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuUsageUser = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageUser(cpuUsageUser);
+ }
+
+ @Test
+ public void testGetCpuWait() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuWait();
+ }
+
+ @Test
+ public void testSetCpuWait() throws Exception {
+ CpuUsageArray testSubject;
+ Double cpuWait = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuWait(cpuWait);
+ }
+
+ @Test
+ public void testGetPercentUsage() throws Exception {
+ CpuUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPercentUsage();
+ }
+
+ @Test
+ public void testSetPercentUsage() throws Exception {
+ CpuUsageArray testSubject;
+ Double percentUsage = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPercentUsage(percentUsage);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ CpuUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ CpuUsageArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ CpuUsageArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ CpuUsageArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/DiskUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/DiskUsageArrayTest.java new file mode 100644 index 0000000..41b61b5 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/DiskUsageArrayTest.java @@ -0,0 +1,939 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class DiskUsageArrayTest {
+
+ private DiskUsageArray createTestSubject() {
+ return new DiskUsageArray();
+ }
+
+ @Test
+ public void testGetDiskIdentifier() throws Exception {
+ DiskUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskIdentifier();
+ }
+
+ @Test
+ public void testSetDiskIdentifier() throws Exception {
+ DiskUsageArray testSubject;
+ String diskIdentifier = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskIdentifier(diskIdentifier);
+ }
+
+ @Test
+ public void testGetDiskIoTimeAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskIoTimeAvg();
+ }
+
+ @Test
+ public void testSetDiskIoTimeAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskIoTimeAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskIoTimeAvg(diskIoTimeAvg);
+ }
+
+ @Test
+ public void testGetDiskIoTimeLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskIoTimeLast();
+ }
+
+ @Test
+ public void testSetDiskIoTimeLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskIoTimeLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskIoTimeLast(diskIoTimeLast);
+ }
+
+ @Test
+ public void testGetDiskIoTimeMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskIoTimeMax();
+ }
+
+ @Test
+ public void testSetDiskIoTimeMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskIoTimeMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskIoTimeMax(diskIoTimeMax);
+ }
+
+ @Test
+ public void testGetDiskIoTimeMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskIoTimeMin();
+ }
+
+ @Test
+ public void testSetDiskIoTimeMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskIoTimeMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskIoTimeMin(diskIoTimeMin);
+ }
+
+ @Test
+ public void testGetDiskMergedReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedReadAvg();
+ }
+
+ @Test
+ public void testSetDiskMergedReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedReadAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedReadAvg(diskMergedReadAvg);
+ }
+
+ @Test
+ public void testGetDiskMergedReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedReadLast();
+ }
+
+ @Test
+ public void testSetDiskMergedReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedReadLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedReadLast(diskMergedReadLast);
+ }
+
+ @Test
+ public void testGetDiskMergedReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedReadMax();
+ }
+
+ @Test
+ public void testSetDiskMergedReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedReadMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedReadMax(diskMergedReadMax);
+ }
+
+ @Test
+ public void testGetDiskMergedReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedReadMin();
+ }
+
+ @Test
+ public void testSetDiskMergedReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedReadMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedReadMin(diskMergedReadMin);
+ }
+
+ @Test
+ public void testGetDiskMergedWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedWriteAvg();
+ }
+
+ @Test
+ public void testSetDiskMergedWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedWriteAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedWriteAvg(diskMergedWriteAvg);
+ }
+
+ @Test
+ public void testGetDiskMergedWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedWriteLast();
+ }
+
+ @Test
+ public void testSetDiskMergedWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedWriteLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedWriteLast(diskMergedWriteLast);
+ }
+
+ @Test
+ public void testGetDiskMergedWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedWriteMax();
+ }
+
+ @Test
+ public void testSetDiskMergedWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedWriteMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedWriteMax(diskMergedWriteMax);
+ }
+
+ @Test
+ public void testGetDiskMergedWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskMergedWriteMin();
+ }
+
+ @Test
+ public void testSetDiskMergedWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskMergedWriteMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskMergedWriteMin(diskMergedWriteMin);
+ }
+
+ @Test
+ public void testGetDiskOctetsReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsReadAvg();
+ }
+
+ @Test
+ public void testSetDiskOctetsReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsReadAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsReadAvg(diskOctetsReadAvg);
+ }
+
+ @Test
+ public void testGetDiskOctetsReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsReadLast();
+ }
+
+ @Test
+ public void testSetDiskOctetsReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsReadLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsReadLast(diskOctetsReadLast);
+ }
+
+ @Test
+ public void testGetDiskOctetsReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsReadMax();
+ }
+
+ @Test
+ public void testSetDiskOctetsReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsReadMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsReadMax(diskOctetsReadMax);
+ }
+
+ @Test
+ public void testGetDiskOctetsReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsReadMin();
+ }
+
+ @Test
+ public void testSetDiskOctetsReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsReadMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsReadMin(diskOctetsReadMin);
+ }
+
+ @Test
+ public void testGetDiskOctetsWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsWriteAvg();
+ }
+
+ @Test
+ public void testSetDiskOctetsWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsWriteAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsWriteAvg(diskOctetsWriteAvg);
+ }
+
+ @Test
+ public void testGetDiskOctetsWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsWriteLast();
+ }
+
+ @Test
+ public void testSetDiskOctetsWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsWriteLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsWriteLast(diskOctetsWriteLast);
+ }
+
+ @Test
+ public void testGetDiskOctetsWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsWriteMax();
+ }
+
+ @Test
+ public void testSetDiskOctetsWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsWriteMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsWriteMax(diskOctetsWriteMax);
+ }
+
+ @Test
+ public void testGetDiskOctetsWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOctetsWriteMin();
+ }
+
+ @Test
+ public void testSetDiskOctetsWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOctetsWriteMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOctetsWriteMin(diskOctetsWriteMin);
+ }
+
+ @Test
+ public void testGetDiskOpsReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsReadAvg();
+ }
+
+ @Test
+ public void testSetDiskOpsReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsReadAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsReadAvg(diskOpsReadAvg);
+ }
+
+ @Test
+ public void testGetDiskOpsReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsReadLast();
+ }
+
+ @Test
+ public void testSetDiskOpsReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsReadLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsReadLast(diskOpsReadLast);
+ }
+
+ @Test
+ public void testGetDiskOpsReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsReadMax();
+ }
+
+ @Test
+ public void testSetDiskOpsReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsReadMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsReadMax(diskOpsReadMax);
+ }
+
+ @Test
+ public void testGetDiskOpsReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsReadMin();
+ }
+
+ @Test
+ public void testSetDiskOpsReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsReadMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsReadMin(diskOpsReadMin);
+ }
+
+ @Test
+ public void testGetDiskOpsWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsWriteAvg();
+ }
+
+ @Test
+ public void testSetDiskOpsWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsWriteAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsWriteAvg(diskOpsWriteAvg);
+ }
+
+ @Test
+ public void testGetDiskOpsWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsWriteLast();
+ }
+
+ @Test
+ public void testSetDiskOpsWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsWriteLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsWriteLast(diskOpsWriteLast);
+ }
+
+ @Test
+ public void testGetDiskOpsWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsWriteMax();
+ }
+
+ @Test
+ public void testSetDiskOpsWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsWriteMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsWriteMax(diskOpsWriteMax);
+ }
+
+ @Test
+ public void testGetDiskOpsWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskOpsWriteMin();
+ }
+
+ @Test
+ public void testSetDiskOpsWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskOpsWriteMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskOpsWriteMin(diskOpsWriteMin);
+ }
+
+ @Test
+ public void testGetDiskPendingOperationsAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskPendingOperationsAvg();
+ }
+
+ @Test
+ public void testSetDiskPendingOperationsAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskPendingOperationsAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskPendingOperationsAvg(diskPendingOperationsAvg);
+ }
+
+ @Test
+ public void testGetDiskPendingOperationsLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskPendingOperationsLast();
+ }
+
+ @Test
+ public void testSetDiskPendingOperationsLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskPendingOperationsLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskPendingOperationsLast(diskPendingOperationsLast);
+ }
+
+ @Test
+ public void testGetDiskPendingOperationsMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskPendingOperationsMax();
+ }
+
+ @Test
+ public void testSetDiskPendingOperationsMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskPendingOperationsMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskPendingOperationsMax(diskPendingOperationsMax);
+ }
+
+ @Test
+ public void testGetDiskPendingOperationsMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskPendingOperationsMin();
+ }
+
+ @Test
+ public void testSetDiskPendingOperationsMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskPendingOperationsMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskPendingOperationsMin(diskPendingOperationsMin);
+ }
+
+ @Test
+ public void testGetDiskTimeReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeReadAvg();
+ }
+
+ @Test
+ public void testSetDiskTimeReadAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeReadAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeReadAvg(diskTimeReadAvg);
+ }
+
+ @Test
+ public void testGetDiskTimeReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeReadLast();
+ }
+
+ @Test
+ public void testSetDiskTimeReadLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeReadLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeReadLast(diskTimeReadLast);
+ }
+
+ @Test
+ public void testGetDiskTimeReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeReadMax();
+ }
+
+ @Test
+ public void testSetDiskTimeReadMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeReadMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeReadMax(diskTimeReadMax);
+ }
+
+ @Test
+ public void testGetDiskTimeReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeReadMin();
+ }
+
+ @Test
+ public void testSetDiskTimeReadMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeReadMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeReadMin(diskTimeReadMin);
+ }
+
+ @Test
+ public void testGetDiskTimeWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeWriteAvg();
+ }
+
+ @Test
+ public void testSetDiskTimeWriteAvg() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeWriteAvg = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeWriteAvg(diskTimeWriteAvg);
+ }
+
+ @Test
+ public void testGetDiskTimeWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeWriteLast();
+ }
+
+ @Test
+ public void testSetDiskTimeWriteLast() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeWriteLast = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeWriteLast(diskTimeWriteLast);
+ }
+
+ @Test
+ public void testGetDiskTimeWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeWriteMax();
+ }
+
+ @Test
+ public void testSetDiskTimeWriteMax() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeWriteMax = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeWriteMax(diskTimeWriteMax);
+ }
+
+ @Test
+ public void testGetDiskTimeWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskTimeWriteMin();
+ }
+
+ @Test
+ public void testSetDiskTimeWriteMin() throws Exception {
+ DiskUsageArray testSubject;
+ Double diskTimeWriteMin = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskTimeWriteMin(diskTimeWriteMin);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ DiskUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ DiskUsageArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ DiskUsageArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ DiskUsageArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/EndOfCallVqmSummariesTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/EndOfCallVqmSummariesTest.java new file mode 100644 index 0000000..9c47db2 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/EndOfCallVqmSummariesTest.java @@ -0,0 +1,524 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class EndOfCallVqmSummariesTest {
+
+ private EndOfCallVqmSummaries createTestSubject() {
+ return new EndOfCallVqmSummaries();
+ }
+
+ @Test
+ public void testGetAdjacencyName() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdjacencyName();
+ }
+
+ @Test
+ public void testSetAdjacencyName() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ String adjacencyName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdjacencyName(adjacencyName);
+ }
+
+
+
+ @Test
+ public void testGetEndpointDescription() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ EndOfCallVqmSummaries.EndpointDescription result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointDescription();
+ }
+
+
+
+ @Test
+ public void testSetEndpointDescription() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ EndOfCallVqmSummaries.EndpointDescription endpointDescription =
+ EndOfCallVqmSummaries.EndpointDescription.CALLEE;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointDescription(endpointDescription);
+ }
+
+ @Test
+ public void testGetEndpointJitter() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointJitter();
+ }
+
+ @Test
+ public void testSetEndpointJitter() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointJitter = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointJitter(endpointJitter);
+ }
+
+ @Test
+ public void testGetEndpointRtpOctetsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointRtpOctetsDiscarded();
+ }
+
+ @Test
+ public void testSetEndpointRtpOctetsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointRtpOctetsDiscarded = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointRtpOctetsDiscarded(endpointRtpOctetsDiscarded);
+ }
+
+ @Test
+ public void testGetEndpointRtpOctetsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointRtpOctetsReceived();
+ }
+
+ @Test
+ public void testSetEndpointRtpOctetsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointRtpOctetsReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointRtpOctetsReceived(endpointRtpOctetsReceived);
+ }
+
+ @Test
+ public void testGetEndpointRtpOctetsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointRtpOctetsSent();
+ }
+
+ @Test
+ public void testSetEndpointRtpOctetsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointRtpOctetsSent = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointRtpOctetsSent(endpointRtpOctetsSent);
+ }
+
+ @Test
+ public void testGetEndpointRtpPacketsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointRtpPacketsDiscarded();
+ }
+
+ @Test
+ public void testSetEndpointRtpPacketsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointRtpPacketsDiscarded = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointRtpPacketsDiscarded(endpointRtpPacketsDiscarded);
+ }
+
+ @Test
+ public void testGetEndpointRtpPacketsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointRtpPacketsReceived();
+ }
+
+ @Test
+ public void testSetEndpointRtpPacketsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointRtpPacketsReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointRtpPacketsReceived(endpointRtpPacketsReceived);
+ }
+
+ @Test
+ public void testGetEndpointRtpPacketsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndpointRtpPacketsSent();
+ }
+
+ @Test
+ public void testSetEndpointRtpPacketsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double endpointRtpPacketsSent = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndpointRtpPacketsSent(endpointRtpPacketsSent);
+ }
+
+ @Test
+ public void testGetLocalJitter() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalJitter();
+ }
+
+ @Test
+ public void testSetLocalJitter() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localJitter = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalJitter(localJitter);
+ }
+
+ @Test
+ public void testGetLocalRtpOctetsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalRtpOctetsDiscarded();
+ }
+
+ @Test
+ public void testSetLocalRtpOctetsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localRtpOctetsDiscarded = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalRtpOctetsDiscarded(localRtpOctetsDiscarded);
+ }
+
+ @Test
+ public void testGetLocalRtpOctetsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalRtpOctetsReceived();
+ }
+
+ @Test
+ public void testSetLocalRtpOctetsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localRtpOctetsReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalRtpOctetsReceived(localRtpOctetsReceived);
+ }
+
+ @Test
+ public void testGetLocalRtpOctetsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalRtpOctetsSent();
+ }
+
+ @Test
+ public void testSetLocalRtpOctetsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localRtpOctetsSent = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalRtpOctetsSent(localRtpOctetsSent);
+ }
+
+ @Test
+ public void testGetLocalRtpPacketsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalRtpPacketsDiscarded();
+ }
+
+ @Test
+ public void testSetLocalRtpPacketsDiscarded() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localRtpPacketsDiscarded = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalRtpPacketsDiscarded(localRtpPacketsDiscarded);
+ }
+
+ @Test
+ public void testGetLocalRtpPacketsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalRtpPacketsReceived();
+ }
+
+ @Test
+ public void testSetLocalRtpPacketsReceived() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localRtpPacketsReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalRtpPacketsReceived(localRtpPacketsReceived);
+ }
+
+ @Test
+ public void testGetLocalRtpPacketsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalRtpPacketsSent();
+ }
+
+ @Test
+ public void testSetLocalRtpPacketsSent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double localRtpPacketsSent = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalRtpPacketsSent(localRtpPacketsSent);
+ }
+
+ @Test
+ public void testGetMosCqe() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMosCqe();
+ }
+
+ @Test
+ public void testSetMosCqe() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double mosCqe = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMosCqe(mosCqe);
+ }
+
+ @Test
+ public void testGetPacketsLost() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPacketsLost();
+ }
+
+ @Test
+ public void testSetPacketsLost() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double packetsLost = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPacketsLost(packetsLost);
+ }
+
+ @Test
+ public void testGetPacketLossPercent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPacketLossPercent();
+ }
+
+ @Test
+ public void testSetPacketLossPercent() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double packetLossPercent = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPacketLossPercent(packetLossPercent);
+ }
+
+ @Test
+ public void testGetRFactor() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRFactor();
+ }
+
+ @Test
+ public void testSetRFactor() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double data = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRFactor(data);
+ }
+
+ @Test
+ public void testGetRoundTripDelay() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRoundTripDelay();
+ }
+
+ @Test
+ public void testSetRoundTripDelay() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Double roundTripDelay = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRoundTripDelay(roundTripDelay);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ EndOfCallVqmSummaries testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/EventTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/EventTest.java new file mode 100644 index 0000000..8d8d02a --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/EventTest.java @@ -0,0 +1,313 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class EventTest {
+
+ private Event createTestSubject() {
+ return new Event();
+ }
+
+ @Test
+ public void testGetCommonEventHeader() throws Exception {
+ Event testSubject;
+ CommonEventHeader result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCommonEventHeader();
+ }
+
+ @Test
+ public void testSetCommonEventHeader() throws Exception {
+ Event testSubject;
+ CommonEventHeader commonEventHeader = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCommonEventHeader(commonEventHeader);
+ }
+
+ @Test
+ public void testGetFaultFields() throws Exception {
+ Event testSubject;
+ FaultFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFaultFields();
+ }
+
+ @Test
+ public void testSetFaultFields() throws Exception {
+ Event testSubject;
+ FaultFields faultFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFaultFields(faultFields);
+ }
+
+ @Test
+ public void testGetHeartbeatFields() throws Exception {
+ Event testSubject;
+ HeartbeatFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeartbeatFields();
+ }
+
+ @Test
+ public void testSetHeartbeatFields() throws Exception {
+ Event testSubject;
+ HeartbeatFields heartbeatFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeartbeatFields(heartbeatFields);
+ }
+
+
+ @Test
+ public void testGetMeasurementsForVfScalingFields() throws Exception {
+ Event testSubject;
+ MeasurementsForVfScalingFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMeasurementsForVfScalingFields();
+ }
+
+
+ @Test
+ public void testSetMeasurementsForVfScalingFields() throws Exception {
+ Event testSubject;
+ MeasurementsForVfScalingFields measurementsForVfScalingFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMeasurementsForVfScalingFields(measurementsForVfScalingFields);
+ }
+
+ @Test
+ public void testGetMobileFlowFields() throws Exception {
+ Event testSubject;
+ MobileFlowFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMobileFlowFields();
+ }
+
+ @Test
+ public void testSetMobileFlowFields() throws Exception {
+ Event testSubject;
+ MobileFlowFields mobileFlowFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMobileFlowFields(mobileFlowFields);
+ }
+
+ @Test
+ public void testGetOtherFields() throws Exception {
+ Event testSubject;
+ OtherFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOtherFields();
+ }
+
+ @Test
+ public void testSetOtherFields() throws Exception {
+ Event testSubject;
+ OtherFields otherFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOtherFields(otherFields);
+ }
+
+ @Test
+ public void testGetSipSignalingFields() throws Exception {
+ Event testSubject;
+ SipSignalingFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSipSignalingFields();
+ }
+
+ @Test
+ public void testSetSipSignalingFields() throws Exception {
+ Event testSubject;
+ SipSignalingFields sipSignalingFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSipSignalingFields(sipSignalingFields);
+ }
+
+ @Test
+ public void testGetStateChangeFields() throws Exception {
+ Event testSubject;
+ StateChangeFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStateChangeFields();
+ }
+
+ @Test
+ public void testSetStateChangeFields() throws Exception {
+ Event testSubject;
+ StateChangeFields stateChangeFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStateChangeFields(stateChangeFields);
+ }
+
+ @Test
+ public void testGetSyslogFields() throws Exception {
+ Event testSubject;
+ SyslogFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogFields();
+ }
+
+ @Test
+ public void testSetSyslogFields() throws Exception {
+ Event testSubject;
+ SyslogFields syslogFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogFields(syslogFields);
+ }
+
+
+ @Test
+ public void testGetThresholdCrossingAlertFields() throws Exception {
+ Event testSubject;
+ ThresholdCrossingAlertFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getThresholdCrossingAlertFields();
+ }
+
+
+ @Test
+ public void testSetThresholdCrossingAlertFields() throws Exception {
+ Event testSubject;
+ ThresholdCrossingAlertFields thresholdCrossingAlertFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setThresholdCrossingAlertFields(thresholdCrossingAlertFields);
+ }
+
+ @Test
+ public void testGetVoiceQualityFields() throws Exception {
+ Event testSubject;
+ VoiceQualityFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVoiceQualityFields();
+ }
+
+ @Test
+ public void testSetVoiceQualityFields() throws Exception {
+ Event testSubject;
+ VoiceQualityFields voiceQualityFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVoiceQualityFields(voiceQualityFields);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ Event testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ Event testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ Event testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ Event testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FaultFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FaultFieldsTest.java new file mode 100644 index 0000000..4488127 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FaultFieldsTest.java @@ -0,0 +1,270 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class FaultFieldsTest {
+
+ private FaultFields createTestSubject() {
+ return new FaultFields();
+ }
+
+
+ @Test
+ public void testGetAlarmAdditionalInformation() throws Exception {
+ FaultFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlarmAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAlarmAdditionalInformation() throws Exception {
+ FaultFields testSubject;
+ List<AlarmAdditionalInformation> alarmAdditionalInformation = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlarmAdditionalInformation(alarmAdditionalInformation);
+ }
+
+ @Test
+ public void testGetAlarmCondition() throws Exception {
+ FaultFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlarmCondition();
+ }
+
+ @Test
+ public void testSetAlarmCondition() throws Exception {
+ FaultFields testSubject;
+ String alarmCondition = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlarmCondition(alarmCondition);
+ }
+
+ @Test
+ public void testGetAlarmInterfaceA() throws Exception {
+ FaultFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlarmInterfaceA();
+ }
+
+ @Test
+ public void testSetAlarmInterfaceA() throws Exception {
+ FaultFields testSubject;
+ String alarmInterfaceA = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlarmInterfaceA(alarmInterfaceA);
+ }
+
+ @Test
+ public void testGetEventCategory() throws Exception {
+ FaultFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventCategory();
+ }
+
+ @Test
+ public void testSetEventCategory() throws Exception {
+ FaultFields testSubject;
+ String eventCategory = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventCategory(eventCategory);
+ }
+
+ @Test
+ public void testGetEventSeverity() throws Exception {
+ FaultFields testSubject;
+ FaultFields.EventSeverity result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventSeverity();
+ }
+
+ @Test
+ public void testSetEventSeverity() throws Exception {
+ FaultFields testSubject;
+ FaultFields.EventSeverity eventSeverity = FaultFields.EventSeverity.CRITICAL;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventSeverity(eventSeverity);
+ }
+
+ @Test
+ public void testGetEventSourceType() throws Exception {
+ FaultFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventSourceType();
+ }
+
+ @Test
+ public void testSetEventSourceType() throws Exception {
+ FaultFields testSubject;
+ String eventSourceType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventSourceType(eventSourceType);
+ }
+
+ @Test
+ public void testGetFaultFieldsVersion() throws Exception {
+ FaultFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFaultFieldsVersion();
+ }
+
+ @Test
+ public void testSetFaultFieldsVersion() throws Exception {
+ FaultFields testSubject;
+ Double faultFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFaultFieldsVersion(faultFieldsVersion);
+ }
+
+ @Test
+ public void testGetSpecificProblem() throws Exception {
+ FaultFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSpecificProblem();
+ }
+
+ @Test
+ public void testSetSpecificProblem() throws Exception {
+ FaultFields testSubject;
+ String specificProblem = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSpecificProblem(specificProblem);
+ }
+
+ @Test
+ public void testGetVfStatus() throws Exception {
+ FaultFields testSubject;
+ FaultFields.VfStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfStatus();
+ }
+
+ @Test
+ public void testSetVfStatus() throws Exception {
+ FaultFields testSubject;
+ FaultFields.VfStatus vfStatus = FaultFields.VfStatus.ACTIVE;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVfStatus(vfStatus);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ FaultFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ FaultFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ FaultFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ FaultFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FeatureUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FeatureUsageArrayTest.java new file mode 100644 index 0000000..00f6292 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FeatureUsageArrayTest.java @@ -0,0 +1,120 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class FeatureUsageArrayTest {
+
+ private FeatureUsageArray createTestSubject() {
+ return new FeatureUsageArray();
+ }
+
+ @Test
+ public void testGetFeatureIdentifier() throws Exception {
+ FeatureUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFeatureIdentifier();
+ }
+
+ @Test
+ public void testSetFeatureIdentifier() throws Exception {
+ FeatureUsageArray testSubject;
+ String featureIdentifier = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFeatureIdentifier(featureIdentifier);
+ }
+
+ @Test
+ public void testGetFeatureUtilization() throws Exception {
+ FeatureUsageArray testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFeatureUtilization();
+ }
+
+ @Test
+ public void testSetFeatureUtilization() throws Exception {
+ FeatureUsageArray testSubject;
+ Integer featureUtilization = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFeatureUtilization(featureUtilization);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ FeatureUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ FeatureUsageArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ FeatureUsageArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ FeatureUsageArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FilesystemUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FilesystemUsageArrayTest.java new file mode 100644 index 0000000..0596cb2 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/FilesystemUsageArrayTest.java @@ -0,0 +1,225 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class FilesystemUsageArrayTest {
+
+ private FilesystemUsageArray createTestSubject() {
+ return new FilesystemUsageArray();
+ }
+
+ @Test
+ public void testGetBlockConfigured() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBlockConfigured();
+ }
+
+ @Test
+ public void testSetBlockConfigured() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double blockConfigured = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBlockConfigured(blockConfigured);
+ }
+
+ @Test
+ public void testGetBlockIops() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBlockIops();
+ }
+
+ @Test
+ public void testSetBlockIops() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double blockIops = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBlockIops(blockIops);
+ }
+
+ @Test
+ public void testGetBlockUsed() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBlockUsed();
+ }
+
+ @Test
+ public void testSetBlockUsed() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double blockUsed = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBlockUsed(blockUsed);
+ }
+
+ @Test
+ public void testGetEphemeralConfigured() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEphemeralConfigured();
+ }
+
+ @Test
+ public void testSetEphemeralConfigured() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double ephemeralConfigured = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEphemeralConfigured(ephemeralConfigured);
+ }
+
+ @Test
+ public void testGetEphemeralIops() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEphemeralIops();
+ }
+
+ @Test
+ public void testSetEphemeralIops() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double ephemeralIops = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEphemeralIops(ephemeralIops);
+ }
+
+ @Test
+ public void testGetEphemeralUsed() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEphemeralUsed();
+ }
+
+ @Test
+ public void testSetEphemeralUsed() throws Exception {
+ FilesystemUsageArray testSubject;
+ Double ephemeralUsed = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEphemeralUsed(ephemeralUsed);
+ }
+
+ @Test
+ public void testGetFilesystemName() throws Exception {
+ FilesystemUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFilesystemName();
+ }
+
+ @Test
+ public void testSetFilesystemName() throws Exception {
+ FilesystemUsageArray testSubject;
+ String filesystemName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFilesystemName(filesystemName);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ FilesystemUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ FilesystemUsageArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ FilesystemUsageArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ FilesystemUsageArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/GtpPerFlowMetricsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/GtpPerFlowMetricsTest.java new file mode 100644 index 0000000..026e683 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/GtpPerFlowMetricsTest.java @@ -0,0 +1,1129 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class GtpPerFlowMetricsTest {
+
+ private GtpPerFlowMetrics createTestSubject() {
+ return new GtpPerFlowMetrics();
+ }
+
+ @Test
+ public void testGetAvgBitErrorRate() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAvgBitErrorRate();
+ }
+
+ @Test
+ public void testSetAvgBitErrorRate() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double avgBitErrorRate = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAvgBitErrorRate(avgBitErrorRate);
+ }
+
+ @Test
+ public void testGetAvgPacketDelayVariation() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAvgPacketDelayVariation();
+ }
+
+ @Test
+ public void testSetAvgPacketDelayVariation() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double avgPacketDelayVariation = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAvgPacketDelayVariation(avgPacketDelayVariation);
+ }
+
+ @Test
+ public void testGetAvgPacketLatency() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAvgPacketLatency();
+ }
+
+ @Test
+ public void testSetAvgPacketLatency() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double avgPacketLatency = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAvgPacketLatency(avgPacketLatency);
+ }
+
+ @Test
+ public void testGetAvgReceiveThroughput() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAvgReceiveThroughput();
+ }
+
+ @Test
+ public void testSetAvgReceiveThroughput() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double avgReceiveThroughput = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAvgReceiveThroughput(avgReceiveThroughput);
+ }
+
+ @Test
+ public void testGetAvgTransmitThroughput() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAvgTransmitThroughput();
+ }
+
+ @Test
+ public void testSetAvgTransmitThroughput() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double avgTransmitThroughput = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAvgTransmitThroughput(avgTransmitThroughput);
+ }
+
+ @Test
+ public void testGetDurConnectionFailedStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDurConnectionFailedStatus();
+ }
+
+ @Test
+ public void testSetDurConnectionFailedStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double durConnectionFailedStatus = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDurConnectionFailedStatus(durConnectionFailedStatus);
+ }
+
+ @Test
+ public void testGetDurTunnelFailedStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDurTunnelFailedStatus();
+ }
+
+ @Test
+ public void testSetDurTunnelFailedStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double durTunnelFailedStatus = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDurTunnelFailedStatus(durTunnelFailedStatus);
+ }
+
+ @Test
+ public void testGetFlowActivatedBy() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowActivatedBy();
+ }
+
+ @Test
+ public void testSetFlowActivatedBy() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String flowActivatedBy = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowActivatedBy(flowActivatedBy);
+ }
+
+ @Test
+ public void testGetFlowActivationEpoch() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowActivationEpoch();
+ }
+
+ @Test
+ public void testSetFlowActivationEpoch() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double flowActivationEpoch = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowActivationEpoch(flowActivationEpoch);
+ }
+
+ @Test
+ public void testGetFlowActivationMicrosec() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowActivationMicrosec();
+ }
+
+ @Test
+ public void testSetFlowActivationMicrosec() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double flowActivationMicrosec = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowActivationMicrosec(flowActivationMicrosec);
+ }
+
+ @Test
+ public void testGetFlowActivationTime() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowActivationTime();
+ }
+
+ @Test
+ public void testSetFlowActivationTime() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String flowActivationTime = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowActivationTime(flowActivationTime);
+ }
+
+ @Test
+ public void testGetFlowDeactivatedBy() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowDeactivatedBy();
+ }
+
+ @Test
+ public void testSetFlowDeactivatedBy() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String flowDeactivatedBy = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowDeactivatedBy(flowDeactivatedBy);
+ }
+
+ @Test
+ public void testGetFlowDeactivationEpoch() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowDeactivationEpoch();
+ }
+
+ @Test
+ public void testSetFlowDeactivationEpoch() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double flowDeactivationEpoch = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowDeactivationEpoch(flowDeactivationEpoch);
+ }
+
+ @Test
+ public void testGetFlowDeactivationMicrosec() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowDeactivationMicrosec();
+ }
+
+ @Test
+ public void testSetFlowDeactivationMicrosec() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double flowDeactivationMicrosec = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowDeactivationMicrosec(flowDeactivationMicrosec);
+ }
+
+ @Test
+ public void testGetFlowDeactivationTime() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowDeactivationTime();
+ }
+
+ @Test
+ public void testSetFlowDeactivationTime() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String flowDeactivationTime = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowDeactivationTime(flowDeactivationTime);
+ }
+
+ @Test
+ public void testGetFlowStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowStatus();
+ }
+
+ @Test
+ public void testSetFlowStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String flowStatus = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowStatus(flowStatus);
+ }
+
+ @Test
+ public void testGetGtpConnectionStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGtpConnectionStatus();
+ }
+
+ @Test
+ public void testSetGtpConnectionStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String gtpConnectionStatus = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGtpConnectionStatus(gtpConnectionStatus);
+ }
+
+ @Test
+ public void testGetGtpTunnelStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGtpTunnelStatus();
+ }
+
+ @Test
+ public void testSetGtpTunnelStatus() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String gtpTunnelStatus = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGtpTunnelStatus(gtpTunnelStatus);
+ }
+
+ @Test
+ public void testGetIpTosCountList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<List<Object>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIpTosCountList();
+ }
+
+ @Test
+ public void testSetIpTosCountList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<List<Object>> ipTosCountList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIpTosCountList(ipTosCountList);
+ }
+
+ @Test
+ public void testGetIpTosList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIpTosList();
+ }
+
+ @Test
+ public void testSetIpTosList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<String> ipTosList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIpTosList(ipTosList);
+ }
+
+ @Test
+ public void testGetLargePacketRtt() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLargePacketRtt();
+ }
+
+ @Test
+ public void testSetLargePacketRtt() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double largePacketRtt = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLargePacketRtt(largePacketRtt);
+ }
+
+ @Test
+ public void testGetLargePacketThreshold() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLargePacketThreshold();
+ }
+
+ @Test
+ public void testSetLargePacketThreshold() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double largePacketThreshold = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLargePacketThreshold(largePacketThreshold);
+ }
+
+ @Test
+ public void testGetMaxPacketDelayVariation() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxPacketDelayVariation();
+ }
+
+ @Test
+ public void testSetMaxPacketDelayVariation() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double maxPacketDelayVariation = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxPacketDelayVariation(maxPacketDelayVariation);
+ }
+
+ @Test
+ public void testGetMaxReceiveBitRate() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxReceiveBitRate();
+ }
+
+ @Test
+ public void testSetMaxReceiveBitRate() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double maxReceiveBitRate = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxReceiveBitRate(maxReceiveBitRate);
+ }
+
+ @Test
+ public void testGetMaxTransmitBitRate() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxTransmitBitRate();
+ }
+
+ @Test
+ public void testSetMaxTransmitBitRate() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double maxTransmitBitRate = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxTransmitBitRate(maxTransmitBitRate);
+ }
+
+ @Test
+ public void testGetMobileQciCosCountList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<List<Object>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMobileQciCosCountList();
+ }
+
+ @Test
+ public void testSetMobileQciCosCountList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<List<Object>> mobileQciCosCountList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMobileQciCosCountList(mobileQciCosCountList);
+ }
+
+ @Test
+ public void testGetMobileQciCosList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMobileQciCosList();
+ }
+
+ @Test
+ public void testSetMobileQciCosList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<String> mobileQciCosList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMobileQciCosList(mobileQciCosList);
+ }
+
+ @Test
+ public void testGetNumActivationFailures() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumActivationFailures();
+ }
+
+ @Test
+ public void testSetNumActivationFailures() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numActivationFailures = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumActivationFailures(numActivationFailures);
+ }
+
+ @Test
+ public void testGetNumBitErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumBitErrors();
+ }
+
+ @Test
+ public void testSetNumBitErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numBitErrors = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumBitErrors(numBitErrors);
+ }
+
+ @Test
+ public void testGetNumBytesReceived() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumBytesReceived();
+ }
+
+ @Test
+ public void testSetNumBytesReceived() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numBytesReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumBytesReceived(numBytesReceived);
+ }
+
+ @Test
+ public void testGetNumBytesTransmitted() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumBytesTransmitted();
+ }
+
+ @Test
+ public void testSetNumBytesTransmitted() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numBytesTransmitted = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumBytesTransmitted(numBytesTransmitted);
+ }
+
+ @Test
+ public void testGetNumDroppedPackets() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumDroppedPackets();
+ }
+
+ @Test
+ public void testSetNumDroppedPackets() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numDroppedPackets = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumDroppedPackets(numDroppedPackets);
+ }
+
+ @Test
+ public void testGetNumGtpEchoFailures() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumGtpEchoFailures();
+ }
+
+ @Test
+ public void testSetNumGtpEchoFailures() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numGtpEchoFailures = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumGtpEchoFailures(numGtpEchoFailures);
+ }
+
+ @Test
+ public void testGetNumGtpTunnelErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumGtpTunnelErrors();
+ }
+
+ @Test
+ public void testSetNumGtpTunnelErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numGtpTunnelErrors = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumGtpTunnelErrors(numGtpTunnelErrors);
+ }
+
+ @Test
+ public void testGetNumHttpErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumHttpErrors();
+ }
+
+ @Test
+ public void testSetNumHttpErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numHttpErrors = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumHttpErrors(numHttpErrors);
+ }
+
+ @Test
+ public void testGetNumL7BytesReceived() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumL7BytesReceived();
+ }
+
+ @Test
+ public void testSetNumL7BytesReceived() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numL7BytesReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumL7BytesReceived(numL7BytesReceived);
+ }
+
+ @Test
+ public void testGetNumL7BytesTransmitted() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumL7BytesTransmitted();
+ }
+
+ @Test
+ public void testSetNumL7BytesTransmitted() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numL7BytesTransmitted = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumL7BytesTransmitted(numL7BytesTransmitted);
+ }
+
+ @Test
+ public void testGetNumLostPackets() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumLostPackets();
+ }
+
+ @Test
+ public void testSetNumLostPackets() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numLostPackets = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumLostPackets(numLostPackets);
+ }
+
+ @Test
+ public void testGetNumOutOfOrderPackets() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumOutOfOrderPackets();
+ }
+
+ @Test
+ public void testSetNumOutOfOrderPackets() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numOutOfOrderPackets = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumOutOfOrderPackets(numOutOfOrderPackets);
+ }
+
+ @Test
+ public void testGetNumPacketErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumPacketErrors();
+ }
+
+ @Test
+ public void testSetNumPacketErrors() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numPacketErrors = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumPacketErrors(numPacketErrors);
+ }
+
+ @Test
+ public void testGetNumPacketsReceivedExclRetrans() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumPacketsReceivedExclRetrans();
+ }
+
+ @Test
+ public void testSetNumPacketsReceivedExclRetrans() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numPacketsReceivedExclRetrans = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumPacketsReceivedExclRetrans(numPacketsReceivedExclRetrans);
+ }
+
+ @Test
+ public void testGetNumPacketsReceivedInclRetrans() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumPacketsReceivedInclRetrans();
+ }
+
+ @Test
+ public void testSetNumPacketsReceivedInclRetrans() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numPacketsReceivedInclRetrans = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumPacketsReceivedInclRetrans(numPacketsReceivedInclRetrans);
+ }
+
+ @Test
+ public void testGetNumPacketsTransmittedInclRetrans() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumPacketsTransmittedInclRetrans();
+ }
+
+ @Test
+ public void testSetNumPacketsTransmittedInclRetrans() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numPacketsTransmittedInclRetrans = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumPacketsTransmittedInclRetrans(numPacketsTransmittedInclRetrans);
+ }
+
+ @Test
+ public void testGetNumRetries() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumRetries();
+ }
+
+ @Test
+ public void testSetNumRetries() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numRetries = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumRetries(numRetries);
+ }
+
+ @Test
+ public void testGetNumTimeouts() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumTimeouts();
+ }
+
+ @Test
+ public void testSetNumTimeouts() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numTimeouts = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumTimeouts(numTimeouts);
+ }
+
+ @Test
+ public void testGetNumTunneledL7BytesReceived() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumTunneledL7BytesReceived();
+ }
+
+ @Test
+ public void testSetNumTunneledL7BytesReceived() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double numTunneledL7BytesReceived = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumTunneledL7BytesReceived(numTunneledL7BytesReceived);
+ }
+
+ @Test
+ public void testGetRoundTripTime() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRoundTripTime();
+ }
+
+ @Test
+ public void testSetRoundTripTime() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double roundTripTime = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRoundTripTime(roundTripTime);
+ }
+
+ @Test
+ public void testGetTcpFlagCountList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<List<Object>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTcpFlagCountList();
+ }
+
+ @Test
+ public void testSetTcpFlagCountList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<List<Object>> tcpFlagCountList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTcpFlagCountList(tcpFlagCountList);
+ }
+
+ @Test
+ public void testGetTcpFlagList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTcpFlagList();
+ }
+
+ @Test
+ public void testSetTcpFlagList() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ List<String> tcpFlagList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTcpFlagList(tcpFlagList);
+ }
+
+ @Test
+ public void testGetTimeToFirstByte() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimeToFirstByte();
+ }
+
+ @Test
+ public void testSetTimeToFirstByte() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Double timeToFirstByte = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimeToFirstByte(timeToFirstByte);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ GtpPerFlowMetrics testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/HeartbeatFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/HeartbeatFieldsTest.java new file mode 100644 index 0000000..af71b46 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/HeartbeatFieldsTest.java @@ -0,0 +1,142 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class HeartbeatFieldsTest {
+
+ private HeartbeatFields createTestSubject() {
+ return new HeartbeatFields();
+ }
+
+ @Test
+ public void testGetAdditionalFields() throws Exception {
+ HeartbeatFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalFields();
+ }
+
+ @Test
+ public void testSetAdditionalFields() throws Exception {
+ HeartbeatFields testSubject;
+ List<AlarmAdditionalInformation> additionalFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalFields(additionalFields);
+ }
+
+ @Test
+ public void testGetHeartbeatFieldsVersion() throws Exception {
+ HeartbeatFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeartbeatFieldsVersion();
+ }
+
+ @Test
+ public void testSetHeartbeatFieldsVersion() throws Exception {
+ HeartbeatFields testSubject;
+ Double heartbeatFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeartbeatFieldsVersion(heartbeatFieldsVersion);
+ }
+
+ @Test
+ public void testGetHeartbeatInterval() throws Exception {
+ HeartbeatFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeartbeatInterval();
+ }
+
+ @Test
+ public void testSetHeartbeatInterval() throws Exception {
+ HeartbeatFields testSubject;
+ Integer heartbeatInterval = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeartbeatInterval(heartbeatInterval);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ HeartbeatFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ HeartbeatFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ HeartbeatFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ HeartbeatFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/InternalHeaderFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/InternalHeaderFieldsTest.java new file mode 100644 index 0000000..3ab86b0 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/InternalHeaderFieldsTest.java @@ -0,0 +1,78 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class InternalHeaderFieldsTest {
+
+ private InternalHeaderFields createTestSubject() {
+ return new InternalHeaderFields();
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ InternalHeaderFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ InternalHeaderFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ InternalHeaderFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ InternalHeaderFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/LatencyDistributionTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/LatencyDistributionTest.java new file mode 100644 index 0000000..d91c8a2 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/LatencyDistributionTest.java @@ -0,0 +1,141 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class LatencyDistributionTest {
+
+ private LatencyDistribution createTestSubject() {
+ return new LatencyDistribution();
+ }
+
+ @Test
+ public void testGetCountsInTheBucket() throws Exception {
+ LatencyDistribution testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCountsInTheBucket();
+ }
+
+ @Test
+ public void testSetCountsInTheBucket() throws Exception {
+ LatencyDistribution testSubject;
+ Double countsInTheBucket = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCountsInTheBucket(countsInTheBucket);
+ }
+
+ @Test
+ public void testGetHighEndOfLatencyBucket() throws Exception {
+ LatencyDistribution testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHighEndOfLatencyBucket();
+ }
+
+ @Test
+ public void testSetHighEndOfLatencyBucket() throws Exception {
+ LatencyDistribution testSubject;
+ Double highEndOfLatencyBucket = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHighEndOfLatencyBucket(highEndOfLatencyBucket);
+ }
+
+ @Test
+ public void testGetLowEndOfLatencyBucket() throws Exception {
+ LatencyDistribution testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLowEndOfLatencyBucket();
+ }
+
+ @Test
+ public void testSetLowEndOfLatencyBucket() throws Exception {
+ LatencyDistribution testSubject;
+ Double lowEndOfLatencyBucket = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLowEndOfLatencyBucket(lowEndOfLatencyBucket);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ LatencyDistribution testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ LatencyDistribution testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ LatencyDistribution testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ LatencyDistribution testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MeasurementsForVfScalingFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MeasurementsForVfScalingFieldsTest.java new file mode 100644 index 0000000..ded359d --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MeasurementsForVfScalingFieldsTest.java @@ -0,0 +1,478 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class MeasurementsForVfScalingFieldsTest {
+
+ private MeasurementsForVfScalingFields createTestSubject() {
+ return new MeasurementsForVfScalingFields();
+ }
+
+ @Test
+ public void testGetAdditionalFields() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalFields();
+ }
+
+ @Test
+ public void testSetAdditionalFields() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<AlarmAdditionalInformation> additionalFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalFields(additionalFields);
+ }
+
+ @Test
+ public void testGetAdditionalMeasurements() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<AdditionalMeasurement> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalMeasurements();
+ }
+
+ @Test
+ public void testSetAdditionalMeasurements() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<AdditionalMeasurement> additionalMeasurements = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalMeasurements(additionalMeasurements);
+ }
+
+ @Test
+ public void testGetAdditionalObjects() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<AdditionalObject> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalObjects();
+ }
+
+ @Test
+ public void testSetAdditionalObjects() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<AdditionalObject> additionalObjects = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalObjects(additionalObjects);
+ }
+
+ @Test
+ public void testGetCodecUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<CodecUsageArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCodecUsageArray();
+ }
+
+ @Test
+ public void testSetCodecUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<CodecUsageArray> codecUsageArray = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCodecUsageArray(codecUsageArray);
+ }
+
+ @Test
+ public void testGetConcurrentSessions() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConcurrentSessions();
+ }
+
+ @Test
+ public void testSetConcurrentSessions() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer concurrentSessions = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConcurrentSessions(concurrentSessions);
+ }
+
+ @Test
+ public void testGetConfiguredEntities() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConfiguredEntities();
+ }
+
+ @Test
+ public void testSetConfiguredEntities() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer configuredEntities = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConfiguredEntities(configuredEntities);
+ }
+
+ @Test
+ public void testGetCpuUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<CpuUsageArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCpuUsageArray();
+ }
+
+ @Test
+ public void testSetCpuUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<CpuUsageArray> cpuUsageArray = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCpuUsageArray(cpuUsageArray);
+ }
+
+ @Test
+ public void testGetDiskUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<DiskUsageArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDiskUsageArray();
+ }
+
+ @Test
+ public void testSetDiskUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<DiskUsageArray> diskUsageArray = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDiskUsageArray(diskUsageArray);
+ }
+
+ @Test
+ public void testGetFeatureUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<FeatureUsageArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFeatureUsageArray();
+ }
+
+ @Test
+ public void testSetFeatureUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<FeatureUsageArray> featureUsageArray = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFeatureUsageArray(featureUsageArray);
+ }
+
+ @Test
+ public void testGetFilesystemUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<FilesystemUsageArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFilesystemUsageArray();
+ }
+
+ @Test
+ public void testSetFilesystemUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<FilesystemUsageArray> filesystemUsageArray = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFilesystemUsageArray(filesystemUsageArray);
+ }
+
+ @Test
+ public void testGetLatencyDistribution() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<LatencyDistribution> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLatencyDistribution();
+ }
+
+ @Test
+ public void testSetLatencyDistribution() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<LatencyDistribution> latencyDistribution = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLatencyDistribution(latencyDistribution);
+ }
+
+ @Test
+ public void testGetMeanRequestLatency() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMeanRequestLatency();
+ }
+
+ @Test
+ public void testSetMeanRequestLatency() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double meanRequestLatency = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMeanRequestLatency(meanRequestLatency);
+ }
+
+ @Test
+ public void testGetMeasurementInterval() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMeasurementInterval();
+ }
+
+ @Test
+ public void testSetMeasurementInterval() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double measurementInterval = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMeasurementInterval(measurementInterval);
+ }
+
+ @Test
+ public void testGetMeasurementsForVfScalingVersion() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMeasurementsForVfScalingVersion();
+ }
+
+ @Test
+ public void testSetMeasurementsForVfScalingVersion() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double measurementsForVfScalingVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMeasurementsForVfScalingVersion(measurementsForVfScalingVersion);
+ }
+
+ @Test
+ public void testGetMemoryUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<MemoryUsageArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemoryUsageArray();
+ }
+
+ @Test
+ public void testSetMemoryUsageArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<MemoryUsageArray> memoryUsageArray = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemoryUsageArray(memoryUsageArray);
+ }
+
+ @Test
+ public void testGetNumberOfMediaPortsInUse() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNumberOfMediaPortsInUse();
+ }
+
+ @Test
+ public void testSetNumberOfMediaPortsInUse() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer numberOfMediaPortsInUse = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNumberOfMediaPortsInUse(numberOfMediaPortsInUse);
+ }
+
+ @Test
+ public void testGetRequestRate() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestRate();
+ }
+
+ @Test
+ public void testSetRequestRate() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Double requestRate = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestRate(requestRate);
+ }
+
+ @Test
+ public void testGetVnfcScalingMetric() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVnfcScalingMetric();
+ }
+
+ @Test
+ public void testSetVnfcScalingMetric() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Integer vnfcScalingMetric = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVnfcScalingMetric(vnfcScalingMetric);
+ }
+
+ @Test
+ public void testGetVNicPerformanceArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<VNicPerformanceArray> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVNicPerformanceArray();
+ }
+
+ @Test
+ public void testSetVNicPerformanceArray() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ List<VNicPerformanceArray> array = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVNicPerformanceArray(array);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ MeasurementsForVfScalingFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MemoryUsageArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MemoryUsageArrayTest.java new file mode 100644 index 0000000..ee296cb --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MemoryUsageArrayTest.java @@ -0,0 +1,245 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class MemoryUsageArrayTest {
+
+ private MemoryUsageArray createTestSubject() {
+ return new MemoryUsageArray();
+ }
+
+ @Test
+ public void testGetMemoryBuffered() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemoryBuffered();
+ }
+
+ @Test
+ public void testSetMemoryBuffered() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memoryBuffered = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemoryBuffered(memoryBuffered);
+ }
+
+ @Test
+ public void testGetMemoryCached() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemoryCached();
+ }
+
+ @Test
+ public void testSetMemoryCached() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memoryCached = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemoryCached(memoryCached);
+ }
+
+ @Test
+ public void testGetMemoryConfigured() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemoryConfigured();
+ }
+
+ @Test
+ public void testSetMemoryConfigured() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memoryConfigured = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemoryConfigured(memoryConfigured);
+ }
+
+ @Test
+ public void testGetMemoryFree() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemoryFree();
+ }
+
+ @Test
+ public void testSetMemoryFree() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memoryFree = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemoryFree(memoryFree);
+ }
+
+ @Test
+ public void testGetMemorySlabRecl() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemorySlabRecl();
+ }
+
+ @Test
+ public void testSetMemorySlabRecl() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memorySlabRecl = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemorySlabRecl(memorySlabRecl);
+ }
+
+ @Test
+ public void testGetMemorySlabUnrecl() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemorySlabUnrecl();
+ }
+
+ @Test
+ public void testSetMemorySlabUnrecl() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memorySlabUnrecl = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemorySlabUnrecl(memorySlabUnrecl);
+ }
+
+ @Test
+ public void testGetMemoryUsed() throws Exception {
+ MemoryUsageArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMemoryUsed();
+ }
+
+ @Test
+ public void testSetMemoryUsed() throws Exception {
+ MemoryUsageArray testSubject;
+ Double memoryUsed = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMemoryUsed(memoryUsed);
+ }
+
+ @Test
+ public void testGetVmIdentifier() throws Exception {
+ MemoryUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVmIdentifier();
+ }
+
+ @Test
+ public void testSetVmIdentifier() throws Exception {
+ MemoryUsageArray testSubject;
+ String vmIdentifier = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVmIdentifier(vmIdentifier);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ MemoryUsageArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ MemoryUsageArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ MemoryUsageArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ MemoryUsageArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MobileFlowFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MobileFlowFieldsTest.java new file mode 100644 index 0000000..ddceeba --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/MobileFlowFieldsTest.java @@ -0,0 +1,772 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class MobileFlowFieldsTest {
+
+ private MobileFlowFields createTestSubject() {
+ return new MobileFlowFields();
+ }
+
+ @Test
+ public void testGetAdditionalFields() throws Exception {
+ MobileFlowFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalFields();
+ }
+
+ @Test
+ public void testSetAdditionalFields() throws Exception {
+ MobileFlowFields testSubject;
+ List<AlarmAdditionalInformation> additionalFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalFields(additionalFields);
+ }
+
+ @Test
+ public void testGetApplicationType() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicationType();
+ }
+
+ @Test
+ public void testSetApplicationType() throws Exception {
+ MobileFlowFields testSubject;
+ String applicationType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicationType(applicationType);
+ }
+
+ @Test
+ public void testGetAppProtocolType() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAppProtocolType();
+ }
+
+ @Test
+ public void testSetAppProtocolType() throws Exception {
+ MobileFlowFields testSubject;
+ String appProtocolType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAppProtocolType(appProtocolType);
+ }
+
+ @Test
+ public void testGetAppProtocolVersion() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAppProtocolVersion();
+ }
+
+ @Test
+ public void testSetAppProtocolVersion() throws Exception {
+ MobileFlowFields testSubject;
+ String appProtocolVersion = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAppProtocolVersion(appProtocolVersion);
+ }
+
+ @Test
+ public void testGetCid() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCid();
+ }
+
+ @Test
+ public void testSetCid() throws Exception {
+ MobileFlowFields testSubject;
+ String cid = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCid(cid);
+ }
+
+ @Test
+ public void testGetConnectionType() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectionType();
+ }
+
+ @Test
+ public void testSetConnectionType() throws Exception {
+ MobileFlowFields testSubject;
+ String connectionType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectionType(connectionType);
+ }
+
+ @Test
+ public void testGetEcgi() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEcgi();
+ }
+
+ @Test
+ public void testSetEcgi() throws Exception {
+ MobileFlowFields testSubject;
+ String ecgi = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcgi(ecgi);
+ }
+
+ @Test
+ public void testGetFlowDirection() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFlowDirection();
+ }
+
+ @Test
+ public void testSetFlowDirection() throws Exception {
+ MobileFlowFields testSubject;
+ String flowDirection = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFlowDirection(flowDirection);
+ }
+
+ @Test
+ public void testGetGtpPerFlowMetrics() throws Exception {
+ MobileFlowFields testSubject;
+ GtpPerFlowMetrics result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGtpPerFlowMetrics();
+ }
+
+ @Test
+ public void testSetGtpPerFlowMetrics() throws Exception {
+ MobileFlowFields testSubject;
+ GtpPerFlowMetrics gtpPerFlowMetrics = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGtpPerFlowMetrics(gtpPerFlowMetrics);
+ }
+
+ @Test
+ public void testGetGtpProtocolType() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGtpProtocolType();
+ }
+
+ @Test
+ public void testSetGtpProtocolType() throws Exception {
+ MobileFlowFields testSubject;
+ String gtpProtocolType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGtpProtocolType(gtpProtocolType);
+ }
+
+ @Test
+ public void testGetGtpVersion() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGtpVersion();
+ }
+
+ @Test
+ public void testSetGtpVersion() throws Exception {
+ MobileFlowFields testSubject;
+ String gtpVersion = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGtpVersion(gtpVersion);
+ }
+
+ @Test
+ public void testGetHttpHeader() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHttpHeader();
+ }
+
+ @Test
+ public void testSetHttpHeader() throws Exception {
+ MobileFlowFields testSubject;
+ String httpHeader = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHttpHeader(httpHeader);
+ }
+
+ @Test
+ public void testGetImei() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getImei();
+ }
+
+ @Test
+ public void testSetImei() throws Exception {
+ MobileFlowFields testSubject;
+ String imei = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImei(imei);
+ }
+
+ @Test
+ public void testGetImsi() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getImsi();
+ }
+
+ @Test
+ public void testSetImsi() throws Exception {
+ MobileFlowFields testSubject;
+ String imsi = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImsi(imsi);
+ }
+
+ @Test
+ public void testGetIpProtocolType() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIpProtocolType();
+ }
+
+ @Test
+ public void testSetIpProtocolType() throws Exception {
+ MobileFlowFields testSubject;
+ String ipProtocolType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIpProtocolType(ipProtocolType);
+ }
+
+ @Test
+ public void testGetIpVersion() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIpVersion();
+ }
+
+ @Test
+ public void testSetIpVersion() throws Exception {
+ MobileFlowFields testSubject;
+ String ipVersion = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIpVersion(ipVersion);
+ }
+
+ @Test
+ public void testGetLac() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLac();
+ }
+
+ @Test
+ public void testSetLac() throws Exception {
+ MobileFlowFields testSubject;
+ String lac = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLac(lac);
+ }
+
+ @Test
+ public void testGetMcc() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMcc();
+ }
+
+ @Test
+ public void testSetMcc() throws Exception {
+ MobileFlowFields testSubject;
+ String mcc = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMcc(mcc);
+ }
+
+ @Test
+ public void testGetMnc() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMnc();
+ }
+
+ @Test
+ public void testSetMnc() throws Exception {
+ MobileFlowFields testSubject;
+ String mnc = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMnc(mnc);
+ }
+
+ @Test
+ public void testGetMobileFlowFieldsVersion() throws Exception {
+ MobileFlowFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMobileFlowFieldsVersion();
+ }
+
+ @Test
+ public void testSetMobileFlowFieldsVersion() throws Exception {
+ MobileFlowFields testSubject;
+ Double mobileFlowFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMobileFlowFieldsVersion(mobileFlowFieldsVersion);
+ }
+
+ @Test
+ public void testGetMsisdn() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMsisdn();
+ }
+
+ @Test
+ public void testSetMsisdn() throws Exception {
+ MobileFlowFields testSubject;
+ String msisdn = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMsisdn(msisdn);
+ }
+
+ @Test
+ public void testGetOtherEndpointIpAddress() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOtherEndpointIpAddress();
+ }
+
+ @Test
+ public void testSetOtherEndpointIpAddress() throws Exception {
+ MobileFlowFields testSubject;
+ String otherEndpointIpAddress = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOtherEndpointIpAddress(otherEndpointIpAddress);
+ }
+
+ @Test
+ public void testGetOtherEndpointPort() throws Exception {
+ MobileFlowFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOtherEndpointPort();
+ }
+
+ @Test
+ public void testSetOtherEndpointPort() throws Exception {
+ MobileFlowFields testSubject;
+ Integer otherEndpointPort = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOtherEndpointPort(otherEndpointPort);
+ }
+
+ @Test
+ public void testGetOtherFunctionalRole() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOtherFunctionalRole();
+ }
+
+ @Test
+ public void testSetOtherFunctionalRole() throws Exception {
+ MobileFlowFields testSubject;
+ String otherFunctionalRole = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOtherFunctionalRole(otherFunctionalRole);
+ }
+
+ @Test
+ public void testGetRac() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRac();
+ }
+
+ @Test
+ public void testSetRac() throws Exception {
+ MobileFlowFields testSubject;
+ String rac = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRac(rac);
+ }
+
+ @Test
+ public void testGetRadioAccessTechnology() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRadioAccessTechnology();
+ }
+
+ @Test
+ public void testSetRadioAccessTechnology() throws Exception {
+ MobileFlowFields testSubject;
+ String radioAccessTechnology = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRadioAccessTechnology(radioAccessTechnology);
+ }
+
+ @Test
+ public void testGetReportingEndpointIpAddr() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReportingEndpointIpAddr();
+ }
+
+ @Test
+ public void testSetReportingEndpointIpAddr() throws Exception {
+ MobileFlowFields testSubject;
+ String reportingEndpointIpAddr = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReportingEndpointIpAddr(reportingEndpointIpAddr);
+ }
+
+ @Test
+ public void testGetReportingEndpointPort() throws Exception {
+ MobileFlowFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReportingEndpointPort();
+ }
+
+ @Test
+ public void testSetReportingEndpointPort() throws Exception {
+ MobileFlowFields testSubject;
+ Integer reportingEndpointPort = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReportingEndpointPort(reportingEndpointPort);
+ }
+
+ @Test
+ public void testGetSac() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSac();
+ }
+
+ @Test
+ public void testSetSac() throws Exception {
+ MobileFlowFields testSubject;
+ String sac = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSac(sac);
+ }
+
+ @Test
+ public void testGetSamplingAlgorithm() throws Exception {
+ MobileFlowFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSamplingAlgorithm();
+ }
+
+ @Test
+ public void testSetSamplingAlgorithm() throws Exception {
+ MobileFlowFields testSubject;
+ Integer samplingAlgorithm = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSamplingAlgorithm(samplingAlgorithm);
+ }
+
+ @Test
+ public void testGetTac() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTac();
+ }
+
+ @Test
+ public void testSetTac() throws Exception {
+ MobileFlowFields testSubject;
+ String tac = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTac(tac);
+ }
+
+ @Test
+ public void testGetTunnelId() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTunnelId();
+ }
+
+ @Test
+ public void testSetTunnelId() throws Exception {
+ MobileFlowFields testSubject;
+ String tunnelId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTunnelId(tunnelId);
+ }
+
+ @Test
+ public void testGetVlanId() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVlanId();
+ }
+
+ @Test
+ public void testSetVlanId() throws Exception {
+ MobileFlowFields testSubject;
+ String vlanId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVlanId(vlanId);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ MobileFlowFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ MobileFlowFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ MobileFlowFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ MobileFlowFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ObjectInstanceTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ObjectInstanceTest.java new file mode 100644 index 0000000..777d96b --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ObjectInstanceTest.java @@ -0,0 +1,153 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class ObjectInstanceTest {
+
+ private ObjectInstance createTestSubject() {
+ return new ObjectInstance();
+ }
+
+ @Test
+ public void testSetObjectInstance() throws Exception {
+ ObjectInstance testSubject;
+ ObjectInstance objectInstance = null;
+
+
+ // default test 1
+ testSubject = createTestSubject();
+ testSubject.setObjectInstance(objectInstance);
+ }
+
+ @Test
+ public void testGetObjectInstance() throws Exception {
+ ObjectInstance testSubject;
+ ObjectInstance result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectInstance();
+ }
+
+ @Test
+ public void testSetObjectInstance_1() throws Exception {
+ ObjectInstance testSubject;
+ ObjectInstance objectInstance = null;
+
+
+ // default test 1
+ testSubject = createTestSubject();
+ testSubject.setObjectInstance(objectInstance);
+ }
+
+ @Test
+ public void testGetObjectInstanceEpochMicrosec() throws Exception {
+ ObjectInstance testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectInstanceEpochMicrosec();
+ }
+
+ @Test
+ public void testSetObjectInstanceEpochMicrosec() throws Exception {
+ ObjectInstance testSubject;
+ Double objectInstanceEpochMicrosec = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setObjectInstanceEpochMicrosec(objectInstanceEpochMicrosec);
+ }
+
+ @Test
+ public void testGetObjectKeys() throws Exception {
+ ObjectInstance testSubject;
+ List<ObjectKey> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getObjectKeys();
+ }
+
+ @Test
+ public void testSetObjectKeys() throws Exception {
+ ObjectInstance testSubject;
+ List<ObjectKey> objectKeys = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setObjectKeys(objectKeys);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ ObjectInstance testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ ObjectInstance testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ ObjectInstance testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ ObjectInstance testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ObjectKeyTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ObjectKeyTest.java new file mode 100644 index 0000000..71d5dc3 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ObjectKeyTest.java @@ -0,0 +1,141 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class ObjectKeyTest {
+
+ private ObjectKey createTestSubject() {
+ return new ObjectKey();
+ }
+
+ @Test
+ public void testGetKeyName() throws Exception {
+ ObjectKey testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyName();
+ }
+
+ @Test
+ public void testSetKeyName() throws Exception {
+ ObjectKey testSubject;
+ String keyName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKeyName(keyName);
+ }
+
+ @Test
+ public void testGetKeyOrder() throws Exception {
+ ObjectKey testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyOrder();
+ }
+
+ @Test
+ public void testSetKeyOrder() throws Exception {
+ ObjectKey testSubject;
+ Integer keyOrder = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKeyOrder(keyOrder);
+ }
+
+ @Test
+ public void testGetKeyValue() throws Exception {
+ ObjectKey testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKeyValue();
+ }
+
+ @Test
+ public void testSetKeyValue() throws Exception {
+ ObjectKey testSubject;
+ String keyValue = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKeyValue(keyValue);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ ObjectKey testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ ObjectKey testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ ObjectKey testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ ObjectKey testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/OtherFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/OtherFieldsTest.java new file mode 100644 index 0000000..e6f883c --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/OtherFieldsTest.java @@ -0,0 +1,165 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class OtherFieldsTest {
+
+ private OtherFields createTestSubject() {
+ return new OtherFields();
+ }
+
+
+ @Test
+ public void testGetHashOfNameValuePairArrays() throws Exception {
+ OtherFields testSubject;
+ List<AdditionalMeasurement> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHashOfNameValuePairArrays();
+ }
+
+
+ @Test
+ public void testSetHashOfNameValuePairArrays() throws Exception {
+ OtherFields testSubject;
+ List<AdditionalMeasurement> hashOfNameValuePairArrays = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHashOfNameValuePairArrays(hashOfNameValuePairArrays);
+ }
+
+ @Test
+ public void testGetJsonObjects() throws Exception {
+ OtherFields testSubject;
+ List<AdditionalObject> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJsonObjects();
+ }
+
+ @Test
+ public void testSetJsonObjects() throws Exception {
+ OtherFields testSubject;
+ List<AdditionalObject> jsonObjects = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJsonObjects(jsonObjects);
+ }
+
+ @Test
+ public void testGetNameValuePairs() throws Exception {
+ OtherFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNameValuePairs();
+ }
+
+ @Test
+ public void testSetNameValuePairs() throws Exception {
+ OtherFields testSubject;
+ List<AlarmAdditionalInformation> nameValuePairs = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNameValuePairs(nameValuePairs);
+ }
+
+ @Test
+ public void testGetOtherFieldsVersion() throws Exception {
+ OtherFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOtherFieldsVersion();
+ }
+
+ @Test
+ public void testSetOtherFieldsVersion() throws Exception {
+ OtherFields testSubject;
+ Double otherFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOtherFieldsVersion(otherFieldsVersion);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ OtherFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ OtherFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ OtherFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ OtherFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/SipSignalingFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/SipSignalingFieldsTest.java new file mode 100644 index 0000000..337979a --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/SipSignalingFieldsTest.java @@ -0,0 +1,291 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class SipSignalingFieldsTest {
+
+ private SipSignalingFields createTestSubject() {
+ return new SipSignalingFields();
+ }
+
+
+ @Test
+ public void testGetAdditionalInformation() throws Exception {
+ SipSignalingFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformation() throws Exception {
+ SipSignalingFields testSubject;
+ List<AlarmAdditionalInformation> additionalInformation = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformation(additionalInformation);
+ }
+
+ @Test
+ public void testGetCompressedSip() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCompressedSip();
+ }
+
+ @Test
+ public void testSetCompressedSip() throws Exception {
+ SipSignalingFields testSubject;
+ String compressedSip = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCompressedSip(compressedSip);
+ }
+
+ @Test
+ public void testGetCorrelator() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCorrelator();
+ }
+
+ @Test
+ public void testSetCorrelator() throws Exception {
+ SipSignalingFields testSubject;
+ String correlator = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCorrelator(correlator);
+ }
+
+ @Test
+ public void testGetLocalIpAddress() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalIpAddress();
+ }
+
+ @Test
+ public void testSetLocalIpAddress() throws Exception {
+ SipSignalingFields testSubject;
+ String localIpAddress = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalIpAddress(localIpAddress);
+ }
+
+ @Test
+ public void testGetLocalPort() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLocalPort();
+ }
+
+ @Test
+ public void testSetLocalPort() throws Exception {
+ SipSignalingFields testSubject;
+ String localPort = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLocalPort(localPort);
+ }
+
+ @Test
+ public void testGetRemoteIpAddress() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRemoteIpAddress();
+ }
+
+ @Test
+ public void testSetRemoteIpAddress() throws Exception {
+ SipSignalingFields testSubject;
+ String remoteIpAddress = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRemoteIpAddress(remoteIpAddress);
+ }
+
+ @Test
+ public void testGetRemotePort() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRemotePort();
+ }
+
+ @Test
+ public void testSetRemotePort() throws Exception {
+ SipSignalingFields testSubject;
+ String remotePort = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRemotePort(remotePort);
+ }
+
+ @Test
+ public void testGetSipSignalingFieldsVersion() throws Exception {
+ SipSignalingFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSipSignalingFieldsVersion();
+ }
+
+ @Test
+ public void testSetSipSignalingFieldsVersion() throws Exception {
+ SipSignalingFields testSubject;
+ Double sipSignalingFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSipSignalingFieldsVersion(sipSignalingFieldsVersion);
+ }
+
+ @Test
+ public void testGetSummarySip() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSummarySip();
+ }
+
+ @Test
+ public void testSetSummarySip() throws Exception {
+ SipSignalingFields testSubject;
+ String summarySip = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSummarySip(summarySip);
+ }
+
+ @Test
+ public void testGetVendorVnfNameFields() throws Exception {
+ SipSignalingFields testSubject;
+ VendorVnfNameFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorVnfNameFields();
+ }
+
+ @Test
+ public void testSetVendorVnfNameFields() throws Exception {
+ SipSignalingFields testSubject;
+ VendorVnfNameFields vendorVnfNameFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorVnfNameFields(vendorVnfNameFields);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ SipSignalingFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ SipSignalingFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ SipSignalingFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ SipSignalingFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/StateChangeFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/StateChangeFieldsTest.java new file mode 100644 index 0000000..a4a0a5d --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/StateChangeFieldsTest.java @@ -0,0 +1,184 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class StateChangeFieldsTest {
+
+ private StateChangeFields createTestSubject() {
+ return new StateChangeFields();
+ }
+
+ @Test
+ public void testGetAdditionalFields() throws Exception {
+ StateChangeFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalFields();
+ }
+
+ @Test
+ public void testSetAdditionalFields() throws Exception {
+ StateChangeFields testSubject;
+ List<AlarmAdditionalInformation> additionalFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalFields(additionalFields);
+ }
+
+ @Test
+ public void testGetNewState() throws Exception {
+ StateChangeFields testSubject;
+ StateChangeFields.NewState result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNewState();
+ }
+
+ @Test
+ public void testSetNewState() throws Exception {
+ StateChangeFields testSubject;
+ StateChangeFields.NewState newState = StateChangeFields.NewState.IN_SERVICE;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNewState(newState);
+ }
+
+ @Test
+ public void testGetOldState() throws Exception {
+ StateChangeFields testSubject;
+ StateChangeFields.OldState result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOldState();
+ }
+
+ @Test
+ public void testSetOldState() throws Exception {
+ StateChangeFields testSubject;
+ StateChangeFields.OldState oldState = StateChangeFields.OldState.IN_SERVICE;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOldState(oldState);
+ }
+
+ @Test
+ public void testGetStateChangeFieldsVersion() throws Exception {
+ StateChangeFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStateChangeFieldsVersion();
+ }
+
+ @Test
+ public void testSetStateChangeFieldsVersion() throws Exception {
+ StateChangeFields testSubject;
+ Double stateChangeFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStateChangeFieldsVersion(stateChangeFieldsVersion);
+ }
+
+ @Test
+ public void testGetStateInterface() throws Exception {
+ StateChangeFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStateInterface();
+ }
+
+ @Test
+ public void testSetStateInterface() throws Exception {
+ StateChangeFields testSubject;
+ String stateInterface = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStateInterface(stateInterface);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ StateChangeFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ StateChangeFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ StateChangeFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ StateChangeFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/SyslogFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/SyslogFieldsTest.java new file mode 100644 index 0000000..a0d227b --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/SyslogFieldsTest.java @@ -0,0 +1,372 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class SyslogFieldsTest {
+
+ private SyslogFields createTestSubject() {
+ return new SyslogFields();
+ }
+
+ @Test
+ public void testGetAdditionalFields() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalFields();
+ }
+
+ @Test
+ public void testSetAdditionalFields() throws Exception {
+ SyslogFields testSubject;
+ String additionalFields = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalFields(additionalFields);
+ }
+
+ @Test
+ public void testGetEventSourceHost() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventSourceHost();
+ }
+
+ @Test
+ public void testSetEventSourceHost() throws Exception {
+ SyslogFields testSubject;
+ String eventSourceHost = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventSourceHost(eventSourceHost);
+ }
+
+ @Test
+ public void testGetEventSourceType() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventSourceType();
+ }
+
+ @Test
+ public void testSetEventSourceType() throws Exception {
+ SyslogFields testSubject;
+ String eventSourceType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventSourceType(eventSourceType);
+ }
+
+ @Test
+ public void testGetSyslogFacility() throws Exception {
+ SyslogFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogFacility();
+ }
+
+ @Test
+ public void testSetSyslogFacility() throws Exception {
+ SyslogFields testSubject;
+ Integer syslogFacility = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogFacility(syslogFacility);
+ }
+
+ @Test
+ public void testGetSyslogFieldsVersion() throws Exception {
+ SyslogFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogFieldsVersion();
+ }
+
+ @Test
+ public void testSetSyslogFieldsVersion() throws Exception {
+ SyslogFields testSubject;
+ Double syslogFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogFieldsVersion(syslogFieldsVersion);
+ }
+
+ @Test
+ public void testGetSyslogMsg() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogMsg();
+ }
+
+ @Test
+ public void testSetSyslogMsg() throws Exception {
+ SyslogFields testSubject;
+ String syslogMsg = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogMsg(syslogMsg);
+ }
+
+ @Test
+ public void testGetSyslogPri() throws Exception {
+ SyslogFields testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogPri();
+ }
+
+ @Test
+ public void testSetSyslogPri() throws Exception {
+ SyslogFields testSubject;
+ Integer syslogPri = 0;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogPri(syslogPri);
+ }
+
+ @Test
+ public void testGetSyslogProc() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogProc();
+ }
+
+ @Test
+ public void testSetSyslogProc() throws Exception {
+ SyslogFields testSubject;
+ String syslogProc = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogProc(syslogProc);
+ }
+
+ @Test
+ public void testGetSyslogProcId() throws Exception {
+ SyslogFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogProcId();
+ }
+
+ @Test
+ public void testSetSyslogProcId() throws Exception {
+ SyslogFields testSubject;
+ Double syslogProcId = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogProcId(syslogProcId);
+ }
+
+ @Test
+ public void testGetSyslogSData() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogSData();
+ }
+
+ @Test
+ public void testSetSyslogSData() throws Exception {
+ SyslogFields testSubject;
+ String syslogSData = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogSData(syslogSData);
+ }
+
+ @Test
+ public void testGetSyslogSdId() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogSdId();
+ }
+
+ @Test
+ public void testSetSyslogSdId() throws Exception {
+ SyslogFields testSubject;
+ String syslogSdId = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogSdId(syslogSdId);
+ }
+
+ @Test
+ public void testGetSyslogSev() throws Exception {
+ SyslogFields testSubject;
+ SyslogFields.SyslogSev result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogSev();
+ }
+
+ @Test
+ public void testSetSyslogSev() throws Exception {
+ SyslogFields testSubject;
+ SyslogFields.SyslogSev syslogSev = SyslogFields.SyslogSev.ALERT;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogSev(syslogSev);
+ }
+
+ @Test
+ public void testGetSyslogTag() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogTag();
+ }
+
+ @Test
+ public void testSetSyslogTag() throws Exception {
+ SyslogFields testSubject;
+ String syslogTag = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogTag(syslogTag);
+ }
+
+ @Test
+ public void testGetSyslogVer() throws Exception {
+ SyslogFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSyslogVer();
+ }
+
+ @Test
+ public void testSetSyslogVer() throws Exception {
+ SyslogFields testSubject;
+ Double syslogVer = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSyslogVer(syslogVer);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ SyslogFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ SyslogFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ SyslogFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ SyslogFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ThresholdCrossingAlertFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ThresholdCrossingAlertFieldsTest.java new file mode 100644 index 0000000..314de6f --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/ThresholdCrossingAlertFieldsTest.java @@ -0,0 +1,419 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class ThresholdCrossingAlertFieldsTest {
+
+ private ThresholdCrossingAlertFields createTestSubject() {
+ return new ThresholdCrossingAlertFields();
+ }
+
+ @Test
+ public void testGetAdditionalFields() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalFields();
+ }
+
+ @Test
+ public void testSetAdditionalFields() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ List<AlarmAdditionalInformation> additionalFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalFields(additionalFields);
+ }
+
+ @Test
+ public void testGetAdditionalParameters() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ List<AdditionalParameter> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalParameters();
+ }
+
+ @Test
+ public void testSetAdditionalParameters() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ List<AdditionalParameter> additionalParameters = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalParameters(additionalParameters);
+ }
+
+ @Test
+ public void testGetAlertAction() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ ThresholdCrossingAlertFields.AlertAction result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlertAction();
+ }
+
+ @Test
+ public void testSetAlertAction() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ ThresholdCrossingAlertFields.AlertAction alertAction = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlertAction(alertAction);
+ }
+
+ @Test
+ public void testGetAlertDescription() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlertDescription();
+ }
+
+ @Test
+ public void testSetAlertDescription() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String alertDescription = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlertDescription(alertDescription);
+ }
+
+ @Test
+ public void testGetAlertType() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ ThresholdCrossingAlertFields.AlertType result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlertType();
+ }
+
+ @Test
+ public void testSetAlertType() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ ThresholdCrossingAlertFields.AlertType alertType = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlertType(alertType);
+ }
+
+ @Test
+ public void testGetAlertValue() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAlertValue();
+ }
+
+ @Test
+ public void testSetAlertValue() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String alertValue = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAlertValue(alertValue);
+ }
+
+ @Test
+ public void testGetAssociatedAlertIdList() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAssociatedAlertIdList();
+ }
+
+ @Test
+ public void testSetAssociatedAlertIdList() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ List<String> associatedAlertIdList = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAssociatedAlertIdList(associatedAlertIdList);
+ }
+
+ @Test
+ public void testGetCollectionTimestamp() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCollectionTimestamp();
+ }
+
+ @Test
+ public void testSetCollectionTimestamp() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String collectionTimestamp = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCollectionTimestamp(collectionTimestamp);
+ }
+
+ @Test
+ public void testGetDataCollector() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDataCollector();
+ }
+
+ @Test
+ public void testSetDataCollector() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String dataCollector = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDataCollector(dataCollector);
+ }
+
+ @Test
+ public void testGetElementType() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElementType();
+ }
+
+ @Test
+ public void testSetElementType() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String elementType = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElementType(elementType);
+ }
+
+
+
+ @Test
+ public void testGetEventSeverity() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ ThresholdCrossingAlertFields.EventSeverity result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventSeverity();
+ }
+
+
+
+ @Test
+ public void testSetEventSeverity() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ ThresholdCrossingAlertFields.EventSeverity eventSeverity = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventSeverity(eventSeverity);
+ }
+
+ @Test
+ public void testGetEventStartTimestamp() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEventStartTimestamp();
+ }
+
+ @Test
+ public void testSetEventStartTimestamp() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String eventStartTimestamp = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEventStartTimestamp(eventStartTimestamp);
+ }
+
+ @Test
+ public void testGetInterfaceName() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaceName();
+ }
+
+ @Test
+ public void testSetInterfaceName() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String interfaceName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaceName(interfaceName);
+ }
+
+ @Test
+ public void testGetNetworkService() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNetworkService();
+ }
+
+ @Test
+ public void testSetNetworkService() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String networkService = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNetworkService(networkService);
+ }
+
+ @Test
+ public void testGetPossibleRootCause() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPossibleRootCause();
+ }
+
+ @Test
+ public void testSetPossibleRootCause() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String possibleRootCause = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPossibleRootCause(possibleRootCause);
+ }
+
+ @Test
+ public void testGetThresholdCrossingFieldsVersion() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getThresholdCrossingFieldsVersion();
+ }
+
+ @Test
+ public void testSetThresholdCrossingFieldsVersion() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ Double thresholdCrossingFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setThresholdCrossingFieldsVersion(thresholdCrossingFieldsVersion);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ ThresholdCrossingAlertFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VNicPerformanceArrayTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VNicPerformanceArrayTest.java new file mode 100644 index 0000000..53e1615 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VNicPerformanceArrayTest.java @@ -0,0 +1,715 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class VNicPerformanceArrayTest {
+
+ private VNicPerformanceArray createTestSubject() {
+ return new VNicPerformanceArray();
+ }
+
+ @Test
+ public void testGetReceivedBroadcastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedBroadcastPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedBroadcastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedBroadcastPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedBroadcastPacketsAccumulated(receivedBroadcastPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedBroadcastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedBroadcastPacketsDelta();
+ }
+
+ @Test
+ public void testSetReceivedBroadcastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedBroadcastPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedBroadcastPacketsDelta(receivedBroadcastPacketsDelta);
+ }
+
+ @Test
+ public void testGetReceivedDiscardedPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedDiscardedPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedDiscardedPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedDiscardedPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedDiscardedPacketsAccumulated(receivedDiscardedPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedDiscardedPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedDiscardedPacketsDelta();
+ }
+
+ @Test
+ public void testSetReceivedDiscardedPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedDiscardedPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedDiscardedPacketsDelta(receivedDiscardedPacketsDelta);
+ }
+
+ @Test
+ public void testGetReceivedErrorPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedErrorPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedErrorPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedErrorPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedErrorPacketsAccumulated(receivedErrorPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedErrorPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedErrorPacketsDelta();
+ }
+
+ @Test
+ public void testSetReceivedErrorPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedErrorPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedErrorPacketsDelta(receivedErrorPacketsDelta);
+ }
+
+ @Test
+ public void testGetReceivedMulticastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedMulticastPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedMulticastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedMulticastPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedMulticastPacketsAccumulated(receivedMulticastPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedMulticastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedMulticastPacketsDelta();
+ }
+
+ @Test
+ public void testSetReceivedMulticastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedMulticastPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedMulticastPacketsDelta(receivedMulticastPacketsDelta);
+ }
+
+ @Test
+ public void testGetReceivedOctetsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedOctetsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedOctetsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedOctetsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedOctetsAccumulated(receivedOctetsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedOctetsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedOctetsDelta();
+ }
+
+ @Test
+ public void testSetReceivedOctetsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedOctetsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedOctetsDelta(receivedOctetsDelta);
+ }
+
+ @Test
+ public void testGetReceivedTotalPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedTotalPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedTotalPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedTotalPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedTotalPacketsAccumulated(receivedTotalPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedTotalPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedTotalPacketsDelta();
+ }
+
+ @Test
+ public void testSetReceivedTotalPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedTotalPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedTotalPacketsDelta(receivedTotalPacketsDelta);
+ }
+
+ @Test
+ public void testGetReceivedUnicastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedUnicastPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetReceivedUnicastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedUnicastPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedUnicastPacketsAccumulated(receivedUnicastPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetReceivedUnicastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReceivedUnicastPacketsDelta();
+ }
+
+ @Test
+ public void testSetReceivedUnicastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double receivedUnicastPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReceivedUnicastPacketsDelta(receivedUnicastPacketsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedBroadcastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedBroadcastPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedBroadcastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedBroadcastPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject
+ .setTransmittedBroadcastPacketsAccumulated(transmittedBroadcastPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedBroadcastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedBroadcastPacketsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedBroadcastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedBroadcastPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedBroadcastPacketsDelta(transmittedBroadcastPacketsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedDiscardedPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedDiscardedPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedDiscardedPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedDiscardedPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject
+ .setTransmittedDiscardedPacketsAccumulated(transmittedDiscardedPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedDiscardedPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedDiscardedPacketsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedDiscardedPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedDiscardedPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedDiscardedPacketsDelta(transmittedDiscardedPacketsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedErrorPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedErrorPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedErrorPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedErrorPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedErrorPacketsAccumulated(transmittedErrorPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedErrorPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedErrorPacketsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedErrorPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedErrorPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedErrorPacketsDelta(transmittedErrorPacketsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedMulticastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedMulticastPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedMulticastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedMulticastPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject
+ .setTransmittedMulticastPacketsAccumulated(transmittedMulticastPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedMulticastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedMulticastPacketsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedMulticastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedMulticastPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedMulticastPacketsDelta(transmittedMulticastPacketsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedOctetsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedOctetsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedOctetsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedOctetsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedOctetsAccumulated(transmittedOctetsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedOctetsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedOctetsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedOctetsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedOctetsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedOctetsDelta(transmittedOctetsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedTotalPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedTotalPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedTotalPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedTotalPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedTotalPacketsAccumulated(transmittedTotalPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedTotalPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedTotalPacketsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedTotalPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedTotalPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedTotalPacketsDelta(transmittedTotalPacketsDelta);
+ }
+
+ @Test
+ public void testGetTransmittedUnicastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedUnicastPacketsAccumulated();
+ }
+
+ @Test
+ public void testSetTransmittedUnicastPacketsAccumulated() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedUnicastPacketsAccumulated = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedUnicastPacketsAccumulated(transmittedUnicastPacketsAccumulated);
+ }
+
+ @Test
+ public void testGetTransmittedUnicastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTransmittedUnicastPacketsDelta();
+ }
+
+ @Test
+ public void testSetTransmittedUnicastPacketsDelta() throws Exception {
+ VNicPerformanceArray testSubject;
+ Double transmittedUnicastPacketsDelta = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTransmittedUnicastPacketsDelta(transmittedUnicastPacketsDelta);
+ }
+
+
+
+ @Test
+ public void testGetValuesAreSuspect() throws Exception {
+ VNicPerformanceArray testSubject;
+ VNicPerformanceArray.ValuesAreSuspect result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValuesAreSuspect();
+ }
+
+
+
+ @Test
+ public void testSetValuesAreSuspect() throws Exception {
+ VNicPerformanceArray testSubject;
+ VNicPerformanceArray.ValuesAreSuspect valuesAreSuspect = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValuesAreSuspect(valuesAreSuspect);
+ }
+
+ @Test
+ public void testGetVNicIdentifier() throws Exception {
+ VNicPerformanceArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVNicIdentifier();
+ }
+
+ @Test
+ public void testSetVNicIdentifier() throws Exception {
+ VNicPerformanceArray testSubject;
+ String identifier = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVNicIdentifier(identifier);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ VNicPerformanceArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ VNicPerformanceArray testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ VNicPerformanceArray testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ VNicPerformanceArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VendorVnfNameFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VendorVnfNameFieldsTest.java new file mode 100644 index 0000000..c461f3e --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VendorVnfNameFieldsTest.java @@ -0,0 +1,141 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class VendorVnfNameFieldsTest {
+
+ private VendorVnfNameFields createTestSubject() {
+ return new VendorVnfNameFields();
+ }
+
+ @Test
+ public void testGetVendorName() throws Exception {
+ VendorVnfNameFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorName();
+ }
+
+ @Test
+ public void testSetVendorName() throws Exception {
+ VendorVnfNameFields testSubject;
+ String vendorName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorName(vendorName);
+ }
+
+ @Test
+ public void testGetVfModuleName() throws Exception {
+ VendorVnfNameFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleName();
+ }
+
+ @Test
+ public void testSetVfModuleName() throws Exception {
+ VendorVnfNameFields testSubject;
+ String vfModuleName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVfModuleName(vfModuleName);
+ }
+
+ @Test
+ public void testGetVnfName() throws Exception {
+ VendorVnfNameFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVnfName();
+ }
+
+ @Test
+ public void testSetVnfName() throws Exception {
+ VendorVnfNameFields testSubject;
+ String vnfName = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVnfName(vnfName);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ VendorVnfNameFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ VendorVnfNameFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ VendorVnfNameFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ VendorVnfNameFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VesEventTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VesEventTest.java new file mode 100644 index 0000000..7fd7680 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VesEventTest.java @@ -0,0 +1,99 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class VesEventTest {
+
+ private VesEvent createTestSubject() {
+ return new VesEvent();
+ }
+
+ @Test
+ public void testGetEvent() throws Exception {
+ VesEvent testSubject;
+ Event result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEvent();
+ }
+
+ @Test
+ public void testSetEvent() throws Exception {
+ VesEvent testSubject;
+ Event event = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEvent(event);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ VesEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ VesEvent testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ VesEvent testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ VesEvent testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VoiceQualityFieldsTest.java b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VoiceQualityFieldsTest.java new file mode 100644 index 0000000..b6da023 --- /dev/null +++ b/UniversalVesAdapter/src/test/java/org/onap/dcaegen2/ves/domain/ves54/VoiceQualityFieldsTest.java @@ -0,0 +1,270 @@ +/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : DCAE
+ * ================================================================================
+ * Copyright 2019 TechMahindra
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcaegen2.ves.domain.ves54;
+
+
+import java.util.List;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class VoiceQualityFieldsTest {
+
+ private VoiceQualityFields createTestSubject() {
+ return new VoiceQualityFields();
+ }
+
+
+ @Test
+ public void testGetAdditionalInformation() throws Exception {
+ VoiceQualityFields testSubject;
+ List<AlarmAdditionalInformation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformation();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformation() throws Exception {
+ VoiceQualityFields testSubject;
+ List<AlarmAdditionalInformation> additionalInformation = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformation(additionalInformation);
+ }
+
+ @Test
+ public void testGetCalleeSideCodec() throws Exception {
+ VoiceQualityFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCalleeSideCodec();
+ }
+
+ @Test
+ public void testSetCalleeSideCodec() throws Exception {
+ VoiceQualityFields testSubject;
+ String calleeSideCodec = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCalleeSideCodec(calleeSideCodec);
+ }
+
+ @Test
+ public void testGetCallerSideCodec() throws Exception {
+ VoiceQualityFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCallerSideCodec();
+ }
+
+ @Test
+ public void testSetCallerSideCodec() throws Exception {
+ VoiceQualityFields testSubject;
+ String callerSideCodec = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCallerSideCodec(callerSideCodec);
+ }
+
+ @Test
+ public void testGetCorrelator() throws Exception {
+ VoiceQualityFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCorrelator();
+ }
+
+ @Test
+ public void testSetCorrelator() throws Exception {
+ VoiceQualityFields testSubject;
+ String correlator = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCorrelator(correlator);
+ }
+
+ @Test
+ public void testGetEndOfCallVqmSummaries() throws Exception {
+ VoiceQualityFields testSubject;
+ EndOfCallVqmSummaries result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEndOfCallVqmSummaries();
+ }
+
+ @Test
+ public void testSetEndOfCallVqmSummaries() throws Exception {
+ VoiceQualityFields testSubject;
+ EndOfCallVqmSummaries endOfCallVqmSummaries = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEndOfCallVqmSummaries(endOfCallVqmSummaries);
+ }
+
+ @Test
+ public void testGetPhoneNumber() throws Exception {
+ VoiceQualityFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPhoneNumber();
+ }
+
+ @Test
+ public void testSetPhoneNumber() throws Exception {
+ VoiceQualityFields testSubject;
+ String phoneNumber = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPhoneNumber(phoneNumber);
+ }
+
+ @Test
+ public void testGetMidCallRtcp() throws Exception {
+ VoiceQualityFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMidCallRtcp();
+ }
+
+ @Test
+ public void testSetMidCallRtcp() throws Exception {
+ VoiceQualityFields testSubject;
+ String midCallRtcp = "";
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMidCallRtcp(midCallRtcp);
+ }
+
+ @Test
+ public void testGetVendorVnfNameFields() throws Exception {
+ VoiceQualityFields testSubject;
+ VendorVnfNameFields result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVendorVnfNameFields();
+ }
+
+ @Test
+ public void testSetVendorVnfNameFields() throws Exception {
+ VoiceQualityFields testSubject;
+ VendorVnfNameFields vendorVnfNameFields = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVendorVnfNameFields(vendorVnfNameFields);
+ }
+
+ @Test
+ public void testGetVoiceQualityFieldsVersion() throws Exception {
+ VoiceQualityFields testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVoiceQualityFieldsVersion();
+ }
+
+ @Test
+ public void testSetVoiceQualityFieldsVersion() throws Exception {
+ VoiceQualityFields testSubject;
+ Double voiceQualityFieldsVersion = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVoiceQualityFieldsVersion(voiceQualityFieldsVersion);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ VoiceQualityFields testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetAdditionalProperties() throws Exception {
+ VoiceQualityFields testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalProperties();
+ }
+
+ @Test
+ public void testSetAdditionalProperty() throws Exception {
+ VoiceQualityFields testSubject;
+ String name = "";
+ Object value = null;
+
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalProperty(name, value);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ VoiceQualityFields testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+}
diff --git a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/utils/SmooksUtilsTest.java b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/utils/SmooksUtilsTest.java index 19fcaa2..6b1a70d 100644 --- a/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/utils/SmooksUtilsTest.java +++ b/UniversalVesAdapter/src/test/java/org/onap/universalvesadapter/utils/SmooksUtilsTest.java @@ -26,7 +26,6 @@ import java.nio.charset.StandardCharsets; import org.junit.Test;
import org.milyn.Smooks;
-import org.onap.dcaegen2.ves.domain.ves70.VesEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xml.sax.SAXException;
@@ -34,7 +33,7 @@ import org.xml.sax.SAXException; public class SmooksUtilsTest {
- VesEvent vesEvent;
+ Object vesEvent;
private static final Logger errorLogger = LoggerFactory.getLogger("errorLogger");
@Test
|