Package org.testng.internal
package org.testng.internal
-
ClassDescriptionSimple implementation of IAttributes.A simple abstraction over
ReentrantLock
that can be used in conjunction withtry..resources
constructs.This classSuperclass to represent both @Test and @Configuration methods.Utility class for different class manipulations.Implementation of an IClass.This class wraps access to beforeGroups and afterGroups methods, since they are passed around the various invokers and potentially modified in different threads.Encapsulation of either a method or a constructor.When noITestNGListenerFactory
implementations are available, TestNG defaults to this implementation for instantiating listeners.Simple implementation of IMethodSelectorContextDynamicGraph<T>Representation of the graph of methods.Symbols in this class are used by the Eclipse plug-in, do not modify them without updating the plug-in as well.|--------------------|---------|-------|------------|------------------------------------------| | FailedWithinSuccess| Skipped | Failed| Status Code| Remarks | |--------------------|---------|-------|------------|------------------------------------------| | 0 | 0 | 0 | 0 | Passed tests | | 0 | 0 | 1 | 1 | Failed tests | | 0 | 1 | 0 | 2 | Skipped tests | | 0 | 1 | 1 | 3 | Skipped/Failed tests | | 1 | 0 | 0 | 4 | FailedWithinSuccess tests | | 1 | 0 | 1 | 5 | FailedWithinSuccess/Failed tests | | 1 | 1 | 0 | 6 | FailedWithinSuccess/Skipped tests | | 1 | 1 | 1 | 7 | FailedWithinSuccess/Skipped/Failed tests | |--------------------|---------|-------|------------|------------------------------------------|This class represents a method annotated with @FactoryGraph<T>Simple graph class to implement topological sort (used to sort methods based on what groups they depend on).Graph.Node<T>IContainer<M>Represents the capabilities of a simple container to hold dataInstanceInfo<T>Represents the associations of a class with one or more instances.A wrapper class that wraps around an array and associates a unique Id that can be used as a key for the array.A wrapper object that associates a unique id to every unique test class object.Helps produce aComparator
that can be used to determine order of execution for a bunch ofITestNGMethod
methods.Represents the ability to retrieve the parameters associated with a factory method.A convenient interface to use when implementing listeners.An interface defining the notification for @Test results and also@Configuration
results.A simple abstraction overReentrantLock
that can be used when we need to be dealing with a dictionary of lockable objects wherein we traditionally would have used thesynchronized
keyword.A Utility that helps us differentiate between a user's listener and preferential Listener.Collections of helper methods to help deal with test methodsCollection of helper methods to help sort and arrange methods.This class describes a method selector: - The class that implements it - Its priorityA simple bean bag that is intended to help share objects during the lifetime of TestNG without needing it to be a singleton.Override the groups included in the XML file with groups specified on the command line.Utility class that finds all the classes in a given package.Methods that bind parameters declared in testng.xml to actual values used to invoke methods.A parameter passing helper class.Utility class for setting JavaBeans-style properties on instances.A class that contains the expected exceptions and the message regular expression.Stores the information regarding the configuration of a pluggable report listener.This class contains all the information needed to determine what methods should be run.This class houses handling all JVM arguments by TestNGTarjan<T>Implementation of the Tarjan algorithm to find and display a cycle in a graph.A helper class that internally houses some of the listener related actions support.This implementation leverages a supplier to lazily load the test methods (data) for the very first time and "remembers it" for later invocations.This class creates an ITestClass from a test class.This class represents a test method.The default strategy for finding test methods: look up annotations @Test in front of methods.This class represents the result of a test.Helper methods to parse annotations.Represents a proxy for an actual instance ofITestNGMethod
but with the exception that it generates a unique hashcode that is different from the originalITestNGMethod
instance that it wraps.This class is the default method selector used by TestNG to determine which methods need to be included and excluded based on the specification given in testng.xml.YAML support for TestNG.