File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,7 +226,6 @@ public abstract class BaseWebDriverTest extends LabKeySiteWrapper implements Cle
226226 public static final String TRICKY_CHARACTERS = "><&/%\\ ' \" 1\u00E4 \u00F6 \u00FC \u00C5 " ;
227227 public static final String TRICKY_CHARACTERS_NO_QUOTES = "></% 1\u00E4 \u00F6 \u00FC \u00C5 " ;
228228 public static final String TRICKY_CHARACTERS_FOR_PROJECT_NAMES = "\u2603 ~!@$&()_+{}-=[],.#\u00E4 \u00F6 \u00FC \u00C5 " ; // No slash or space
229- // TODO using </script> breaks CustomizeViewTest because of the '/'
230229 public static final String INJECT_CHARS_1 = Crawler .injectScriptBlock ;
231230 public static final String INJECT_CHARS_2 = Crawler .injectAttributeScript ;
232231
Original file line number Diff line number Diff line change 7272 */
7373public class TestDataGenerator
7474{
75- private static final String WIDE_CHAR = "👾" ;
76- private static final char WIDE_PLACEHOLDER = 'Π ' ; // Wide character can't be picked from the string with 'charAt'
77- private static final String NON_LATIN_STRING = "и안は" ;
75+ private static final String WIDE_CHAR = "\uD83D \uDC7E " ; // 👾
76+ private static final char WIDE_PLACEHOLDER = '\u03A0 ' ; // 'Π' - Wide character can't be picked from the string with 'charAt'
77+ private static final String NON_LATIN_STRING = "\u0438 \uC548 \u306F " ; // "и안は"
7878 // chose a Character random from this String
7979 public static final String CHARSET_STRING = "ABCDEFG01234abcdefvxyz~!@#$%^&*()-+=_{}[]|:;\" ',.<>" + NON_LATIN_STRING + WIDE_PLACEHOLDER ;
8080 public static final String ALPHANUMERIC_STRING = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvxyz" ;
You can’t perform that action at this time.
0 commit comments