| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| public static XmlSuite | |
| public static StringBuilder | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| private static void |
| Yaml | back to summary |
|---|---|
| private Yaml() | |
| generateIncludeExclude | back to summary |
|---|---|
| private static void generateIncludeExclude(StringBuilder sb, String sp, String key, List<String> includes) | |
| mapToYaml | back to summary |
|---|---|
| private static void mapToYaml(Map<String, String> map, StringBuilder out) | |
| maybeAdd | back to summary |
|---|---|
| private static void maybeAdd(StringBuilder sb, String key, Object value, Object def) | |
| maybeAdd | back to summary |
|---|---|
| private static void maybeAdd(StringBuilder sb, String sp, String key, Object value, Object def) | |
| parse | back to summary |
|---|---|
| public static XmlSuite parse(String filePath, InputStream is, boolean loadClasses) throws FileNotFoundException | |
| toYaml | back to summary |
|---|---|
| public static StringBuilder toYaml(XmlSuite suite) | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder result, XmlTest t) Convert a XmlTest into YAML | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder result, String sp2, XmlClass xc) | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder result, String sp, XmlInclude xi) | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder result, String sp, List<String> strings) | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder sb, List<XmlPackage> packages) | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder sb, String sp, XmlPackage p) | |
| toYaml | back to summary |
|---|---|
| private static void toYaml(StringBuilder sb, String sp, Map<String, String> parameters) | |
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Access | Constructor and Description |
|---|---|
| public |
| TestNGConstructor | back to summary |
|---|---|
| public TestNGConstructor(Class<?> theRoot, LoaderOptions loadingConfig) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | construct(Node
composed Node node)Overrides org. Implements org. |
| ConstructParallelMode | back to summary |
|---|---|
| private ConstructParallelMode() | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Overrides org. Implements org. Doc from org. Construct a Java instance with all the properties injected when it is possible. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | construct(Node
node where the keys are property names (they can only be node)Strings)
and values are objects to be createdOverrides org. Implements org. |
| private void |
| ConstructXmlScript | back to summary |
|---|---|
| private ConstructXmlScript() | |
| construct | back to summary |
|---|---|
| public Object construct(Node node) Overrides org. Implements org. Doc from org. Construct JavaBean. If type safe collections are used please look at
| |
| setValue | back to summary |
|---|---|
| private void setValue(NodeTuple tuple, String key, Consumer<String> cons) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | newInstance(Node
- node to construct the instance from node)
This method should be overridden for TypeDescription implementations that are supposed to
implement instantiation logic that is different from default one as implemented in YAML
constructors.
|
| loadClasses | back to summary |
|---|---|
| private final boolean loadClasses | |
| XmlClassTypeDescriptor | back to summary |
|---|---|
| public XmlClassTypeDescriptor(boolean loadClasses) | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Node node) Overrides org. Doc from org. This method should be overridden for TypeDescription implementations that are supposed to implement instantiation logic that is different from default one as implemented in YAML constructors. Note that even if you override this method, default filling of fields with variables from parsed YAML will still occur later. | |