Fixed bugs in parsing enumeration, augment, identity.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / java / org / opendaylight / controller / yang / model / parser / impl / YangModelParserTest.java
index de8f7a42562b45f8c1cb1969a9a119d6d4944d42..736efe7efe9eb709ef73995c255ebc338728b71d 100644 (file)
@@ -189,10 +189,10 @@ public class YangModelParserTest {
 
         LeafSchemaNode ifIndex = (LeafSchemaNode) ifEntry
                 .getDataChildByName("ifIndex");
-        assertEquals(new Uint32(), ifIndex.getType());
+        assertTrue(ifIndex.getType() instanceof Uint32);
         LeafSchemaNode ifMtu = (LeafSchemaNode) ifEntry
                 .getDataChildByName("ifMtu");
-        assertEquals(new Int32(), ifMtu.getType());
+        assertTrue(ifMtu.getType() instanceof Int32);
     }
 
     @Test
@@ -677,11 +677,4 @@ public class YangModelParserTest {
         assertNotNull(output.getDataChildByName("data"));
     }
 
-    @Test
-    public void test() {
-        Module testModule = TestUtils.findModule(modules, "types4");
-
-        boolean flag = false;
-    }
-
 }