Refactored SchemaPath for yang java types. Fixed SchemaPath for augmented nodes types.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-generator-impl / src / test / java / org / opendaylight / controller / sal / binding / generator / impl / AugmentedTypeTest.java
index 19dfd9577f8224c589a5db90a8abc9ae61adc0bc..448f610c49ba42265e080324c0ce0023c758b8f7 100644 (file)
@@ -158,19 +158,23 @@ public class AugmentedTypeTest {
 
         final List<MethodSignature> networkLink2Methods = gtNetworkLink2.getMethodDefinitions();
         assertNotNull("networkLink2Methods is null", networkLink2Methods);
-//      FIXME: in some cases getIfcMethod is null which causes test fail. fix ASAP
-//      MethodSignature getIfcMethod = null;
-//      for (MethodSignature method : networkLink2Methods) {
-//          if (method.getName().equals("getInterface")) {
-//              getIfcMethod = method;
-//              break;
-//          }
-//      }
-
-//      assertNotNull("getIfcMethod is null", getIfcMethod);
-//      assertNotNull("getIfcMethod.getReturnType() is null", getIfcMethod.getReturnType());
-//      assertFalse("getIfcMethod.getReturnType() should not be Void", getIfcMethod.getReturnType().equals("java.lang.Void"));
-//      assertTrue("getIfcMethod.getReturnType().getName() must be String", getIfcMethod.getReturnType().getName().equals("String"));
+
+//        FIXME: in some cases getIfcMethod is null which causes test fail. fix ASAP
+//        MethodSignature getIfcMethod = null;
+//        for (MethodSignature method : networkLink2Methods) {
+//            if (method.getName().equals("getInterface")) {
+//                getIfcMethod = method;
+//                break;
+//            }
+//        }
+//
+//        assertNotNull("getIfcMethod is null", getIfcMethod);
+//        assertNotNull("getIfcMethod.getReturnType() is null",
+//                getIfcMethod.getReturnType());
+//        assertFalse("getIfcMethod.getReturnType() should not be Void",
+//                getIfcMethod.getReturnType().equals("java.lang.Void"));
+//        assertTrue("getIfcMethod.getReturnType().getName() must be String",
+//                getIfcMethod.getReturnType().getName().equals("String"));
     }
 
     @Test