Fix javadoc formatting issues mdsal-binding-generator-*
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / java / org / opendaylight / yangtools / sal / binding / yang / types / stmt / parser / retest / TypeProviderTest.java
index 202bb723644d7ac6ee5b584b4a981ba936ad8c6d..0e5b9522ddf2e25f3a90e1896bf42b46313e8d01 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.yangtools.sal.binding.yang.types.stmt.parser.retest;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
+
 import java.util.List;
 import java.util.Set;
 import org.junit.Before;
@@ -51,7 +52,7 @@ import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
  *
  * @see org.opendaylight.yangtools.sal.binding.yang.types.TypeProviderImpl
  *
- * @author Lukas Sedlak <lsedlak@cisco.com>
+ * @author Lukas Sedlak &lt;lsedlak@cisco.com&gt;
  */
 @RunWith(JUnit4.class)
 public class TypeProviderTest {
@@ -144,7 +145,7 @@ public class TypeProviderTest {
 
     private static LeafListSchemaNode provideLeafListNodeFromTopLevelContainer(final Module module, final String containerName, final String leafListNodeName) {
         final DataSchemaNode rootNode = module.getDataChildByName(containerName);
-        assertNotNull("Container foo is not present in root of module "+ module.getName(), rootNode);
+        assertNotNull("Container foo is not present in root of module " + module.getName(), rootNode);
         assertTrue(rootNode instanceof DataNodeContainer);
 
         final DataNodeContainer rootContainer = (DataNodeContainer) rootNode;
@@ -327,7 +328,7 @@ public class TypeProviderTest {
         ((TypeProviderImpl) provider).putReferencedType(enumLeafNode.getPath(), refType);
 
         final LeafListSchemaNode enumListNode = provideLeafListNodeFromTopLevelContainer(testTypeProviderModule, "foo",
-            "list-of-enums");
+                "list-of-enums");
         final TypeDefinition<?> enumLeafListTypedef = enumListNode.getType();
         enumType = provider.javaTypeForSchemaDefinitionType(enumLeafListTypedef, enumListNode);
 
@@ -382,14 +383,6 @@ public class TypeProviderTest {
         provider.provideTypeForLeafref(leafrePath, schemaNode);
     }
 
-    @Test(expected = IllegalArgumentException.class)
-    public void provideTypeForLeafrefWithNullRewisionAwareXPathTest() {
-        final TypeProviderImpl provider = new TypeProviderImpl(schemaContext);
-
-        final LeafrefTypeWithNullToStringInXpath leafrePath = new LeafrefTypeWithNullToStringInXpath();
-        provider.provideTypeForLeafref(leafrePath, schemaNode);
-    }
-
     @Test(expected = IllegalStateException.class)
     public void provideTypeForLeafrefWithNullParentModuleTest() {
         final TypeProviderImpl provider = new TypeProviderImpl(schemaContext);