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(
- YangParserTestUtils.parseYangFiles(testModels));
+ YangParserTestUtils.parseYangResourceDirectory("/augment-relative-xpath-models"));
assertNotNull("genTypes is null", genTypes);
assertEquals(26, genTypes.size());
assertNotNull("Tunnel is null", gtTunnel);
assertNotNull("TunnelKey is null", gtTunnelKey);
}
-
}