test_class.file: dataprep-backend-service/src/test/java/org/talend/dataprep/util/StringsHelperTest.java
test_class.identifier: StringsHelperTest
test_case.body: @Test
      /**
       * Normalized a string to
       */
      public void normalizeString() throws Exception {
          // Unicode: 'v' 118, 'i' 105, 's' 115, 'i' 105, 't' 116, 'e' 101, '́' 769, 's' 115
          final String initialString = "visités";
          // Unicode: 'v' 118, 'i' 105, 's' 115, 'i' 105, 't' 116, 'é' 233, 's' 115
          final String expected = "visités";
  
          assertNotEquals(initialString, expected);
  
          assertEquals(expected, StringsHelper.normalizeString(initialString));
          assertEquals(expected, StringsHelper.normalizeString(expected));
          assertEquals(expected, StringsHelper.normalizeString(StringsHelper.normalizeString(initialString)));
      }
test_case.class_method_signature: StringsHelperTest.normalizeString()
test_case.full_signature: @Test /** * Normalized a string to */ public void normalizeString()
test_case.identifier: normalizeString
test_case.invocations: assertNotEquals assertEquals normalizeString assertEquals normalizeString assertEquals normalizeString normalizeString
test_case.modifiers: @Test /** * Normalized a string to */ public
test_case.parameters: ()
test_case.return: void
test_case.signature: void normalizeString()
focal_class.file: dataprep-backend-service/src/main/java/org/talend/dataprep/util/StringsHelper.java
focal_class.identifier: StringsHelper
focal_class.class_method_signature: StringsHelper.match(final String reference, final String value, final boolean strict)
focal_class.full_signature: public static boolean match(final String reference, final String value, final boolean strict)
focal_class.identifier: match
focal_class.modifiers: public static
focal_class.parameters: (final String reference, final String value, final boolean strict)
focal_class.return: boolean
focal_class.signature: boolean match(final String reference, final String value, final boolean strict)
focal_class.class_method_signature: StringsHelper.normalizeString(String s)
focal_class.full_signature: public static String normalizeString(String s)
focal_class.identifier: normalizeString
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String normalizeString(String s)
focal_method.body: public static String normalizeString(String s) {
          if (!Normalizer.isNormalized(s, Normalizer.Form.NFC)) {
              return Normalizer.normalize(s, Normalizer.Form.NFC);
          } else {
              return s;
          }
      }
focal_method.class_method_signature: StringsHelper.normalizeString(String s)
focal_method.full_signature: public static String normalizeString(String s)
focal_method.identifier: normalizeString
focal_method.invocations: isNormalized normalize
focal_method.modifiers: public static
focal_method.parameters: (String s)
focal_method.return: String
focal_method.signature: String normalizeString(String s)