Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
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
diff --git
a/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/java/org/opendaylight/controller/yang/model/parser/impl/YangModelParserTest.java
b/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)
--- a/
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/java/org/opendaylight/controller/yang/model/parser/impl/YangModelParserTest.java
+++ b/
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/test/java/org/opendaylight/controller/yang/model/parser/impl/YangModelParserTest.java
@@
-189,10
+189,10
@@
public class YangModelParserTest {
LeafSchemaNode ifIndex = (LeafSchemaNode) ifEntry
.getDataChildByName("ifIndex");
LeafSchemaNode ifIndex = (LeafSchemaNode) ifEntry
.getDataChildByName("ifIndex");
- assert
Equals(new Uint32(), ifIndex.getType()
);
+ assert
True(ifIndex.getType() instanceof Uint32
);
LeafSchemaNode ifMtu = (LeafSchemaNode) ifEntry
.getDataChildByName("ifMtu");
LeafSchemaNode ifMtu = (LeafSchemaNode) ifEntry
.getDataChildByName("ifMtu");
- assert
Equals(new Int32(), ifMtu.getType()
);
+ assert
True(ifMtu.getType() instanceof Int32
);
}
@Test
}
@Test
@@
-677,11
+677,4
@@
public class YangModelParserTest {
assertNotNull(output.getDataChildByName("data"));
}
assertNotNull(output.getDataChildByName("data"));
}
- @Test
- public void test() {
- Module testModule = TestUtils.findModule(modules, "types4");
-
- boolean flag = false;
- }
-
}
}