Recover removed test case for JavaIdentifierNormalizerTest 38/59238/2
authorJakub Toth <jakub.toth@pantheon.tech>
Tue, 20 Jun 2017 13:37:45 +0000 (15:37 +0200)
committerMartin Ciglan <martin.ciglan@pantheon.tech>
Tue, 20 Jun 2017 15:31:27 +0000 (15:31 +0000)
Change-Id: Ia4064aec360e3e5f31a1322ded0730ca746f6bdf
Signed-off-by: Jakub Toth <jakub.toth@pantheon.tech>
(cherry picked from commit fb3ffdcf0d424e8dc6638a875181f3f5c3d74129)

binding2/mdsal-binding2-generator-util/src/test/java/org/opendaylight/mdsal/binding/javav2/generator/util/JavaIdentifierNormalizerTest.java

index b987706fdd47193570b71e3b0dbfb586590793b4..ab80a93b389d844196add39f61c443504784aae9 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.mdsal.binding.javav2.generator.util;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
-
 import org.junit.Test;
 import org.opendaylight.mdsal.binding.javav2.util.BindingMapping;
 
@@ -468,6 +467,10 @@ public class JavaIdentifierNormalizerTest {
         tested = "org.opendaylight.example.test.rev000000.data.con";
         expected = "org.opendaylight.example.test.rev000000.data.con_";
         testRealPackageNameExample(tested, expected);
+
+        tested = "org.opendaylight.example.test.rev000000.data.CON";
+        expected = "org.opendaylight.example.test.rev000000.data.con_";
+        testRealPackageNameExample(tested, expected);
     }
 
     private void testRealPackageNameExample(final String tested, final String expected) {