Package org.testng.internal
package org.testng.internal
-
ClassDescriptionSimple implementation of IAttributes.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.Represents an @
DataProvider
annotated method.When noITestNGListenerFactory
implementations are available, TestNG defaults to this implementation for instantiating listeners.Simple implementation of IMethodSelectorContextDynamicGraph<T>Representation of the graph of methods.Manage edges and weights between nodes.Symbols in this class are used by the Eclipse plug-in, do not modify them without updating the plug-in as well.A utility class that houses mechanisms to retrieve exception information.|--------------------|---------|-------|------------|------------------------------------------| | 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 dataHelps keep track of when a method was invokedThis class defines an invoker.Utility class for object instantiations.InstanceInfo<T>A Runnable Method invoker.This class is responsible for invoking methods: - test methods - configuration methods - possibly in a separate thread and then for notifying the result listeners.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.Collections of helper methods to help deal with test methodsCollection of helper methods to help sort and arrange methods.Collections of helper methods to help deal with invocation of TestNG methodsThis class describes a method selector: - The class that implements it - Its priorityDefault factory for test creation.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.This class holds aParameterHolder
or in case of an error, a non-nullTestResult
containing the causeA simple holder for parameters that contains the parameters and where these came from (data provider or testng.xml)Origin of the parameters.Methods that bind parameters declared in testng.xml to actual values used to invoke methods.Store the result of parameterTypes and optionalValues after filter out injected typesA parameter passing helper class.PoolService<FutureType>Simple wrapper for an ExecutorCompletionService.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 TestNGExtendsTestMethodWorker
and is used to work on only a single method instanceHelps determine how shouldITestNGMethod
be ordered by TestNG.Tarjan<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.FIXME: reduce contention when this class is used through parallel invocation due to invocationCount and threadPoolSize by not invoking the @BeforeClass and @AfterClass which are already invoked on the original method.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.Collections of helper methods to help deal with TestNG configuration methodsThis 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.