public final class YTestTools extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getYTestId(org.zkoss.zk.ui.Component comp) |
static void |
modifyYTestId(org.zkoss.zk.ui.Component component,
String ytestit)
The method sets (changes or adds) ytestid of the given value.
|
static String |
replaceUUIDIllegalChars(String ytestId)
Replaces all illegal characters with
ILLEGAL_UUID_CHAR_REPLACEMENT. |
public static void modifyYTestId(org.zkoss.zk.ui.Component component,
String ytestit)
component - component on which the ytestid attribute will be setytestit - the value of the idpublic static String getYTestId(org.zkoss.zk.ui.Component comp)
public static String replaceUUIDIllegalChars(String ytestId)
ILLEGAL_UUID_CHAR_REPLACEMENT. UUID can only have alphanumeric
characters or underscore.ytestId - Copyright © 2018. All rights reserved.