diff options
author | Dan Timoney <dtimoney@att.com> | 2017-10-02 15:48:23 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-10-02 15:48:23 -0400 |
commit | 2a7f6affcecfcd2a7f9db3731884699f1bacff1c (patch) | |
tree | 01deb47b62eb1144f6993cddf258bcb0baa0143d /sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/test/results/TestResult.java | |
parent | bbf0e9ff14d10f46235d4282dce5b9c560f26321 (diff) |
Add test cases for MdsalHelper
Add test cases for MdsalHelper methods toBuilder() and toProperties().
This requires a Yang model, so added a copy of sliapi/model to sli, since
could not use sliapi directly otherwise would create circular
dependency (since sliapi depends on sli).
Change-Id: I4824afe250f93428c73dbeec9f4a4c36ee4f76e6
Issue-ID: CCSDK-106
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/test/results/TestResult.java')
-rw-r--r-- | sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/test/results/TestResult.java | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/test/results/TestResult.java b/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/test/results/TestResult.java new file mode 100644 index 00000000..d12faa44 --- /dev/null +++ b/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/test/results/TestResult.java @@ -0,0 +1,62 @@ +package org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.test.results; +import org.opendaylight.yangtools.yang.binding.ChildOf; +import org.opendaylight.yangtools.yang.common.QName; +import org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.TestResults; +import java.util.List; +import org.opendaylight.yangtools.yang.binding.Augmentable; +import org.opendaylight.yangtools.yang.binding.Identifiable; + +/** + * <p>This class represents the following YANG schema fragment defined in module <b>SLI-API</b> + * <pre> + * list test-result { + * key "test-identifier" + * leaf test-identifier { + * type string; + * } + * leaf-list results { + * type string; + * } + * } + * </pre> + * The schema path to identify an instance is + * <i>SLI-API/test-results/test-result</i> + * + * <p>To create instances of this class use {@link org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.test.results.TestResultBuilder}. + * @see org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.test.results.TestResultBuilder + * @see org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.test.results.TestResultKey + * + */ +public interface TestResult + extends + ChildOf<TestResults>, + Augmentable<org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.test.results.TestResult>, + Identifiable<TestResultKey> +{ + + + + public static final QName QNAME = org.opendaylight.yangtools.yang.common.QName.create("org:onap:ccsdk:sli:core:sliapi", + "2016-11-10", "test-result").intern(); + + /** + * @return <code>java.lang.String</code> <code>testIdentifier</code>, or <code>null</code> if not present + */ + java.lang.String getTestIdentifier(); + + /** + * @return <code>java.util.List</code> <code>results</code>, or <code>null</code> if not present + */ + List<java.lang.String> getResults(); + + /** + * Returns Primary Key of Yang List Type + * + * + * + * @return <code>org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.test.results.TestResultKey</code> <code>key</code>, or <code>null</code> if not present + */ + TestResultKey getKey(); + +} + |