Instance identifier support
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / java / org / opendaylight / controller / sal / restconf / iml / varioustests / VariousTest.java
1 package org.opendaylight.controller.sal.restconf.iml.varioustests;
2
3 import org.junit.Ignore;
4 import org.junit.Test;
5 import org.opendaylight.controller.sal.rest.impl.XmlToCompositeNodeProvider;
6 import org.opendaylight.controller.sal.restconf.impl.test.TestUtils;
7 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
8 import org.w3c.dom.Document;
9
10
11 public class VariousTest {
12
13     @Ignore
14     @Test
15     public void test() {
16         String[] split = "/something:dfsa/s:sda".split("/");
17         System.out.println(split.length);
18         for (String str : split) {
19             System.out.println(">"+str+"<");    
20         }        
21         
22     }
23     
24     @Test
25     public void loadXml() {
26         TestUtils.readInputToCnSn("/varioustest/xmldata.xml", XmlToCompositeNodeProvider.INSTANCE);
27 //        TestUtils.normalizeCompositeNode(compositeNode, modules, schemaNodePath)
28     }
29     
30     @Test
31     public void buildXml() {
32 //        Document doc;
33 //        doc.createElementNS(namespaceURI, qualifiedName)
34     }
35     
36
37 }