org.testng.internal.ClassImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.internal;
import static org.testng.internal.Utils.isStringNotEmpty;
import com.google.inject.Injector;
import com.google.inject.Module;
import org.testng.IClass;
import org.testng.IModuleFactory;
import org.testng.ISuite;
import org.testng.ITest;
import org.testng.ITestContext;
import org.testng.ITestObjectFactory;
import org.testng.TestNGException;
import org.testng.annotations.Guice;
import org.testng.collections.Lists;
import org.testng.collections.Objects;
import org.testng.internal.annotations.AnnotationHelper;
import org.testng.internal.annotations.IAnnotationFinder;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlTest;
import java.lang.annotation.Annotation;
import java.util.List;
import java.util.Map;
/**
* Implementation of an IClass.
*
* @author Cedric Beust
*/
public class ClassImpl implements IClass {
private static final long serialVersionUID = 1118178273317520344L;
transient private Class m_class = null;
transient private Object m_defaultInstance = null;
private XmlTest m_xmlTest = null;
transient private IAnnotationFinder m_annotationFinder = null;
transient private List