summaryrefslogtreecommitdiffstats
path: root/infra/it/test-model/src/main/java
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-01-16 13:59:41 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-01-16 13:50:33 +0000
commit677a81daf4349220de65880fcac26537bcd9cb0c (patch)
treeee650bab6609f17602e380ed432e766791509288 /infra/it/test-model/src/main/java
parent06e15d12a08b7ab5d708d17dea7b352f2ae75cf9 (diff)
Improve integration tests for SubtreeWriter
Change-Id: I20209b800eaa892e0fb742066003e956d00bbb22 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/it/test-model/src/main/java')
-rw-r--r--infra/it/test-model/src/main/java/io/fd/honeycomb/subtree/test/model/Ids.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/infra/it/test-model/src/main/java/io/fd/honeycomb/subtree/test/model/Ids.java b/infra/it/test-model/src/main/java/io/fd/honeycomb/subtree/test/model/Ids.java
new file mode 100644
index 000000000..52e838418
--- /dev/null
+++ b/infra/it/test-model/src/main/java/io/fd/honeycomb/subtree/test/model/Ids.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2018 Cisco and/or its affiliates.
+ *
+ * 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.
+ */
+
+package io.fd.honeycomb.subtree.test.model;
+
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hc.subtree.test.rev180116.C1;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hc.subtree.test.rev180116.c1.C2;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hc.subtree.test.rev180116.c1.C3;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.hc.subtree.test.rev180116.c1.C4;
+import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
+
+/**
+ * Instance identifiers referencing all complex nodes within honeycomb's subtree test model.
+ */
+public interface Ids {
+ InstanceIdentifier<C1> C1_ID = InstanceIdentifier.create(C1.class);
+ InstanceIdentifier<C2> C2_ID = C1_ID.child(C2.class);
+ InstanceIdentifier<C3> C3_ID = C1_ID.child(C3.class);
+ InstanceIdentifier<C4> C4_ID = C1_ID.child(C4.class);
+}