| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private XmlClass | |
| private List | |
| private int | |
| private Map | |
| private XmlDefine | |
| private List | |
| private String | |
| private XmlGroups | |
| private TestNGContentHandler. | |
| private ArrayList | |
| private int | |
| private String | |
| private XmlPackage | |
| private List | |
| private XmlRun | |
| private XmlMethodSelector | |
| private ArrayList | |
| private XmlSuite | |
| private Map | |
| private XmlTest | |
| private int | |
| private Map | |
| private boolean | |
| private final String | |
| private boolean | |
| private List | |
| private final boolean | |
| private final Stack | |
| private final EntityResolver | |
| private final List | |
| private final List | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public void | characters(char[]
The characters. ch, int The start position in the character array. start, int The number of characters to use from the
character array. length)Overrides org. Implements org. |
| public void | endElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName)Overrides org. Implements org. |
| public void | error(SAXParseException
The error information encoded as an exception. e)Overrides org. Implements org. |
| private static String | |
| public XmlSuite | |
| private static boolean | |
| private static boolean | |
| private InputStream | |
| private void | |
| private void | |
| public InputSource | resolveEntity(String
The public identifier, or null if none is
available. publicId, String The system identifier provided in the XML
document. systemId)Overrides org. Implements org. |
| private static boolean | |
| public void | startElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName, Attributes The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. attributes)Overrides org. Implements org. Note I only invoke xml*methods (e.g. xmlSuite()) if I am acting on both the start and the end of the tag. |
| private List | |
| private static void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| private void | |
| private void | |
| private void |
| isSuiteFileTag | back to summary |
|---|---|
| private boolean isSuiteFileTag | |
| m_currentClass | back to summary |
|---|---|
| private XmlClass m_currentClass | |
| m_currentClasses | back to summary |
|---|---|
| private List<XmlClass> m_currentClasses | |
| m_currentClassIndex | back to summary |
|---|---|
| private int m_currentClassIndex | |
| m_currentClassParameters | back to summary |
|---|---|
| private Map<String, String> m_currentClassParameters | |
| m_currentDefine | back to summary |
|---|---|
| private XmlDefine m_currentDefine | |
| m_currentExcludedMethods | back to summary |
|---|---|
| private List<String> m_currentExcludedMethods | |
| m_currentExpression | back to summary |
|---|---|
| private String m_currentExpression | |
| m_currentGroups | back to summary |
|---|---|
| private XmlGroups m_currentGroups | |
| m_currentInclude | back to summary |
|---|---|
| private TestNGContentHandler. | |
| m_currentIncludedMethods | back to summary |
|---|---|
| private ArrayList<XmlInclude> m_currentIncludedMethods | |
| m_currentIncludeIndex | back to summary |
|---|---|
| private int m_currentIncludeIndex | |
| m_currentLanguage | back to summary |
|---|---|
| private String m_currentLanguage | |
| m_currentPackage | back to summary |
|---|---|
| private XmlPackage m_currentPackage | |
| m_currentPackages | back to summary |
|---|---|
| private List<XmlPackage> m_currentPackages | |
| m_currentRun | back to summary |
|---|---|
| private XmlRun m_currentRun | |
| m_currentSelector | back to summary |
|---|---|
| private XmlMethodSelector m_currentSelector | |
| m_currentSelectors | back to summary |
|---|---|
| private ArrayList<XmlMethodSelector> m_currentSelectors | |
| m_currentSuite | back to summary |
|---|---|
| private XmlSuite m_currentSuite | |
| m_currentSuiteParameters | back to summary |
|---|---|
| private Map<String, String> m_currentSuiteParameters | |
| m_currentTest | back to summary |
|---|---|
| private XmlTest m_currentTest | |
| m_currentTestIndex | back to summary |
|---|---|
| private int m_currentTestIndex | |
| m_currentTestParameters | back to summary |
|---|---|
| private Map<String, String> m_currentTestParameters | |
| m_enabledTest | back to summary |
|---|---|
| private boolean m_enabledTest | |
| m_fileName | back to summary |
|---|---|
| private final String m_fileName | |
| m_hasWarn | back to summary |
|---|---|
| private boolean m_hasWarn | |
| m_listeners | back to summary |
|---|---|
| private List<String> m_listeners | |
| m_loadClasses | back to summary |
|---|---|
| private final boolean m_loadClasses | |
| m_locations | back to summary |
|---|---|
| private final Stack<TestNGContentHandler. | |
| m_redirectionAwareResolver | back to summary |
|---|---|
| private final EntityResolver m_redirectionAwareResolver | |
| m_suiteFiles | back to summary |
|---|---|
| private final List<String> m_suiteFiles | |
| m_suites | back to summary |
|---|---|
| private final List<XmlSuite> m_suites | |
| m_validate | back to summary |
|---|---|
| private boolean m_validate | |
| TestNGContentHandler | back to summary |
|---|---|
| public TestNGContentHandler(String fileName, boolean loadClasses) | |
| areWhiteSpaces | back to summary |
|---|---|
| private boolean areWhiteSpaces(char[] ch, int start, int length) | |
| characters | back to summary |
|---|---|
| public void characters(char[] ch, int start, int length) Overrides org. Implements org. Doc from org. Receive notification of character data inside an element. By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
| |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localName, String qName) Overrides org. Implements org. Doc from org. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| error | back to summary |
|---|---|
| public void error(SAXParseException e) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of a recoverable parser error. The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each error, such as inserting the message in a log file or printing it to the console.
| |
| expandValue | back to summary |
|---|---|
| private static String expandValue(String value) | |
| getSuite | back to summary |
|---|---|
| public XmlSuite getSuite() | |
| isMalformedFileSystemBasedSystemId | back to summary |
|---|---|
| private static boolean isMalformedFileSystemBasedSystemId(String systemId) | |
| isUnsecuredUrl | back to summary |
|---|---|
| private static boolean isUnsecuredUrl(String str) | |
| loadDtdUsingClassLoader | back to summary |
|---|---|
| private InputStream loadDtdUsingClassLoader() | |
| popLocation | back to summary |
|---|---|
| private void popLocation() | |
| pushLocation | back to summary |
|---|---|
| private void pushLocation(TestNGContentHandler. | |
| resolveEntity | back to summary |
|---|---|
| public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException Overrides org. Implements org. Doc from org. Resolve an external entity. Always return null, so that the parser will use the system identifier provided in the XML document. This method implements the SAX default behaviour: application writers can override it in a subclass to do special translations such as catalog lookups or URI redirection.
| |
| skipConsideringSystemId | back to summary |
|---|---|
| private static boolean skipConsideringSystemId(String systemId) | |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) Overrides org. Implements org. Note I only invoke xml*methods (e.g. xmlSuite()) if I am acting on both the start and the end of the tag. This way I can keep the treatment of this tag in one place. If I am only doing something when the tag opens, the code is inlined below in the startElement() method.
| |
| stringToList | back to summary |
|---|---|
| private List | |
| warnSinceJUnitDetected | back to summary |
|---|---|
| private static void warnSinceJUnitDetected() | |
| xmlClasses | back to summary |
|---|---|
| public void xmlClasses(boolean start) | |
| xmlDefine | back to summary |
|---|---|
| private void xmlDefine(boolean start, Attributes attributes) Parse | |
| xmlExclude | back to summary |
|---|---|
| private void xmlExclude(boolean start, Attributes attributes) | |
| xmlGroup | back to summary |
|---|---|
| public void xmlGroup(boolean start, Attributes attributes) | |
| xmlGroups | back to summary |
|---|---|
| public void xmlGroups(boolean start) | |
| xmlInclude | back to summary |
|---|---|
| private void xmlInclude(boolean start, Attributes attributes) | |
| xmlListener | back to summary |
|---|---|
| public void xmlListener(boolean start, Attributes attributes) | |
| xmlListeners | back to summary |
|---|---|
| public void xmlListeners(boolean start) | |
| xmlMethod | back to summary |
|---|---|
| private void xmlMethod(boolean start) | |
| xmlMethodSelector | back to summary |
|---|---|
| public void xmlMethodSelector(boolean start) | |
| xmlMethodSelectors | back to summary |
|---|---|
| public void xmlMethodSelectors(boolean start) | |
| xmlPackages | back to summary |
|---|---|
| public void xmlPackages(boolean start) | |
| xmlRun | back to summary |
|---|---|
| public void xmlRun(boolean start) | |
| xmlScript | back to summary |
|---|---|
| private void xmlScript(boolean start, Attributes attributes) Parse | |