Code Review
/
mdsal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove AbstractTypesTest
[mdsal.git]
/
binding
/
mdsal-binding-generator-impl
/
src
/
test
/
java
/
org
/
opendaylight
/
mdsal
/
binding
/
generator
/
impl
/
AugmentRelativeXPathTest.java
diff --git
a/binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/AugmentRelativeXPathTest.java
b/binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/AugmentRelativeXPathTest.java
index d5a118c44ade8d6d6002886ba608527843919d8d..7502807e32589446ce7f693b8a4214c34e218799 100644
(file)
--- a/
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/AugmentRelativeXPathTest.java
+++ b/
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/AugmentRelativeXPathTest.java
@@
-22,16
+22,11
@@
import org.opendaylight.mdsal.binding.model.api.MethodSignature;
import org.opendaylight.mdsal.binding.spec.naming.BindingMapping;
import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
import org.opendaylight.mdsal.binding.spec.naming.BindingMapping;
import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
-public class AugmentRelativeXPathTest extends AbstractTypesTest {
-
- public AugmentRelativeXPathTest() {
- super(AugmentRelativeXPathTest.class.getResource("/augment-relative-xpath-models"));
- }
-
+public class AugmentRelativeXPathTest {
@Test
public void testAugmentationWithRelativeXPath() {
final List<GeneratedType> genTypes = DefaultBindingGenerator.generateFor(
@Test
public void testAugmentationWithRelativeXPath() {
final List<GeneratedType> genTypes = DefaultBindingGenerator.generateFor(
- YangParserTestUtils.parseYang
Files(testModels
));
+ YangParserTestUtils.parseYang
ResourceDirectory("/augment-relative-xpath-models"
));
assertNotNull("genTypes is null", genTypes);
assertEquals(26, genTypes.size());
assertNotNull("genTypes is null", genTypes);
assertEquals(26, genTypes.size());
@@
-118,5
+113,4
@@
public class AugmentRelativeXPathTest extends AbstractTypesTest {
assertNotNull("Tunnel is null", gtTunnel);
assertNotNull("TunnelKey is null", gtTunnelKey);
}
assertNotNull("Tunnel is null", gtTunnel);
assertNotNull("TunnelKey is null", gtTunnelKey);
}
-
}
}